Move the 'find macro by spelling' infrastructure to the Preprocessor class and
use it to suggest appropriate macro for __attribute__((deprecated)) in -Wdocumentation-deprecated-sync. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164892 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/ASTContext.h 5 additions, 1 deletioninclude/clang/AST/ASTContext.h
- include/clang/AST/CommentSema.h 5 additions, 1 deletioninclude/clang/AST/CommentSema.h
- include/clang/AST/RawCommentList.h 3 additions, 1 deletioninclude/clang/AST/RawCommentList.h
- include/clang/Lex/Preprocessor.h 27 additions, 0 deletionsinclude/clang/Lex/Preprocessor.h
- lib/AST/ASTContext.cpp 5 additions, 3 deletionslib/AST/ASTContext.cpp
- lib/AST/CommentSema.cpp 21 additions, 3 deletionslib/AST/CommentSema.cpp
- lib/AST/RawCommentList.cpp 3 additions, 1 deletionlib/AST/RawCommentList.cpp
- lib/Lex/Preprocessor.cpp 33 additions, 0 deletionslib/Lex/Preprocessor.cpp
- lib/Sema/AnalysisBasedWarnings.cpp 8 additions, 58 deletionslib/Sema/AnalysisBasedWarnings.cpp
- lib/Sema/SemaDecl.cpp 1 addition, 1 deletionlib/Sema/SemaDecl.cpp
- test/Sema/warn-documentation-fixits.cpp 7 additions, 0 deletionstest/Sema/warn-documentation-fixits.cpp
- tools/libclang/CIndex.cpp 1 addition, 1 deletiontools/libclang/CIndex.cpp
- unittests/AST/CommentParser.cpp 1 addition, 1 deletionunittests/AST/CommentParser.cpp
Loading
Please register or sign in to comment