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
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM aside from the formatting nits. I think this is a nice cleanup, thanks!
clang/include/clang/AST/Expr.h | ||
---|---|---|
513–515 | 80-col issue, should clang-format the patch. |
clang/include/clang/AST/Expr.h | ||
---|---|---|
513 | I think the "Return the value..." description now matches getIntegerConstantExpr, not isIntegerConstantExpr |
I think the "Return the value..." description now matches getIntegerConstantExpr, not isIntegerConstantExpr