Currently trying to nuke this API from LLVM.
From: Mehdi Amini <mehdi.amini@apple.com>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266276
91177308-0d34-0410-b5e6-
96231b3b80d8
TEST(BufferSourceTest, EmitCXXGlobalInitFunc) {
CompilerInstance compiler;
+ LLVMContext Context;
compiler.createDiagnostics();
compiler.getLangOpts().CPlusPlus = 1;
compiler.getHeaderSearchOpts(),
compiler.getPreprocessorOpts(),
compiler.getCodeGenOpts(),
- llvm::getGlobalContext())));
+ Context)));
compiler.createSema(clang::TU_Prefix, nullptr);