From 44ebbd54361c88071b2740ded92a13ad7dc5275f Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Sun, 5 May 2013 00:41:58 +0000 Subject: Replace ArrayRef() with None, now that we have an implicit ArrayRef constructor from None Patch by Robert Wilhelm. llvm-svn: 181139 --- clang/lib/CodeGen/CodeGenModule.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenModule.h') diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 0f4fe8ae51b..7bbca80bf4d 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -750,8 +750,7 @@ public: llvm::Value *getBuiltinLibFunction(const FunctionDecl *FD, unsigned BuiltinID); - llvm::Function *getIntrinsic(unsigned IID, ArrayRef Tys = - ArrayRef()); + llvm::Function *getIntrinsic(unsigned IID, ArrayRef Tys = None); /// EmitTopLevelDecl - Emit code for a single top level declaration. void EmitTopLevelDecl(Decl *D); -- cgit v1.2.3