]> granicus.if.org Git - llvm/commitdiff
[IFS][NFC] llvm-ifs: Fixing build bot error due to commit conflicts.
authorPuyan Lotfi <puyan@puyan.org>
Fri, 30 Aug 2019 20:09:55 +0000 (20:09 +0000)
committerPuyan Lotfi <puyan@puyan.org>
Fri, 30 Aug 2019 20:09:55 +0000 (20:09 +0000)
r370510 and r370504

Again only on gcc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370517 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-ifs/llvm-ifs.cpp

index 41f504a13eae627c196abf1794a567beb5a2e393..63f774f3751884aa21e579cefd081a6e9cd5c6b2 100644 (file)
@@ -85,8 +85,6 @@ struct IFSSymbol {
   bool operator<(const IFSSymbol &RHS) const { return Name < RHS.Name; }
 };
 
-namespace llvm {
-namespace yaml {
 /// YAML traits for IFSSymbolType.
 template <> struct llvm::yaml::ScalarEnumerationTraits<IFSSymbolType> {
   static void enumeration(IO &IO, IFSSymbolType &SymbolType) {
@@ -154,8 +152,6 @@ template <> struct llvm::yaml::CustomMappingTraits<std::set<IFSSymbol>> {
       IO.mapRequired(Sym.Name.c_str(), const_cast<IFSSymbol &>(Sym));
   }
 };
-} // End yaml namespace
-} // End llvm namespace
 
 // A cumulative representation of ELF stubs.
 // Both textual and binary stubs will read into and write from this object.
@@ -181,8 +177,6 @@ public:
         Symbols(std::move(Stub.Symbols)) {}
 };
 
-namespace llvm {
-namespace yaml {
 /// YAML traits for IFSStub objects.
 template <> struct llvm::yaml::MappingTraits<IFSStub> {
   static void mapping(IO &IO, IFSStub &Stub) {
@@ -196,8 +190,6 @@ template <> struct llvm::yaml::MappingTraits<IFSStub> {
     IO.mapRequired("Symbols", Stub.Symbols);
   }
 };
-} // End yaml namespace
-} // End llvm namespace
 
 static Expected<std::unique_ptr<IFSStub>> readInputFile(StringRef FilePath) {
   // Read in file.