[clang] [clang][AST] Remove HasFirstArg assertion in CallExpr::getBeginLoc() (PR #130725)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 11 13:22:11 PDT 2025
HighCommander4 wrote:
> Missing changelog.
Added.
> 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)
Filed https://github.com/llvm/llvm-project/issues/130824 to track this idea.
https://github.com/llvm/llvm-project/pull/130725
More information about the cfe-commits
mailing list