summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-12-09 16:11:56 -0800
committerReid Kleckner <rnk@google.com>2019-12-09 16:17:18 -0800
commit9803178a78c1858b0ac868c2cdf402cec5a10db9 (patch)
tree1e6406871a61926a4e46e39639e2d97b2e2caa2d /clang/lib/CodeGen/CodeGenModule.h
parent7c69a03c56601a55f47f29ea59e33c37e62db556 (diff)
downloadbcm5719-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.h4
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 {
OpenPOWER on IntegriCloud