[PATCH] D72716: static

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 14 09:45:51 PST 2020


sbc100 updated this revision to Diff 238011.
sbc100 added a comment.

static


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72716/new/

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.238011.patch
Type: text/x-patch
Size: 694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200114/4f8f7c49/attachment-0001.bin>


More information about the llvm-commits mailing list