Skip to content

Commit aebe312

Browse files
committed
Silence a "not all control paths return a value" warning; NFC
1 parent 667a9f7 commit aebe312

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/include/clang/AST/Expr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6488,6 +6488,7 @@ class AtomicExpr : public Expr {
64886488
return #ID;
64896489
#include "clang/Basic/Builtins.def"
64906490
}
6491+
llvm_unreachable("not an atomic operator?");
64916492
}
64926493
unsigned getNumSubExprs() const { return NumSubExprs; }
64936494

0 commit comments

Comments
 (0)