[clang] [analyzer][NFC] Add tests for and refactor StackAddrEscapeChecker 1/3 (PR #105652)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 27 03:08:53 PDT 2024


================
@@ -374,13 +395,13 @@ void StackAddrEscapeChecker::checkEndFunction(const ReturnStmt *RS,
 
     // Generate a report for this bug.
     const StringRef CommonSuffix =
-        "upon returning to the caller.  This will be a dangling reference";
+        " upon returning to the caller.  This will be a dangling reference";
----------------
Xazax-hun wrote:

Is having two spaces after a dot a common convention we have? This is not a change in this PR, I'm just wondering if this was intentional or a typo.

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


More information about the cfe-commits mailing list