[clang] [analyzer][NFC] Add some docs for LazyCompoundValue (PR #97407)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 2 05:18:51 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff d78211912391b724a064ef017dbf239eff10380a 9fed2b7dc5395f487cb91c10eb076bb87e05e9b6 -- clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
index e44cda50ef..dbc34e0ae5 100644
--- a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
+++ b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
@@ -384,7 +384,8 @@ public:
 /// cluster, because within the LazyCompoundVal’s Store only the cluster that
 /// corresponds to the LazyCompoundVal’s parent region is relevant.
 ///
-/// Source: https://discourse.llvm.org/t/analyzer-for-the-undefined-value-of-array-element-the-tracking-information-is-incomplete/49372/2
+/// Source:
+/// https://discourse.llvm.org/t/analyzer-for-the-undefined-value-of-array-element-the-tracking-information-is-incomplete/49372/2
 class LazyCompoundVal : public NonLoc {
   friend class ento::SValBuilder;
 

``````````

</details>


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


More information about the cfe-commits mailing list