mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ llvm/lib/ Thanks to Eugene Kosov for the original patch! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240137 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -217,7 +217,7 @@ private:
|
||||
unsigned IsThin : 1;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace object
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -46,6 +46,6 @@ std::pair<StringRef, std::error_code>
|
||||
writeArchive(StringRef ArcName, std::vector<NewArchiveIterator> &NewMembers,
|
||||
bool WriteSymtab);
|
||||
|
||||
}
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -178,7 +178,7 @@ template <typename T> const T* OwningBinary<T>::getBinary() const {
|
||||
}
|
||||
|
||||
ErrorOr<OwningBinary<Binary>> createBinary(StringRef Path);
|
||||
}
|
||||
}
|
||||
} // namespace object
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -37,7 +37,7 @@ inline DLLCharacteristics operator|(DLLCharacteristics a,
|
||||
uint16_t Ret = static_cast<uint16_t>(a) | static_cast<uint16_t>(b);
|
||||
return static_cast<DLLCharacteristics>(Ret);
|
||||
}
|
||||
}
|
||||
} // namespace COFF
|
||||
|
||||
// The structure of the yaml files is not an exact 1:1 match to COFF. In order
|
||||
// to use yaml::IO, we use these structures which are closer to the source.
|
||||
@@ -87,8 +87,8 @@ namespace COFFYAML {
|
||||
std::vector<Symbol> Symbols;
|
||||
Object();
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace COFFYAML
|
||||
} // namespace llvm
|
||||
|
||||
LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Section)
|
||||
LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Symbol)
|
||||
|
@@ -898,7 +898,7 @@ inline std::error_code GetELFSymbolVersion(const ObjectFile *Obj,
|
||||
return cast<ELFObjectFileBase>(Obj)
|
||||
->getSymbolVersion(Sym, Version, IsDefault);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace object
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -68,7 +68,7 @@ public:
|
||||
static ErrorOr<std::unique_ptr<IRObjectFile>> create(MemoryBufferRef Object,
|
||||
LLVMContext &Context);
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace object
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -503,8 +503,8 @@ inline const ObjectFile *DiceRef::getObjectFile() const {
|
||||
return OwningObject;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace object
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -112,7 +112,7 @@ public:
|
||||
getObjectForArch(Triple::ArchType Arch) const;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace object
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
@@ -446,6 +446,6 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace object
|
||||
} // namespace llvm
|
||||
#endif
|
||||
|
@@ -195,7 +195,7 @@ inline const SymbolicFile *BasicSymbolRef::getObject() const {
|
||||
return OwningObject;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
} // namespace object
|
||||
} // namespace llvm
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user