[clang] [clang][ExprConst] allow single element access of vector object to be constant expression (PR #72607)

Yuanfang Chen via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 26 18:25:54 PST 2024


================
@@ -144,6 +144,9 @@ sections with improvements to Clang's support for those languages.
 
 C++ Language Changes
 --------------------
+- Allow single element access of vector object to be constant expression.
+  Supports the `V.xyzw` syntax and other tidbits as seen in OpenCL.
----------------
yuanfang-chen wrote:

done

https://github.com/llvm/llvm-project/pull/72607


More information about the cfe-commits mailing list