]> granicus.if.org Git - clang/commitdiff
Fixes a buildbot failure (was using local
authorFariborz Jahanian <fjahanian@apple.com>
Thu, 19 Sep 2013 17:52:50 +0000 (17:52 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Thu, 19 Sep 2013 17:52:50 +0000 (17:52 +0000)
type in template instantiation).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191022 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDeclAttr.cpp

index 8a2d126dd6110e35b7cdc517874fd329bdfa0006..3d46f87faa5cb1829b5641922e1c716cdd864b51 100644 (file)
@@ -4145,10 +4145,8 @@ static void handleNSReturnsRetainedAttr(Sema &S, Decl *D,
 
 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;