-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Open
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Description
The order in which vector type elements are printed results in the * or & operand being placed such that it might be interpreted not as a pointer to a vector, but as a vector of pointers to the element type. See this example in the diagnostic output and potentially follow this discussion that motivated the issue.
The solution is pretty simple and involves printing most of the vector elements in the Before function. This will impact a few tests that depend on the current ordering where, rather than the __private qualifier such as in this OpenCL test.
Metadata
Metadata
Assignees
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:diagnosticsNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerNew/improved warning or error message in Clang, but not in clang-tidy or static analyzerclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Type
Projects
Status
Ready