[llvm] [llvm-remarkutil] Make invalid states un-representable in the count tool (PR #140829)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 20 19:45:53 PDT 2025


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 HEAD~1 HEAD --extensions cpp,h -- llvm/tools/llvm-remarkutil/RemarkCounter.cpp llvm/tools/llvm-remarkutil/RemarkCounter.h llvm/tools/llvm-remarkutil/RemarkUtilHelpers.cpp llvm/tools/llvm-remarkutil/RemarkUtilHelpers.h
``````````

</details>

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

``````````diff
diff --git a/llvm/tools/llvm-remarkutil/RemarkUtilHelpers.h b/llvm/tools/llvm-remarkutil/RemarkUtilHelpers.h
index 847afbbfa..45c9ed054 100644
--- a/llvm/tools/llvm-remarkutil/RemarkUtilHelpers.h
+++ b/llvm/tools/llvm-remarkutil/RemarkUtilHelpers.h
@@ -76,8 +76,8 @@ public:
   static Expected<FilterMatcher>
   createRE(const llvm::cl::opt<std::string> &Arg);
 
-  static Expected<FilterMatcher>
-  createRE(StringRef Filter, const cl::list<std::string> &Arg);
+  static Expected<FilterMatcher> createRE(StringRef Filter,
+                                          const cl::list<std::string> &Arg);
 
   static FilterMatcher createAny() { return {".*", true}; }
 

``````````

</details>


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


More information about the llvm-commits mailing list