[llvm] [readtapi] Setup simple stubify support (PR #76075)
Juergen Ributzka via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 20 10:15:55 PST 2023
================
@@ -79,20 +92,65 @@ static void reportError(Twine Message, int ExitCode = EXIT_FAILURE) {
exit(ExitCode);
}
+/// Replace extension considering frameworks.
+static void replace_extension(SmallVectorImpl<char> &Path,
+ const Twine &Extension) {
+ StringRef P(Path.begin(), Path.size());
----------------
ributzka wrote:
I think it would be helpful to add a comment to visualize what is being matched here:
`/System/Library/Frameworks/<NAME>.framework/<NAME>`
https://github.com/llvm/llvm-project/pull/76075
More information about the llvm-commits
mailing list