diff options
| author | 2017-01-14 19:55:43 +0000 | |
|---|---|---|
| committer | 2017-01-14 19:55:43 +0000 | |
| commit | bd3306aecb3a15e8967143b8cdbbccf2b1b19b74 (patch) | |
| tree | 309a8132b44564b9e634c0da6815187ce8eab27c /gnu/llvm/tools/clang/unittests/CodeGen/BufferSourceTest.cpp | |
| parent | killp -a should not kill the window if only one pane. (diff) | |
| download | wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.tar.xz wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.zip | |
Import LLVM 3.9.1 including clang and lld.
Diffstat (limited to 'gnu/llvm/tools/clang/unittests/CodeGen/BufferSourceTest.cpp')
| -rw-r--r-- | gnu/llvm/tools/clang/unittests/CodeGen/BufferSourceTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/llvm/tools/clang/unittests/CodeGen/BufferSourceTest.cpp b/gnu/llvm/tools/clang/unittests/CodeGen/BufferSourceTest.cpp index 85df768aa1b..1934e661383 100644 --- a/gnu/llvm/tools/clang/unittests/CodeGen/BufferSourceTest.cpp +++ b/gnu/llvm/tools/clang/unittests/CodeGen/BufferSourceTest.cpp @@ -39,6 +39,7 @@ const char TestProgram[] = "EmitCXXGlobalInitFunc test; "; TEST(BufferSourceTest, EmitCXXGlobalInitFunc) { + LLVMContext Context; CompilerInstance compiler; compiler.createDiagnostics(); @@ -65,7 +66,7 @@ TEST(BufferSourceTest, EmitCXXGlobalInitFunc) { compiler.getHeaderSearchOpts(), compiler.getPreprocessorOpts(), compiler.getCodeGenOpts(), - llvm::getGlobalContext()))); + Context))); compiler.createSema(clang::TU_Prefix, nullptr); |
