Skip to content

Commit 2fdd10f

Browse files
committed
[FOLD] handle noreturn correctly
1 parent 83f0f75 commit 2fdd10f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/AST/ASTVisitor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,6 +1580,7 @@ populateAttributes(Info& I, Decl const* D)
15801580
addAttribute(I, AttributeKind::Nodiscard);
15811581
break;
15821582
case attr::Kind::NoReturn:
1583+
case attr::Kind::CXX11NoReturn:
15831584
addAttribute(I, AttributeKind::Noreturn);
15841585
break;
15851586
case attr::Kind::NoUniqueAddress:

0 commit comments

Comments
 (0)