diff options
| author | Manman Ren <manman.ren@gmail.com> | 2016-03-16 18:50:49 +0000 |
|---|---|---|
| committer | Manman Ren <manman.ren@gmail.com> | 2016-03-16 18:50:49 +0000 |
| commit | c7890fed01f8c8accba188236d781af26845cb2c (patch) | |
| tree | ca661b70f24fefdf86060bc7290322c3b53fb4e0 /clang/lib/Lex | |
| parent | 8a46c067ed8d06b953fd94a4089a9168c3f82bb2 (diff) | |
| download | bcm5719-llvm-c7890fed01f8c8accba188236d781af26845cb2c.tar.gz bcm5719-llvm-c7890fed01f8c8accba188236d781af26845cb2c.zip | |
Add an optional string argument to DeprecatedAttr for Fix-It.
We only add this to __attribute__((deprecated)).
Differential Revision: http://reviews.llvm.org/D17865
llvm-svn: 263652
Diffstat (limited to 'clang/lib/Lex')
| -rw-r--r-- | clang/lib/Lex/PPMacroExpansion.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Lex/PPMacroExpansion.cpp b/clang/lib/Lex/PPMacroExpansion.cpp index 62166b22ba3..36255a81144 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -1079,6 +1079,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) { .Case("attribute_cf_returns_retained", true) .Case("attribute_cf_returns_on_parameters", true) .Case("attribute_deprecated_with_message", true) + .Case("attribute_deprecated_with_replacement", true) .Case("attribute_ext_vector_type", true) .Case("attribute_ns_returns_not_retained", true) .Case("attribute_ns_returns_retained", true) |

