[llvm] Revert "Add unit tests for size returning new funcs in the MemProf use pass. (#105473)" (PR #106114)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 11:27:25 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 7fc67b5eb53e3b99a99406ae39fba71c3f5538de 850482d1c827d3b6a2931f6d66e5359df65f1b67 --extensions h,cpp -- llvm/include/llvm/ProfileData/InstrProfReader.h llvm/include/llvm/Transforms/Instrumentation/MemProfiler.h llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Instrumentation/MemProfiler.cpp b/llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
index 4a43120c9a..15fd983244 100644
--- a/llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
+++ b/llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
@@ -151,7 +151,7 @@ static cl::opt<int> ClDebugMax("memprof-debug-max", cl::desc("Debug max inst"),
 // override these hints anyway.
 static cl::opt<bool> ClMemProfMatchHotColdNew(
     "memprof-match-hot-cold-new",
- cl::desc(
+    cl::desc(
         "Match allocation profiles onto existing hot/cold operator new calls"),
     cl::Hidden, cl::init(false));
 

``````````

</details>


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


More information about the llvm-commits mailing list