aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/Parser.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-03-26 03:35:55 +0000
committerDouglas Gregor <dgregor@apple.com>2011-03-26 03:35:55 +0000
commitb53e417ba487f4193ef3b0485b420e0fdae643a2 (patch)
tree14884ffa641989b6851088b555f1dd03b42331b4 /lib/Parse/Parser.cpp
parent2234873111009eb8655d63362cedc422eb9fc517 (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.cpp1
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