[clang] [analyzer] Remove double spaces after sentence endings in emitted diagnostics (PR #228777)

Benedek Kaibas via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 25 14:16:54 PDT 2026


================
@@ -56,11 +56,11 @@ static void CompareReturnTypes(const ObjCMethodDecl *MethDerived,
        << "', defines the instance method '";
     MethDerived->getSelector().print(os);
     os << "' whose return type is '" << ResDerived
-       << "'.  A method with the same name (same selector) is also defined in "
+       << "'. A method with the same name (same selector) is also defined in "
           "class '"
        << *MethAncestor->getClassInterface() << "' and has a return type of '"
        << ResAncestor
-       << "'.  These two types are incompatible, and may result in undefined "
+       << "'. These two types are incompatible, and may result in undefined "
           "behavior for clients of these classes.";
----------------
benedekaibas wrote:

Applied changes here: [eab194a](https://github.com/llvm/llvm-project/pull/228777/commits/eab194a6340af227cdc7fd86c31c0b1808aeac80)

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


More information about the cfe-commits mailing list