[PATCH] D72716: static
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 14 09:45:49 PST 2020
sbc100 created this revision.
Herald added subscribers: llvm-commits, rupprecht, aheejin.
Herald added a reviewer: jhenderson.
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72716
Files:
llvm/tools/llvm-nm/llvm-nm.cpp
Index: llvm/tools/llvm-nm/llvm-nm.cpp
===================================================================
--- llvm/tools/llvm-nm/llvm-nm.cpp
+++ llvm/tools/llvm-nm/llvm-nm.cpp
@@ -707,8 +707,8 @@
return Sym.TypeChar != 'U' && Sym.TypeChar != 'w' && Sym.TypeChar != 'v';
}
-void writeFileName(raw_ostream &S, const std::string &ArchiveName,
- const std::string &ArchitectureName) {
+static void writeFileName(raw_ostream &S, const std::string &ArchiveName,
+ const std::string &ArchitectureName) {
if (!ArchitectureName.empty())
S << "(for architecture " << ArchitectureName << "):";
if (OutputFormat == posix && !ArchiveName.empty())
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72716.238010.patch
Type: text/x-patch
Size: 694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200114/8d514b3a/attachment.bin>
More information about the llvm-commits
mailing list