Rename AST node matchers to match the AST node names directly. Part of this...
Rename AST node matchers to match the AST node names directly. Part of this rename also splits recordDecl() (which used to match CXXRecordDecl) into recordDecl() (that matches RecordDecl) and cxxRecordDecl (that matches CXXRecordDecl). Also adds isStruct(), isUnion(), and isClass() narrowing matchers for RecordDecl objects. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247885 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- docs/LibASTMatchersReference.html 405 additions, 336 deletionsdocs/LibASTMatchersReference.html
- include/clang/ASTMatchers/ASTMatchers.h 186 additions, 117 deletionsinclude/clang/ASTMatchers/ASTMatchers.h
- lib/ASTMatchers/Dynamic/Registry.cpp 31 additions, 27 deletionslib/ASTMatchers/Dynamic/Registry.cpp
- unittests/AST/ASTContextParentMapTest.cpp 14 additions, 12 deletionsunittests/AST/ASTContextParentMapTest.cpp
- unittests/AST/DeclPrinterTest.cpp 23 additions, 23 deletionsunittests/AST/DeclPrinterTest.cpp
- unittests/AST/SourceLocationTest.cpp 13 additions, 13 deletionsunittests/AST/SourceLocationTest.cpp
- unittests/AST/StmtPrinterTest.cpp 2 additions, 2 deletionsunittests/AST/StmtPrinterTest.cpp
- unittests/ASTMatchers/ASTMatchersTest.cpp 266 additions, 258 deletionsunittests/ASTMatchers/ASTMatchersTest.cpp
- unittests/ASTMatchers/Dynamic/ParserTest.cpp 2 additions, 2 deletionsunittests/ASTMatchers/Dynamic/ParserTest.cpp
- unittests/ASTMatchers/Dynamic/RegistryTest.cpp 10 additions, 9 deletionsunittests/ASTMatchers/Dynamic/RegistryTest.cpp
- unittests/Tooling/RefactoringCallbacksTest.cpp 2 additions, 2 deletionsunittests/Tooling/RefactoringCallbacksTest.cpp
Loading
Please register or sign in to comment