[llvm] [clang] [Clang] Emit TBAA info for enums in C (PR #73326)

Paul Walker via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 7 02:34:46 PST 2023


================
@@ -196,6 +196,9 @@ C Language Changes
   number of elements in the flexible array member. This information can improve
   the results of the array bound sanitizer and the
   ``__builtin_dynamic_object_size`` builtin.
+- Enums will now be represented in TBAA metadata using their actual underlying
----------------
paulwalker-arm wrote:

Perhaps worth saying `Enums in C...` since the behaviour for C++ is different and remains unchanged.

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


More information about the cfe-commits mailing list