[clang] [clang] Refactor target attribute mangling. (PR #81893)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 15 10:20:53 PST 2024


================
@@ -14,6 +14,7 @@
 #ifndef LLVM_CLANG_BASIC_TARGETINFO_H
 #define LLVM_CLANG_BASIC_TARGETINFO_H
 
+#include "clang/AST/Attr.h"
----------------
erichkeane wrote:

Basic shouldn't be referencing AST (IIRC, it shouldn't reference anything but basic or llvm), this ends up being an unfortunate layering violation.

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


More information about the cfe-commits mailing list