[clang] [llvm] [NFC] Fix c++ style comment in c file (PR #112814)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 18 08:57:46 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 c3bbc3a57d439a039d2ea49d9b7e0f6e1c87219d d72d0e3d31ec0569a2e8e35df2bbae469bbb1b27 --extensions h -- clang/include/clang-c/Index.h llvm/include/llvm/Support/AutoConvert.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/Support/AutoConvert.h b/llvm/include/llvm/Support/AutoConvert.h
index 554ca7a924..d5fe1425cc 100644
--- a/llvm/include/llvm/Support/AutoConvert.h
+++ b/llvm/include/llvm/Support/AutoConvert.h
@@ -44,8 +44,8 @@ std::error_code disablezOSAutoConversion(int FD);
/** \brief Query the z/OS enhanced ASCII auto-conversion status of a file
* descriptor and force the conversion if the file is not tagged with a
- */ codepage.
-std::error_code enablezOSAutoConversion(int FD);
+ */
+codepage.std::error_code enablezOSAutoConversion(int FD);
/** Restore the z/OS enhanced ASCII auto-conversion for the std handle. */
std::error_code restorezOSStdHandleAutoConversion(int FD);
``````````
</details>
https://github.com/llvm/llvm-project/pull/112814
More information about the cfe-commits
mailing list