File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -240,23 +240,6 @@ TEST(Decl, ModuleAndInternalLinkage) {
240
240
241
241
EXPECT_EQ (b->getFormalLinkage (), ModuleLinkage);
242
242
EXPECT_EQ (g->getFormalLinkage (), ModuleLinkage);
243
-
244
- AST = tooling::buildASTFromCodeWithArgs (
245
- Code.code (), /* Args=*/ {" -std=c++20" });
246
- ASTContext &CtxTS = AST->getASTContext ();
247
- a = selectFirst<VarDecl>(" a" , match (varDecl (hasName (" a" )).bind (" a" ), CtxTS));
248
- f = selectFirst<FunctionDecl>(
249
- " f" , match (functionDecl (hasName (" f" )).bind (" f" ), CtxTS));
250
-
251
- EXPECT_EQ (a->getFormalLinkage (), InternalLinkage);
252
- EXPECT_EQ (f->getFormalLinkage (), InternalLinkage);
253
-
254
- b = selectFirst<VarDecl>(" b" , match (varDecl (hasName (" b" )).bind (" b" ), CtxTS));
255
- g = selectFirst<FunctionDecl>(
256
- " g" , match (functionDecl (hasName (" g" )).bind (" g" ), CtxTS));
257
-
258
- EXPECT_EQ (b->getFormalLinkage (), ModuleLinkage);
259
- EXPECT_EQ (g->getFormalLinkage (), ModuleLinkage);
260
243
}
261
244
262
245
TEST (Decl, GetNonTransparentDeclContext) {
You can’t perform that action at this time.
0 commit comments