diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-03-26 03:35:55 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-03-26 03:35:55 +0000 |
commit | b53e417ba487f4193ef3b0485b420e0fdae643a2 (patch) | |
tree | 14884ffa641989b6851088b555f1dd03b42331b4 /lib/Parse/Parser.cpp | |
parent | 2234873111009eb8655d63362cedc422eb9fc517 (diff) |
Extend the new 'availability' attribute with support for an
'unavailable' argument, which specifies that the declaration to which
the attribute appertains is unavailable on that platform.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/Parser.cpp')
-rw-r--r-- | lib/Parse/Parser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Parse/Parser.cpp b/lib/Parse/Parser.cpp index 4cdf2deec3..5bf0abd6b7 100644 --- a/lib/Parse/Parser.cpp +++ b/lib/Parse/Parser.cpp @@ -426,6 +426,7 @@ void Parser::Initialize() { Ident_introduced = 0; Ident_deprecated = 0; Ident_obsoleted = 0; + Ident_unavailable = 0; } /// ParseTopLevelDecl - Parse one top-level declaration, return whatever the |