File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ void NamespaceNamingCheck::check(const MatchFinder::MatchResult &Result) {
6969
7070 if (fixNamespaceName (newName))
7171 {
72- diag (MatchedNamespaceDecl->getLocation (), " namespace %0 does not follow the underscore convention" )
72+ diag (MatchedNamespaceDecl->getLocation (), " namespace %q0 does not follow the underscore convention" )
7373 << MatchedNamespaceDecl
7474 << FixItHint::CreateReplacement (MatchedNamespaceDecl->getLocation (), newName);
7575 }
@@ -92,7 +92,7 @@ void NamespaceNamingCheck::check(const MatchFinder::MatchResult &Result) {
9292
9393 if (fixNamespaceName (newName))
9494 {
95- diag (MatchedNamespaceLoc->getLocalBeginLoc (), " namespace %0 does not follow the underscore convention" )
95+ diag (MatchedNamespaceLoc->getLocalBeginLoc (), " namespace %q0 does not follow the underscore convention" )
9696 << AsNamespace
9797 << FixItHint::CreateReplacement (MatchedNamespaceLoc->getLocalBeginLoc (), newName);
9898 }
@@ -119,7 +119,7 @@ void NamespaceNamingCheck::check(const MatchFinder::MatchResult &Result) {
119119
120120 if (fixNamespaceName (newName))
121121 {
122- diag (MatchedUsingNamespace->getLocation (), " namespace %0 does not follow the underscore convention" )
122+ diag (MatchedUsingNamespace->getLocation (), " namespace %q0 does not follow the underscore convention" )
123123 << MatchedUsingNamespace->getNominatedNamespace ()
124124 << FixItHint::CreateReplacement (MatchedUsingNamespace->getLocation (), newName);
125125 }
You can’t perform that action at this time.
0 commit comments