[clang] [APINotes] Upstream APINotesManager (PR #72389)

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 15 10:00:36 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 05f70f7987f6bb34393b6ea0781c1060234a22ea aa80c53b94e0d0a4ae86be41b47f8837a96b39d9 -- clang/include/clang/APINotes/APINotesManager.h clang/include/clang/Basic/SourceMgrAdapter.h clang/lib/APINotes/APINotesManager.cpp clang/lib/Basic/SourceMgrAdapter.cpp clang/include/clang/APINotes/Types.h clang/include/clang/Basic/Module.h
``````````

</details>

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

``````````diff
diff --git a/clang/lib/APINotes/APINotesManager.cpp b/clang/lib/APINotes/APINotesManager.cpp
index 9ba1a86e06..ec1fb3ffa9 100644
--- a/clang/lib/APINotes/APINotesManager.cpp
+++ b/clang/lib/APINotes/APINotesManager.cpp
@@ -156,7 +156,7 @@ OptionalDirectoryEntryRef APINotesManager::loadFrameworkAPINotes(
 
   llvm::SmallString<128> Path(FrameworkPath);
   unsigned FrameworkNameLength = Path.size();
-  
+
   StringRef Suffix = Public ? "" : "_private";
 
   // Form the path to the APINotes file.

``````````

</details>


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


More information about the cfe-commits mailing list