llvm-project/clang/lib/ASTMatchers
Haojian Wu 9f865246a8 [ASTMatcher] Fix a performance regression: memorize the child match.
D80025 introduced a performance regression: in some cases, it makes
clang-tidy readability-container-size-empty ~80x slower (running on an internal
huge TU, before that patch 12s vs after 950s).

after this patch, we go back to 12s.

Differential Revision: https://reviews.llvm.org/D82771
2020-06-30 15:43:51 +02:00
..
Dynamic [openmp] Base of tablegen generated OpenMP common declaration 2020-06-23 10:32:32 -04:00
ASTMatchFinder.cpp [ASTMatcher] Fix a performance regression: memorize the child match. 2020-06-30 15:43:51 +02:00
ASTMatchersInternal.cpp [ASTMatchers] Matchers related to C++ inheritance 2020-05-29 12:38:01 -07:00
CMakeLists.txt [openmp] Base of tablegen generated OpenMP common declaration 2020-06-23 10:32:32 -04:00
GtestMatchers.cpp Fix MSVC "not all control paths return a value" warning. NFCI. 2020-02-21 18:23:55 +00:00