]> granicus.if.org Git - clang/commit
Add an optional string argument to DeprecatedAttr for Fix-It.
authorManman Ren <manman.ren@gmail.com>
Wed, 16 Mar 2016 18:50:49 +0000 (18:50 +0000)
committerManman Ren <manman.ren@gmail.com>
Wed, 16 Mar 2016 18:50:49 +0000 (18:50 +0000)
commit081f300e64fef6b619f3be88331794289f267897
treedec5b6875033dbf0e8c8c3e9c67cdfc74715d018
parent5e8bd88711d23b2a5db79f43580afebdfd10a394
Add an optional string argument to DeprecatedAttr for Fix-It.

We only add this to __attribute__((deprecated)).

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263652 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
lib/Lex/PPMacroExpansion.cpp
lib/Sema/SemaDeclAttr.cpp
test/SemaCXX/attr-deprecated-replacement-error.cpp [new file with mode: 0644]
test/SemaCXX/attr-deprecated-replacement-fixit.cpp [new file with mode: 0644]
test/SemaCXX/cxx11-attr-print.cpp
utils/TableGen/ClangAttrEmitter.cpp