[clang] [clang-tools-extra] [clang] Initialize pattern TypeLoc of PackIndexingTypeLoc (PR #231191)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 15 05:04:06 PDT 2026


================
@@ -0,0 +1,48 @@
+//===- unittest/Tooling/RecursiveASTVisitorTests/PackIndexingTypeLoc.cpp --===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
----------------
max-winkler wrote:

Done. The tests now live in `SourceLocationTest.cpp` (matching `TemplateTypeParmTypeLoc` via `typeLoc(loc(templateTypeParmType())))`, and they still fail without the `RecursiveASTVisitor` change. The old test file is removed, and CMakeLists.txt and TestVisitor.h are reverted to main

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


More information about the cfe-commits mailing list