[clang] [clang][dataflow] Add matchers for smart pointer accessors to be cached (PR #120102)

via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 17 07:33:11 PST 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 3c3094b60d3587b1db8ef35b3bf54e73ac5894d9 4b21305cbe0da07faa57f05856edd9369d4f4ed5 --extensions cpp,h -- clang/include/clang/Analysis/FlowSensitive/SmartPointerAccessorCaching.h clang/lib/Analysis/FlowSensitive/SmartPointerAccessorCaching.cpp clang/unittests/Analysis/FlowSensitive/SmartPointerAccessorCachingTest.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/unittests/Analysis/FlowSensitive/SmartPointerAccessorCachingTest.cpp b/clang/unittests/Analysis/FlowSensitive/SmartPointerAccessorCachingTest.cpp
index 1b52f13b82..3f75dff60e 100644
--- a/clang/unittests/Analysis/FlowSensitive/SmartPointerAccessorCachingTest.cpp
+++ b/clang/unittests/Analysis/FlowSensitive/SmartPointerAccessorCachingTest.cpp
@@ -192,4 +192,3 @@ TEST(SmartPointerAccessorCachingTest, MatchesWithValueAndNonConstOverloads) {
 
 } // namespace
 } // namespace clang::dataflow
-

``````````

</details>


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


More information about the cfe-commits mailing list