OSDN Git Service

[llvm-objdump] Delete unneeeded namespace llvm {}
authorFangrui Song <maskray@google.com>
Sun, 31 May 2020 01:03:43 +0000 (18:03 -0700)
committerFangrui Song <maskray@google.com>
Sun, 31 May 2020 01:03:43 +0000 (18:03 -0700)
llvm/tools/llvm-objdump/llvm-objdump.cpp

index 2416ffc..70ab0a1 100644 (file)
@@ -386,8 +386,6 @@ static FilterResult checkSectionFilter(object::SectionRef S) {
           /*IncrementIndex=*/true};
 }
 
-namespace llvm {
-
 SectionFilter objdump::ToolSectionFilter(object::ObjectFile const &O,
                                          uint64_t *Idx) {
   // Start at UINT64_MAX so that the first index returned after an increment is
@@ -2422,7 +2420,6 @@ static void dumpInput(StringRef file) {
   else
     reportError(errorCodeToError(object_error::invalid_file_type), file);
 }
-} // namespace llvm
 
 int main(int argc, char **argv) {
   using namespace llvm;