diff options
| author | Samuel Benzaquen <sbenza@google.com> | 2014-09-04 14:13:58 +0000 |
|---|---|---|
| committer | Samuel Benzaquen <sbenza@google.com> | 2014-09-04 14:13:58 +0000 |
| commit | ab005ed0c066fe7ff1c90b934b7984de57fc700e (patch) | |
| tree | 6a4cc67ea93f1d71e2554a550b3a5305417078b9 /clang-tools-extra/clang-tidy/ClangTidyOptions.cpp | |
| parent | 3c821c0200a12e84b32d41328182a1389785dfda (diff) | |
| download | bcm5719-llvm-ab005ed0c066fe7ff1c90b934b7984de57fc700e.tar.gz bcm5719-llvm-ab005ed0c066fe7ff1c90b934b7984de57fc700e.zip | |
Refactor VariantMatcher::MatcherOps to reduce the amount of generated code.
Summary:
Refactor VariantMatcher::MatcherOps to reduce the amount of generated code.
- Make some code type agnostic and move it to the cpp file.
- Return a DynTypedMatcher instead of storing the object in MatcherOps.
This change reduces the number of symbols generated in Registry.cpp by
~19%, the object byte size by ~17% and the compilation time (in non-release mode) by ~20%.
Reviewers: klimek
Subscribers: klimek, cfe-commits
Differential Revision: http://reviews.llvm.org/D5124
llvm-svn: 217152
Diffstat (limited to 'clang-tools-extra/clang-tidy/ClangTidyOptions.cpp')
0 files changed, 0 insertions, 0 deletions

