llvm-project/clang/lib
Samuel Benzaquen 96039d727b Special case 0 and 1 matcher in makeAllOfComposite().
Summary:
Remove unnecessary wrapping for the 0 and 1 matcher cases of
makeAllOfComposite(). We don't need a variadic wrapper for those cases.
Refactor TrueMatcher to take advandage of the new conversions between
DynTypedMatcher and Matcher<T>. Also, make it a singleton.
This change improves our clang-tidy related benchmarks by ~12%.

Reviewers: klimek

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D5675

llvm-svn: 219431
2014-10-09 19:28:18 +00:00
..
ARCMigrate Objective-C SDK modernization. convert message expression 2014-10-09 18:30:56 +00:00
AST Fix for bug http://llvm.org/PR17427. 2014-10-09 08:45:04 +00:00
ASTMatchers Special case 0 and 1 matcher in makeAllOfComposite(). 2014-10-09 19:28:18 +00:00
Analysis Reverting r214064 and r215650 while investigating a pesky performance regression 2014-09-23 08:34:41 +00:00
Basic [OPENMP] 'omp teams' directive basic support. 2014-10-09 04:18:56 +00:00
CodeGen Fix for bug http://llvm.org/PR17427. 2014-10-09 08:45:04 +00:00
Driver [SystemZ] Turn on the integrated assembler by default 2014-10-09 18:46:38 +00:00
Edit Edit: Do not extend a removal to include trailing whitespace if we're at the end 2014-09-15 11:47:10 +00:00
Format clang-format: Add option to control call argument bin-packing separately 2014-10-09 09:52:05 +00:00
Frontend Add experimental clang/driver flag -fsanitize-address-field-padding=N 2014-10-09 17:53:04 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers Added new headers to CMakeLists.txt. 2014-10-08 17:37:51 +00:00
Index Format: ArrayRefize some implicit copies away. 2014-10-03 18:52:48 +00:00
Lex Avoid a crash after loading an #undef'd macro in code completion 2014-09-30 20:00:18 +00:00
Parse [OPENMP] 'omp teams' directive basic support. 2014-10-09 04:18:56 +00:00
Rewrite Use intrusive refcounted pointers to manage RopeRefCountString lifetime. 2014-09-15 17:58:03 +00:00
Sema Fix for bug http://llvm.org/PR17427. 2014-10-09 08:45:04 +00:00
Serialization Fix for bug http://llvm.org/PR17427. 2014-10-09 08:45:04 +00:00
StaticAnalyzer Fix for bug http://llvm.org/PR17427. 2014-10-09 08:45:04 +00:00
Tooling Driver: Use pointee_iterator rather than iterating over unique_ptrs 2014-10-03 01:04:53 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00