Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/lib/AST/Interp/InterpBuiltin.cpp | ||
|---|---|---|
| 124 | why does that return a bool? you could make it void, and get rid of the if statement | |
| clang/lib/AST/Interp/InterpBuiltin.cpp | ||
|---|---|---|
| 124 | No reason other than that all the evaluation functions (also in Interp.h) return bool, even if they always succeed. | |
| clang/lib/AST/Interp/InterpBuiltin.cpp | ||
|---|---|---|
| 124 | Yeah, I'm not a fan of returning something for no reason but i buy the consistency argument | |
why does that return a bool? you could make it void, and get rid of the if statement