From bd3306aecb3a15e8967143b8cdbbccf2b1b19b74 Mon Sep 17 00:00:00 2001 From: patrick Date: Sat, 14 Jan 2017 19:55:43 +0000 Subject: Import LLVM 3.9.1 including clang and lld. --- gnu/llvm/tools/clang/unittests/CodeGen/BufferSourceTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/llvm/tools/clang/unittests/CodeGen/BufferSourceTest.cpp') 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); -- cgit v1.2.3-59-g8ed1b