When calling functions in the checkingPotentialConstantExpression mode, we cannot have arguments (including This + RVO pointers) for the toplevel callee, but the functions called from within can work just fine, or at least we succeed in pushing their arguments on the stack, so we must also succeed in removing them again.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/AST/Interp/functions.cpp | ||
---|---|---|
262 | Oh yeah, you did mostly stick to that; then ignore my suggestion. However, we have no policy regarding // vs /// vs /**/, so it's pretty much a case-by-case basis, but in general we use // for all comments unless there's a specific reason not to. |