projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5bef98
)
Removing an unused function; NFC
author
Aaron Ballman
<aaron@aaronballman.com>
Mon, 15 Aug 2022 17:33:45 +0000
(13:33 -0400)
committer
Aaron 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
patch
|
blob
|
history
diff --git
a/clang/include/clang/AST/Expr.h
b/clang/include/clang/AST/Expr.h
index
1fc6dc9
..
d8efe66
100644
(file)
--- a/
clang/include/clang/AST/Expr.h
+++ b/
clang/include/clang/AST/Expr.h
@@
-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());