r191022 - Fixes a buildbot failure (was using local
Fariborz Jahanian
fjahanian at apple.com
Thu Sep 19 10:52:50 PDT 2013
Author: fjahanian
Date: Thu Sep 19 12:52:50 2013
New Revision: 191022
URL: http://llvm.org/viewvc/llvm-project?rev=191022&view=rev
Log:
Fixes a buildbot failure (was using local
type in template instantiation).
Modified:
cfe/trunk/lib/Sema/SemaDeclAttr.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?rev=191022&r1=191021&r2=191022&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Thu Sep 19 12:52:50 2013
@@ -4145,10 +4145,8 @@ static void handleNSReturnsRetainedAttr(
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;
More information about the cfe-commits
mailing list