summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/User.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2019-01-10 03:23:25 +0000
committerRichard Trieu <rtrieu@google.com>2019-01-10 03:23:25 +0000
commitafd671128734808e1cb38d925345dd5925db1682 (patch)
treedf8176f9a1c5fc983546bc8ed100c091874e6dcf /llvm/lib/IR/User.cpp
parenteb6f9abd41cbbef407f0b28f03c7ec40e7e8b23d (diff)
downloadbcm5719-llvm-afd671128734808e1cb38d925345dd5925db1682.tar.gz
bcm5719-llvm-afd671128734808e1cb38d925345dd5925db1682.zip
Refactor declarations of ASTContext allocate functions into its own header.
Forward declarations of the allocate functions combine with the forward declaration of the ASTContext class is enough information for some headers without pulling in ASTContext.h in its entirety. Pull the existing declarations from AttrIterator.h into a new header. Also place the default alignment size into this header. Previously, new had its default in AttrIterator.h while new[] had its default in ASTContext.h. Add new header includes where it is needed. Specifically to ASTVector.h to make it a standalone header, unlike previously which it was standalone as long as none of its functions were called. llvm-svn: 350792
Diffstat (limited to 'llvm/lib/IR/User.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud