[clang] [clang-tools-extra] [clang] Add a valid begin source location for abbreviated function templates (PR #174723)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 9 04:23:42 PST 2026


================
@@ -57,6 +57,67 @@ TEST(Hover, Structured) {
          HI.Type = "void ()";
          HI.Parameters.emplace();
        }},
+      {R"cpp(
+          // Best foo ever.
+          void [[fo^o]](auto x) {}
----------------
cor3ntin wrote:

Agreed - LGTM otherwise

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


More information about the cfe-commits mailing list