diff options
author | Reid Kleckner <rnk@google.com> | 2019-12-09 16:11:56 -0800 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-12-09 16:17:18 -0800 |
commit | 9803178a78c1858b0ac868c2cdf402cec5a10db9 (patch) | |
tree | 1e6406871a61926a4e46e39639e2d97b2e2caa2d /clang/lib/CodeGen/CodeGenModule.h | |
parent | 7c69a03c56601a55f47f29ea59e33c37e62db556 (diff) | |
download | bcm5719-llvm-9803178a78c1858b0ac868c2cdf402cec5a10db9.tar.gz bcm5719-llvm-9803178a78c1858b0ac868c2cdf402cec5a10db9.zip |
Avoid Attr.h includes, CodeGen edition
This saves around 20 includes of Attr.h. Not much.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 0bdf535bfe4..d0832fb1992 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -17,7 +17,6 @@ #include "CodeGenTypeCache.h" #include "CodeGenTypes.h" #include "SanitizerMetadata.h" -#include "clang/AST/Attr.h" #include "clang/AST/DeclCXX.h" #include "clang/AST/DeclObjC.h" #include "clang/AST/DeclOpenMP.h" @@ -77,6 +76,9 @@ class AnnotateAttr; class CXXDestructorDecl; class Module; class CoverageSourceInfo; +class TargetAttr; +class InitSegAttr; +struct ParsedTargetAttr; namespace CodeGen { |