Fixes a buildbot failure (was using local
type in template instantiation).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191022 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp
index 8a2d126..3d46f87 100644
--- a/lib/Sema/SemaDeclAttr.cpp
+++ b/lib/Sema/SemaDeclAttr.cpp
@@ -4145,10 +4145,8 @@
static void handleObjCReturnsInnerPointerAttr(Sema &S, Decl *D,
const AttributeList &attr) {
- enum {
- EP_ObjCMethod = 1,
- EP_ObjCProperty
- };
+ const int EP_ObjCMethod = 1;
+ const int EP_ObjCProperty = 2;
SourceLocation loc = attr.getLoc();
QualType resultType;