summaryrefslogtreecommitdiffstats
path: root/iwyu_port.h
diff options
context:
space:
mode:
Diffstat (limited to 'iwyu_port.h')
-rw-r--r--iwyu_port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iwyu_port.h b/iwyu_port.h
index d890575..e1fabb3 100644
--- a/iwyu_port.h
+++ b/iwyu_port.h
@@ -26,7 +26,7 @@ class FatalMessageEmitter {
FatalMessageEmitter(const char* file, int line, const char* message) {
stream() << file << ":" << line << ": Assertion failed: " << message;
}
- LLVM_ATTRIBUTE_NORETURN ~FatalMessageEmitter() {
+ [[noreturn]] ~FatalMessageEmitter() {
stream() << "\n";
::abort();
#ifdef LLVM_BUILTIN_UNREACHABLE