Skip to content

Commit

Permalink
Silence a "not all control paths return a value" warning; NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronBallman committed Aug 28, 2023
1 parent 667a9f7 commit aebe312
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/include/clang/AST/Expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -6488,6 +6488,7 @@ class AtomicExpr : public Expr {
return #ID;
#include "clang/Basic/Builtins.def"
}
llvm_unreachable("not an atomic operator?");
}
unsigned getNumSubExprs() const { return NumSubExprs; }

Expand Down

0 comments on commit aebe312

Please sign in to comment.