[clang] [clang] NNS: don't print trailing scope resolution operator in diagnostics (PR #130529)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 10 04:19:36 PDT 2025


================
@@ -599,16 +599,17 @@ def err_using_typename_non_type : Error<
   "'typename' keyword used on a non-type">;
 def err_using_dependent_value_is_type : Error<
   "dependent using declaration resolved to type without 'typename'">;
-def err_using_decl_nested_name_specifier_is_not_class : Error<
-  "using declaration in class refers into '%0', which is not a class">;
+def err_using_decl_nested_name_specifier_is_not_class
+    : Error<"using declaration in class refers into %0, which is not a class">;
----------------
mizvekov wrote:

I don't think I can, clang-format now runs on these files.

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


More information about the cfe-commits mailing list