From: Fariborz Jahanian Date: Thu, 19 Sep 2013 17:52:50 +0000 (+0000) Subject: Fixes a buildbot failure (was using local X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af1d28f3fdafd05ac4f2a761b3b46b32b4267da2;p=clang 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 8a2d126dd6..3d46f87faa 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -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;