Skip to content

Commit

Permalink
Removing an unused function; NFC
Browse files Browse the repository at this point in the history
It turns out there are zero in-tree callers of CallExpr::getNumCommas()
so it's reasonable to remove.
  • Loading branch information
AaronBallman committed Aug 15, 2022
1 parent a5bef98 commit f37b285
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions clang/include/clang/AST/Expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -3061,10 +3061,6 @@ class CallExpr : public Expr {
PREARGS_START + getNumPreArgs() + getNumArgs());
}

/// getNumCommas - Return the number of commas that must have been present in
/// this function call.
unsigned getNumCommas() const { return getNumArgs() ? getNumArgs() - 1 : 0; }

/// Get FPOptionsOverride from trailing storage.
FPOptionsOverride getStoredFPFeatures() const {
assert(hasStoredFPFeatures());
Expand Down

0 comments on commit f37b285

Please sign in to comment.