From af1d28f3fdafd05ac4f2a761b3b46b32b4267da2 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Thu, 19 Sep 2013 17:52:50 +0000 Subject: [PATCH] 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 --- lib/Sema/SemaDeclAttr.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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; -- 2.50.1