[clang] [Clang][Sema] Give calls synthesized by `__builtin_invoke` a valid source range (PR #220593)

Shengxin Pei via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 2 22:11:13 PDT 2026


================
@@ -496,6 +492,9 @@ features cannot lower the translation-unit ABI level;
   such as when the call is used as an `auto` non-type template argument.
 - Fixed a crash in ``__builtin_dump_struct`` when ``-Werror`` promotes
   format warnings to errors. (#GH211943)
+- Fixed an assertion failure when diagnosing a constant evaluation failure
+  inside a member function call synthesized by ``__builtin_invoke``.
+  (#GH185241)
----------------
TPPPP72 wrote:

```suggestion
  inside a member function call synthesized by ``__builtin_invoke``.  (#GH185241)
```

https://github.com/llvm/llvm-project/pull/220593


More information about the cfe-commits mailing list