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 Jun 6, 2023
1 parent 9e932e0 commit 07028ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/Sema/SemaExprCXX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5589,6 +5589,7 @@ ExprResult Sema::BuildTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
KWLoc, Kind, Args, RParenLoc, Result);
}
}
llvm_unreachable("unhandled type trait return type");
}

ExprResult Sema::ActOnTypeTrait(TypeTrait Kind, SourceLocation KWLoc,
Expand Down

0 comments on commit 07028ac

Please sign in to comment.