[all-commits] [llvm/llvm-project] 5f20f9: [clang][AST] Remove HasFirstArg assertion in CallE...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Tue Mar 11 22:02:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f20f9a0126165ed64c39b9a23559136691d9f97
      https://github.com/llvm/llvm-project/commit/5f20f9a0126165ed64c39b9a23559136691d9f97
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/Expr.cpp
    M clang/test/AST/ast-dump-cxx2b-deducing-this.cpp

  Log Message:
  -----------
  [clang][AST] Remove HasFirstArg assertion in CallExpr::getBeginLoc() (#130725)

There are cases where the assertion legitimately does not hold (e.g.
CallExpr::CreateTemporary()), and there's no readily available way to
tell such cases apart.

Fixes https://github.com/llvm/llvm-project/issues/130272



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list