[clang] [llvm] [InstallAPI] Add support for aliased exports (PR #88750)

via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 15 08:19:11 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 a06073f91e7bbbb532e68bbf6b903c2f5051f4c2 3170f89b36ccf3ad6003f24decb282e23951d943 -- clang/include/clang/InstallAPI/DylibVerifier.h clang/include/clang/InstallAPI/MachO.h clang/lib/InstallAPI/DylibVerifier.cpp clang/tools/clang-installapi/Options.cpp clang/tools/clang-installapi/Options.h llvm/include/llvm/TextAPI/Utils.h llvm/lib/TextAPI/Utils.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/TextAPI/Utils.h b/llvm/include/llvm/TextAPI/Utils.h
index 01999107d6..6126be61d7 100644
--- a/llvm/include/llvm/TextAPI/Utils.h
+++ b/llvm/include/llvm/TextAPI/Utils.h
@@ -81,8 +81,8 @@ llvm::Expected<llvm::Regex> createRegexFromGlob(llvm::StringRef Glob);
 using AliasEntry = std::pair<std::string, EncodeKind>;
 using AliasMap = std::map<AliasEntry, AliasEntry>;
 
-/// Parse input list and capture symbols and their alias. 
-/// \param Buffer Data contents of file for the alias list. 
+/// Parse input list and capture symbols and their alias.
+/// \param Buffer Data contents of file for the alias list.
 /// \return Lookup able of symbol name to their alias.
 Expected<AliasMap> parseAliasList(std::unique_ptr<llvm::MemoryBuffer> &Buffer);
 

``````````

</details>


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


More information about the cfe-commits mailing list