Loading clang-tools-extra/clangd/unittests/HoverTests.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -531,6 +531,7 @@ void foo())cpp"; Annotations T(Case.Code); TestTU TU = TestTU::withCode(T.code()); TU.ExtraArgs.push_back("-std=c++17"); TU.ExtraArgs.push_back("-fno-delayed-template-parsing"); auto AST = TU.build(); ASSERT_TRUE(AST.getDiagnostics().empty()); Loading Loading
clang-tools-extra/clangd/unittests/HoverTests.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -531,6 +531,7 @@ void foo())cpp"; Annotations T(Case.Code); TestTU TU = TestTU::withCode(T.code()); TU.ExtraArgs.push_back("-std=c++17"); TU.ExtraArgs.push_back("-fno-delayed-template-parsing"); auto AST = TU.build(); ASSERT_TRUE(AST.getDiagnostics().empty()); Loading