summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclObjC.cpp
diff options
context:
space:
mode:
authorFaisal Vali <faisalv@yahoo.com>2017-12-29 05:41:00 +0000
committerFaisal Vali <faisalv@yahoo.com>2017-12-29 05:41:00 +0000
commit421b2d1d8e9a5ff56f1af6aa69a77b2e6ab39ef8 (patch)
tree3511bf5597566db0f369db23bec470125f833f85 /clang/lib/Sema/SemaDeclObjC.cpp
parent2fb6134305d0d389c122ebe32dc68a48e4933e0a (diff)
downloadbcm5719-llvm-421b2d1d8e9a5ff56f1af6aa69a77b2e6ab39ef8.tar.gz
bcm5719-llvm-421b2d1d8e9a5ff56f1af6aa69a77b2e6ab39ef8.zip
[NFC] Modernize enum Declarator::TheContext to a type-safe scoped enum.
Note, we don't do any bitwise manipulations when using them. llvm-svn: 321546
Diffstat (limited to 'clang/lib/Sema/SemaDeclObjC.cpp')
-rw-r--r--clang/lib/Sema/SemaDeclObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDeclObjC.cpp b/clang/lib/Sema/SemaDeclObjC.cpp
index abbdc9574b8..ff3c07e938a 100644
--- a/clang/lib/Sema/SemaDeclObjC.cpp
+++ b/clang/lib/Sema/SemaDeclObjC.cpp
@@ -1538,7 +1538,7 @@ void Sema::actOnObjCTypeArgsOrProtocolQualifiers(
DS.SetRangeEnd(loc);
// Form the declarator.
- Declarator D(DS, Declarator::TypeNameContext);
+ Declarator D(DS, DeclaratorContext::TypeNameContext);
// If we have a typedef of an Objective-C class type that is missing a '*',
// add the '*'.
OpenPOWER on IntegriCloud