[llvm] d04eb25 - [llvm-objdump] Delete unneeeded namespace llvm {}
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sat May 30 18:04:20 PDT 2020
Author: Fangrui Song
Date: 2020-05-30T18:03:43-07:00
New Revision: d04eb253c710aec30707e404cfc9dc672082d3a2
URL: https://github.com/llvm/llvm-project/commit/d04eb253c710aec30707e404cfc9dc672082d3a2
DIFF: https://github.com/llvm/llvm-project/commit/d04eb253c710aec30707e404cfc9dc672082d3a2.diff
LOG: [llvm-objdump] Delete unneeeded namespace llvm {}
Added:
Modified:
llvm/tools/llvm-objdump/llvm-objdump.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-objdump/llvm-objdump.cpp b/llvm/tools/llvm-objdump/llvm-objdump.cpp
index 2416ffcb1379..70ab0a1643ee 100644
--- a/llvm/tools/llvm-objdump/llvm-objdump.cpp
+++ b/llvm/tools/llvm-objdump/llvm-objdump.cpp
@@ -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;
More information about the llvm-commits
mailing list