Removing an unused function; NFC
authorAaron Ballman <aaron@aaronballman.com>
Mon, 15 Aug 2022 17:33:45 +0000 (13:33 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 15 Aug 2022 17:35:16 +0000 (13:35 -0400)
It turns out there are zero in-tree callers of CallExpr::getNumCommas()
so it's reasonable to remove.

clang/include/clang/AST/Expr.h

index 1fc6dc9..d8efe66 100644 (file)
@@ -3061,10 +3061,6 @@ public:
                               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());