Skip to content

Commit 5c0d61e

Browse files
committed
[FOLD] handle noreturn correctly
1 parent df10dc6 commit 5c0d61e

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
@@ -1636,6 +1636,7 @@ populateAttributes(Info& I, Decl const* D)
16361636
addAttribute(I, AttributeKind::Nodiscard);
16371637
break;
16381638
case attr::Kind::NoReturn:
1639+
case attr::Kind::CXX11NoReturn:
16391640
addAttribute(I, AttributeKind::Noreturn);
16401641
break;
16411642
case attr::Kind::NoUniqueAddress:

0 commit comments

Comments
 (0)