================ @@ -11,6 +11,7 @@ //===----------------------------------------------------------------------===// #include "SystemZ.h" +#include "clang/AST/Decl.h" ---------------- JonPsson1 wrote:
Ok, that makes more sense to me know considering different ways of building clang, thanks. Patch updated: I tried to follow your suggestion by splitting up the work and basically inspecting the VarDecl in ASTContext and then pass only a boolean to TargetInfo. Is this something like what you had in mind? https://github.com/llvm/llvm-project/pull/73511 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits