[clang] [clang] Strict aliasing warning ala GCC [PR50066] (PR #74155)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 3 03:03:54 PST 2023
================
@@ -37,6 +38,27 @@ class ASTConsumer {
friend class SemaConsumer;
+public:
+ /// Allow type-based aliasing information to be interrogated by the AST
+ /// producer (for diagnostics).
+ class TypeAliasing {
----------------
Endilll wrote:
It seems to me that we'd be better off with `AliasingKind` being scoped enum.
https://github.com/llvm/llvm-project/pull/74155
More information about the cfe-commits
mailing list