forked from OSchip/llvm-project
[lldb] Fix windows build after getASTContext() change
This commit is contained in:
parent
f9f49d3594
commit
ceb433ad16
|
@ -437,10 +437,9 @@ TEST_F(SymbolFilePDBTests, TestClassInNamespace) {
|
|||
llvm::dyn_cast_or_null<ClangASTContext>(&clang_ast_ctx_or_err.get());
|
||||
EXPECT_NE(nullptr, clang_ast_ctx);
|
||||
|
||||
auto ast_ctx = clang_ast_ctx->getASTContext();
|
||||
EXPECT_NE(nullptr, ast_ctx);
|
||||
clang::ASTContext &ast_ctx = clang_ast_ctx->getASTContext();
|
||||
|
||||
auto tu = ast_ctx->getTranslationUnitDecl();
|
||||
auto tu = ast_ctx.getTranslationUnitDecl();
|
||||
EXPECT_NE(nullptr, tu);
|
||||
|
||||
symfile->ParseDeclsForContext(CompilerDeclContext(
|
||||
|
|
Loading…
Reference in New Issue