aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-04-26 21:32:52 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-04-26 21:32:52 +0000
commitc7b5f381ed41a238aa4c243f99170909f64a3414 (patch)
tree117b6810f4e2c51ff89ac24149fe8e1055b13d5b /lib/CodeGen/CodeGenFunction.h
parent622bb4acc00fd63bac545ca23f7c42fd909dc0e7 (diff)
ArrayRefize code. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index f0c2c1e672..727a3be54b 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -2668,8 +2668,7 @@ public:
/// GenerateCXXGlobalInitFunc - Generates code for initializing global
/// variables.
void GenerateCXXGlobalInitFunc(llvm::Function *Fn,
- llvm::Constant **Decls,
- unsigned NumDecls,
+ ArrayRef<llvm::Constant *> Decls,
llvm::GlobalVariable *Guard = 0);
/// GenerateCXXGlobalDtorsFunc - Generates code for destroying global