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

via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 10 04:09:56 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) {}
----------------
tcottin wrote:

I added a test but I am not sure if this is what you had in mind.
Please have another look.

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


More information about the cfe-commits mailing list