diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-12-30 03:40:23 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-12-30 03:40:23 +0000 |
commit | aa36b89b1cf843889534a3f9e39df2d60f42d810 (patch) | |
tree | 10c75af6cbe5b9ec9115585cadd28638c1741d4c /clang/lib/AST/ASTContext.cpp | |
parent | d888cf50c6ab8475c80ec2079dc11b3a6b923595 (diff) | |
download | bcm5719-llvm-aa36b89b1cf843889534a3f9e39df2d60f42d810.tar.gz bcm5719-llvm-aa36b89b1cf843889534a3f9e39df2d60f42d810.zip |
[ptr-traits] Add #includes of headers rather than forward declarations
for types which are used as pointees in PointerUnions, PointerIntPairs,
and DenseMap pointer keys.
This is part of a series of patches to allow LLVM to check for complete
pointee types when computing its pointer traits. This is absolutely
necessary to get correct (or reproducible) results for things like how
many low bits are guaranteed to be zero.
I think this is the last patch for getting Clang clean here!!!
llvm-svn: 256615
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r-- | clang/lib/AST/ASTContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 973445ca2a7..108677abb8a 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -19,6 +19,7 @@ #include "clang/AST/Comment.h" #include "clang/AST/CommentCommandTraits.h" #include "clang/AST/DeclCXX.h" +#include "clang/AST/DeclContextInternals.h" #include "clang/AST/DeclObjC.h" #include "clang/AST/DeclTemplate.h" #include "clang/AST/Expr.h" |