Skip to content

Commit 8959206

Browse files
committed
Remove an unused API; NFC
Not only is this unused, it's really confusing having getAPValueResult() and getResultAsAPValue() as sibling APIs
1 parent 9ae28fb commit 8959206

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/include/clang/AST/Expr.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,6 @@ class ConstantExpr final
11361136
return ConstantExprBits.APValueKind != APValue::None;
11371137
}
11381138
APValue getAPValueResult() const;
1139-
APValue &getResultAsAPValue() const { return APValueResult(); }
11401139
llvm::APSInt getResultAsAPSInt() const;
11411140
// Iterators
11421141
child_range children() { return child_range(&SubExpr, &SubExpr+1); }

0 commit comments

Comments
 (0)