diff options
| author | Daniel Jasper <djasper@google.com> | 2013-07-25 09:32:14 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-07-25 09:32:14 +0000 |
| commit | 8357746fe68cdc45052de4fc9d1d8b03e14ab900 (patch) | |
| tree | 0d73ee55347a54c832b1862d15c85400f79416fd /lib/CodeGen/CGExpr.cpp | |
| parent | 2c4b2e42c5af83dc2138ecceab7f492fe9d6c555 (diff) | |
| download | clang-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
