Skip to content

Commit

Permalink
Fix the buildbots after 636dd1e
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronBallman committed Apr 10, 2023
1 parent 3defc3b commit 4624797
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions clang/unittests/AST/DeclTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,12 @@ TEST(Decl, AsmLabelAttr) {
NamedDecl *DeclG = *(++DeclS->method_begin());

// Attach asm labels to the decls: one literal, and one not.
DeclF->addAttr(::new (Ctx) AsmLabelAttr(Ctx, SourceLocation(), "foo",
/*LiteralLabel=*/true));
DeclG->addAttr(::new (Ctx) AsmLabelAttr(Ctx, SourceLocation(), "goo",
/*LiteralLabel=*/false));
DeclF->addAttr(::new (Ctx) AsmLabelAttr(
Ctx, AttributeCommonInfo{SourceLocation()}, "foo",
/*LiteralLabel=*/true));
DeclG->addAttr(::new (Ctx) AsmLabelAttr(
Ctx, AttributeCommonInfo{SourceLocation()}, "goo",
/*LiteralLabel=*/false));

// Mangle the decl names.
std::string MangleF, MangleG;
Expand Down

0 comments on commit 4624797

Please sign in to comment.