Files
clang-p2996/clang/lib/Sema/SemaExprMember.cpp
William Tran-Viet cf7b3f8d82 Fix double-quotes in diagnostic when attempting to access a ext_vector of bools (#118186)
Fixes #116932 

- Remove the quotation marks in the diagnostic message for
err_ext_vector_component_name_illegal
- Pass in the quotation marks directly when reporting an illegal vector
component name inside `CheckExtVectorComponent`
- Add an offset to the `OpLoc` passed into `S.Diag` so the error message
arrow points directly to the offending illegal component rather than to
the '.' at the start of the component identifier.
- Modify the `vector-bool.cpp` element-wise access test case so it
(correctly) now only expects a single set of quotes.
2024-12-20 13:40:17 +01:00

78 KiB