Skip to content

Commit

Permalink
Remove an unused API; NFC
Browse files Browse the repository at this point in the history
Not only is this unused, it's really confusing having
getAPValueResult() and getResultAsAPValue() as sibling APIs
  • Loading branch information
AaronBallman committed Jan 19, 2024
1 parent 9ae28fb commit 8959206
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion clang/include/clang/AST/Expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,6 @@ class ConstantExpr final
return ConstantExprBits.APValueKind != APValue::None;
}
APValue getAPValueResult() const;
APValue &getResultAsAPValue() const { return APValueResult(); }
llvm::APSInt getResultAsAPSInt() const;
// Iterators
child_range children() { return child_range(&SubExpr, &SubExpr+1); }
Expand Down

0 comments on commit 8959206

Please sign in to comment.