[llvm-branch-commits] [llvm] [readtapi] Setup simple stubify support (PR #75008)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Dec 19 09:19:17 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 87feac672b0e784434fc36268a66ee570bb00e03 fe3ed76ac4c9243a8ced76746d89222d54aff6c1 -- 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 f75f127f84..cdc5a6f123 100644
--- a/llvm/tools/llvm-readtapi/llvm-readtapi.cpp
+++ b/llvm/tools/llvm-readtapi/llvm-readtapi.cpp
@@ -115,8 +115,8 @@ static void replace_extension(SmallVectorImpl<char> &Path,
   Path.append(Ext.begin(), Ext.end());
 }
 
-static std::unique_ptr<InterfaceFile> getInterfaceFile(const StringRef Filename,
-                                                bool ResetBanner = true) {
+static std::unique_ptr<InterfaceFile>
+getInterfaceFile(const StringRef Filename, bool ResetBanner = true) {
   ExitOnErr.setBanner(TOOLNAME + ": error: '" + Filename.str() + "' ");
   ErrorOr<std::unique_ptr<MemoryBuffer>> BufferOrErr =
       MemoryBuffer::getFile(Filename);

``````````

</details>


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


More information about the llvm-branch-commits mailing list