Skip to content

Commit b84d62f

Browse files
committed
[FOLD] handle noreturn correctly
1 parent f019a21 commit b84d62f

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
@@ -1579,6 +1579,7 @@ populateAttributes(Info& I, Decl const* D)
15791579
addAttribute(I, AttributeKind::Nodiscard);
15801580
break;
15811581
case attr::Kind::NoReturn:
1582+
case attr::Kind::CXX11NoReturn:
15821583
addAttribute(I, AttributeKind::Noreturn);
15831584
break;
15841585
case attr::Kind::NoUniqueAddress:

0 commit comments

Comments
 (0)