summaryrefslogtreecommitdiff
path: root/unittests/CodeGen
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-06-30 02:34:37 +0000
committerAdrian Prantl <aprantl@apple.com>2015-06-30 02:34:37 +0000
commite5042070b8b0db35e497cfe088c3f067b29cb370 (patch)
treeeca0e61fad846b09d6f6a0491bc5bf17d2ae1778 /unittests/CodeGen
parentc849102cd294707a84db9abd11de71e7540dd7e6 (diff)
downloadclang-e5042070b8b0db35e497cfe088c3f067b29cb370.tar.gz
Add two missing arguments.
I forgot to add this file to r241035. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/CodeGen')
-rw-r--r--unittests/CodeGen/BufferSourceTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/CodeGen/BufferSourceTest.cpp b/unittests/CodeGen/BufferSourceTest.cpp
index b2a8ba5808..e80e83bd28 100644
--- a/unittests/CodeGen/BufferSourceTest.cpp
+++ b/unittests/CodeGen/BufferSourceTest.cpp
@@ -62,6 +62,8 @@ TEST(BufferSourceTest, EmitCXXGlobalInitFunc) {
CreateLLVMCodeGen(
compiler.getDiagnostics(),
"EmitCXXGlobalInitFuncTest",
+ compiler.getHeaderSearchOpts(),
+ compiler.getPreprocessorOpts(),
compiler.getCodeGenOpts(),
llvm::getGlobalContext())));