[clang] [clang][AST] Remove HasFirstArg assertion in CallExpr::getBeginLoc() (PR #130725)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 11 02:07:01 PDT 2025
https://github.com/cor3ntin commented:
Missing changelog.
Otherwise, I think it makes sense even if I sort of hate it, as it relies on `TryCopyInitialization` looking at the location and nothing else.
I wonder if we could get rid of `CallExpr::CreateTemporary` and instead
create something like an `OpaqueValueExpr` for the purpose of determining an initialization sequence.
(We should only need some expression with a type, a location, and a value category, afaik)
https://github.com/llvm/llvm-project/pull/130725
More information about the cfe-commits
mailing list