summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-05-05 00:41:58 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-05-05 00:41:58 +0000
commit44ebbd54361c88071b2740ded92a13ad7dc5275f (patch)
tree6270237a8c04f9b838239b65c4e2e3b4d0cda682 /clang/lib/CodeGen/CodeGenModule.h
parent3238fb759563e64b3fc1f28bb3e184de3d7b07a1 (diff)
downloadbcm5719-llvm-44ebbd54361c88071b2740ded92a13ad7dc5275f.tar.gz
bcm5719-llvm-44ebbd54361c88071b2740ded92a13ad7dc5275f.zip
Replace ArrayRef<T>() with None, now that we have an implicit ArrayRef constructor from None
Patch by Robert Wilhelm. llvm-svn: 181139
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h3
1 files changed, 1 insertions, 2 deletions
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<llvm::Type*> Tys =
- ArrayRef<llvm::Type*>());
+ llvm::Function *getIntrinsic(unsigned IID, ArrayRef<llvm::Type*> Tys = None);
/// EmitTopLevelDecl - Emit code for a single top level declaration.
void EmitTopLevelDecl(Decl *D);
OpenPOWER on IntegriCloud