From 1e2d5cb06c4543f0c49beb8b585d63a90e915499 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 22 Jun 2018 22:20:10 +0000 Subject: [llvm-size] Make global variables static llvm-svn: 335397 --- llvm/tools/llvm-size/llvm-size.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/tools/llvm-size') diff --git a/llvm/tools/llvm-size/llvm-size.cpp b/llvm/tools/llvm-size/llvm-size.cpp index 20a0e2f3e0b..67c81ec9e7c 100644 --- a/llvm/tools/llvm-size/llvm-size.cpp +++ b/llvm/tools/llvm-size/llvm-size.cpp @@ -68,7 +68,7 @@ cl::opt static cl::list ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"), cl::ZeroOrMore); -bool ArchAll = false; +static bool ArchAll = false; enum RadixTy { octal = 8, decimal = 10, hexadecimal = 16 }; static cl::opt @@ -93,7 +93,7 @@ static cl::alias TotalSizesShort("t", cl::desc("Short for --totals"), static cl::list InputFilenames(cl::Positional, cl::desc(""), cl::ZeroOrMore); -bool HadError = false; +static bool HadError = false; static std::string ToolName; -- cgit v1.2.3