================
@@ -125,10 +125,10 @@ void MacOSXAPIChecker::CheckDispatchOnce(CheckerContext 
&C, const CallExpr *CE,
   } else {
     os << " stack allocated memory";
   }
-  os << " for the predicate value.  Using such transient memory for "
+  os << " for the predicate value. Using such transient memory for "
         "the predicate is potentially dangerous.";
   if (SuggestStatic)
-    os << "  Perhaps you intended to declare the variable as 'static'?";
+    os << " Perhaps you intended to declare the variable as 'static'?";
----------------
NagyDonat wrote:

>  I also had to change the existing .plist file(s) that were related to this 
> test file.

Dropping full `.plist` files into the test directories is a very cumbersome way 
of testing, I don't like that it is used for this checker, but the best thing 
that we can do now is editing the plists when we need it. _They are just 
garbage heaps – not historical monuments._ 

https://github.com/llvm/llvm-project/pull/228777
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to