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 9ce8f4b70b31b031ac9b4818a268bfc8c67a7a8e 
824649120ac51ac75ad22a7276f7380f801e6db6 --extensions h,cpp -- 
clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h 
clang/lib/StaticAnalyzer/Core/MemRegion.cpp 
clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp 
clang/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp 
clang/lib/StaticAnalyzer/Core/SValBuilder.cpp 
clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp 
clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
``````````

</details>

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

``````````diff
diff --git 
a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h 
b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
index e83164c9b4..a96b2fd85f 100644
--- a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
+++ b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h
@@ -527,12 +527,10 @@ public:
 
   static bool canSymbolicate(QualType T);
 
-  template <typename T, typename... Args>
-  const T *get(Args &&...args);
+  template <typename T, typename... Args> const T *get(Args &&...args);
 
-  const SymbolConjured* conjureSymbol(const Stmt *E,
-                                      const LocationContext *LCtx,
-                                      QualType T,
+  const SymbolConjured *conjureSymbol(const Stmt *E,
+                                      const LocationContext *LCtx, QualType T,
                                       unsigned VisitCount,
                                       const void *SymbolTag = nullptr) {
     return get<SymbolConjured>(E, LCtx, T, VisitCount, SymbolTag);
diff --git a/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp 
b/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
index 1622d2726a..9c6222e882 100644
--- a/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
+++ b/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
@@ -350,8 +350,8 @@ static NonLoc doRearrangeUnchecked(ProgramStateRef State,
     }
   }
   APSIntPtr PersistentResultInt = BV.getValue(ResultInt);
-  return nonloc::SymbolVal(
-      SymMgr.get<SymIntExpr>(ResultSym, ResultOp, PersistentResultInt, 
ResultTy));
+  return nonloc::SymbolVal(SymMgr.get<SymIntExpr>(
+      ResultSym, ResultOp, PersistentResultInt, ResultTy));
 }
 
 // Rearrange if symbol type matches the result type and if the operator is a

``````````

</details>


https://github.com/llvm/llvm-project/pull/121781
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to