================ @@ -51,7 +78,9 @@ void ImplementationInNamespaceCheck::check( // instead. if (NS->getVisibility() != Visibility::HiddenVisibility) { diag(NS->getLocation(), "the '%0' macro should start with '%1'") - << RequiredNamespaceDeclMacroName << RequiredNamespaceDeclStart; + << RequiredNamespaceDeclMacroName << RequiredNamespaceDeclStart + << FixItHint::CreateReplacement(NS->getLocation(), + RequiredNamespaceDeclMacroName); ---------------- 5chmidti wrote:
You probably would want to add an include in this case as well, given that you're adding the same macro as above. https://github.com/llvm/llvm-project/pull/99681 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits