commit | 3987718dae02455fef23833714b63bfb653b83b9 | [log] [tgz] |
---|---|---|
author | Doug Gregor <dgregor@apple.com> | Thu Apr 07 10:38:40 2016 -0700 |
committer | Doug Gregor <dgregor@apple.com> | Thu Apr 07 10:39:12 2016 -0700 |
tree | 379aae2f6afa7c6b59e04d5f4aea68a69438cb96 | |
parent | 2b97aca604d28197095e81c929245977358d3889 [diff] |
[API notes] Process API notes for enumerators.
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index f8de19b..5b0f93e 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp
@@ -14159,6 +14159,8 @@ // Process attributes. if (Attr) ProcessDeclAttributeList(S, New, Attr); + ProcessAPINotes(New); + // Register this decl in the current scope stack. New->setAccess(TheEnumDecl->getAccess()); PushOnScopeChains(New, S);