summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-07-25 09:32:14 +0000
committerDaniel Jasper <djasper@google.com>2013-07-25 09:32:14 +0000
commit8357746fe68cdc45052de4fc9d1d8b03e14ab900 (patch)
tree0d73ee55347a54c832b1862d15c85400f79416fd /lib/CodeGen/CGExpr.cpp
parent2c4b2e42c5af83dc2138ecceab7f492fe9d6c555 (diff)
downloadclang-8357746fe68cdc45052de4fc9d1d8b03e14ab900.tar.gz
clang-8357746fe68cdc45052de4fc9d1d8b03e14ab900.tar.bz2
clang-8357746fe68cdc45052de4fc9d1d8b03e14ab900.tar.xz
Use memoization for has()-matcher.
In TUs with large classes, a matcher like methodDecl(ofClass(recordDecl(has(varDecl())))) (finding all member functions of classes with static variables) becomes unbearably slow otherwise. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions