tbaeder added inline comments.
================
Comment at: clang/lib/AST/Interp/InterpBuiltin.cpp:119
+static bool interp__builtin_inf(InterpState &S, CodePtr OpPC,
+ const InterpFrame *Frame, const Function *F) {
----------------
cor3ntin wrote:
> why does that return a bool? you could make it void, and get rid of the if
> statement
No reason other than that all the evaluation functions (also in `Interp.h`)
return `bool`, even if they always succeed.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155367/new/
https://reviews.llvm.org/D155367
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits