[llvm] [TextAPI] Add missing attribute to remove/merge/extract operations (PR #116729)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 17:56:15 PST 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 f14e1a8597f83fa5bbc78befcb7059144d58ff5c 09d08eaae709d588662f3b30063c26a6cbab752f --extensions cpp -- llvm/lib/TextAPI/InterfaceFile.cpp llvm/unittests/TextAPI/TextStubV5Tests.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/TextAPI/InterfaceFile.cpp b/llvm/lib/TextAPI/InterfaceFile.cpp
index 931f1512f7..ce2feb65c9 100644
--- a/llvm/lib/TextAPI/InterfaceFile.cpp
+++ b/llvm/lib/TextAPI/InterfaceFile.cpp
@@ -239,7 +239,8 @@ InterfaceFile::remove(Architecture Arch) const {
       return make_error<TextAPIError>(TextAPIErrorCode::NoSuchArchitecture);
   }
 
-  // FIXME: Figure out how to keep these attributes in sync when new ones are added.
+  // FIXME: Figure out how to keep these attributes in sync when new ones are
+  // added.
   std::unique_ptr<InterfaceFile> IF(new InterfaceFile());
   IF->setFileType(getFileType());
   IF->setPath(getPath());

``````````

</details>


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


More information about the llvm-commits mailing list