r188659 - Omit llvm:: before makeArrayRef. We have using directive in this file.
Robert Wilhelm
robert.wilhelm at gmx.net
Mon Aug 19 00:57:02 PDT 2013
Author: row
Date: Mon Aug 19 02:57:02 2013
New Revision: 188659
URL: http://llvm.org/viewvc/llvm-project?rev=188659&view=rev
Log:
Omit llvm:: before makeArrayRef. We have using directive in this file.
Modified:
cfe/trunk/lib/Sema/SemaExprObjC.cpp
Modified: cfe/trunk/lib/Sema/SemaExprObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExprObjC.cpp?rev=188659&r1=188658&r2=188659&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExprObjC.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExprObjC.cpp Mon Aug 19 02:57:02 2013
@@ -909,14 +909,10 @@ ExprResult Sema::BuildObjCDictionaryLite
QualType Ty
= Context.getObjCObjectPointerType(
- Context.getObjCInterfaceType(NSDictionaryDecl));
- return MaybeBindToTemporary(
- ObjCDictionaryLiteral::Create(Context,
- llvm::makeArrayRef(Elements,
- NumElements),
- HasPackExpansions,
- Ty,
- DictionaryWithObjectsMethod, SR));
+ Context.getObjCInterfaceType(NSDictionaryDecl));
+ return MaybeBindToTemporary(ObjCDictionaryLiteral::Create(
+ Context, makeArrayRef(Elements, NumElements), HasPackExpansions, Ty,
+ DictionaryWithObjectsMethod, SR));
}
ExprResult Sema::BuildObjCEncodeExpression(SourceLocation AtLoc,
@@ -1365,8 +1361,7 @@ bool Sema::CheckMessageArgumentTypes(Qua
// Do additional checkings on method.
IsError |= CheckObjCMethodCall(
- Method, SelLoc,
- llvm::makeArrayRef<const Expr *>(Args.data(), Args.size()));
+ Method, SelLoc, makeArrayRef<const Expr *>(Args.data(), Args.size()));
return IsError;
}
More information about the cfe-commits
mailing list