There is a version that just tests (also called
isIntegerConstantExpression) & whereas this version is specifically used
when the value is of interest (a few call sites were actually refactored
to calling the test-only version) so let's make the API look more like
it.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM aside from the formatting nits. I think this is a nice cleanup, thanks!
| clang/include/clang/AST/Expr.h | ||
|---|---|---|
| 503 | 80-col issue, should clang-format the patch. | |
| clang/include/clang/AST/Expr.h | ||
|---|---|---|
| 503–505 | I think the "Return the value..." description now matches getIntegerConstantExpr, not isIntegerConstantExpr | |
clang-format: please reformat the code