Add an AST matcher for string-literal length
Summary: This patch is adding support for a matcher to check string literal length. This matcher is used in clang-tidy checkers and is part of this refactoring: see: http://reviews.llvm.org/D19841 Reviewers: sbenza, klimek, aaron.ballman Subscribers: alexfh, klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D19876 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269274 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- docs/LibASTMatchersReference.html 29 additions, 4 deletionsdocs/LibASTMatchersReference.html
- include/clang/ASTMatchers/ASTMatchers.h 17 additions, 6 deletionsinclude/clang/ASTMatchers/ASTMatchers.h
- include/clang/ASTMatchers/ASTMatchersInternal.h 13 additions, 0 deletionsinclude/clang/ASTMatchers/ASTMatchersInternal.h
- unittests/ASTMatchers/ASTMatchersTest.cpp 11 additions, 1 deletionunittests/ASTMatchers/ASTMatchersTest.cpp
Loading
Please register or sign in to comment