summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-06-11 11:06:44 +0000
committerJohn McCall <rjmccall@apple.com>2010-06-11 11:06:44 +0000
commitb9639aaed4ef98becf413b9d52680686f8f22ca1 (patch)
treeb26f097d98543d2bca254a0b8c2a1c0501b7b9d6 /clang/lib/AST/ASTContext.cpp
parentdad856dba373bedb0e5761e262246f114f252247 (diff)
downloadbcm5719-llvm-b9639aaed4ef98becf413b9d52680686f8f22ca1.tar.gz
bcm5719-llvm-b9639aaed4ef98becf413b9d52680686f8f22ca1.zip
Define ContextualFoldingSet, which stores a context parameter to pass down to
the Profile method. Currently this only works with the default FoldingSetTraits implementation. The point of this is to allow nodes to not store context values which are only used during profiling. A better solution would thread this value through the folding algorithms, but then those would need to be (1) templated and (2) non-opaque. llvm-svn: 105819
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud