[llvm] [readtapi] Use OptParser.td for options (PR #72183)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 15:16:23 PST 2023
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 d1168df2a46e6077d7dd1acc7e6302405dc8d610 ebb21a276f661bd1ae9a3c99ee543c3768c9b98b -- llvm/include/llvm/TextAPI/TextAPIError.h llvm/lib/TextAPI/TextAPIError.cpp llvm/tools/llvm-readtapi/llvm-readtapi.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/tools/llvm-readtapi/llvm-readtapi.cpp b/llvm/tools/llvm-readtapi/llvm-readtapi.cpp
index 3c05c28225..2aae1c464c 100644
--- a/llvm/tools/llvm-readtapi/llvm-readtapi.cpp
+++ b/llvm/tools/llvm-readtapi/llvm-readtapi.cpp
@@ -70,8 +70,8 @@ convertFileToBinary(const StringRef Filename) {
return createBinary(BufferOrErr.get()->getMemBufferRef());
}
-// Use unique exit code to differentiate failures not directly caused from
-// TextAPI operations. This is used for wrapping `compare` operations in
+// Use unique exit code to differentiate failures not directly caused from
+// TextAPI operations. This is used for wrapping `compare` operations in
// automation and scripting.
const int NON_TAPI_EXIT_CODE = 2;
``````````
</details>
https://github.com/llvm/llvm-project/pull/72183
More information about the llvm-commits
mailing list