[PATCH] D155367: [clang][Interp] Implement __builtin_inf() etc.
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 16 06:11:50 PDT 2023
cor3ntin 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) {
----------------
why does that return a bool? you could make it void, and get rid of the if statement
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155367/new/
https://reviews.llvm.org/D155367
More information about the cfe-commits
mailing list