]> granicus.if.org Git - clang/commitdiff
Omit llvm:: before makeArrayRef. We have using directive in this file.
authorRobert Wilhelm <robert.wilhelm@gmx.net>
Mon, 19 Aug 2013 07:57:02 +0000 (07:57 +0000)
committerRobert Wilhelm <robert.wilhelm@gmx.net>
Mon, 19 Aug 2013 07:57:02 +0000 (07:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188659 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaExprObjC.cpp

index 39c2ec41863c5e4468af38d51497d359907588fe..81d2a8122a1de5bc74fe24fce83a45f4b2516668 100644 (file)
@@ -909,14 +909,10 @@ ExprResult Sema::BuildObjCDictionaryLiteral(SourceRange SR,
   
   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(QualType ReceiverType,
 
   // 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;
 }