forked from OSchip/llvm-project
[TextAPI] run clang-format on violating sections, NFC
This commit is contained in:
parent
1808194590
commit
3a223cd4f3
|
@ -290,7 +290,8 @@ public:
|
|||
/// that is being generated needs to match one of the allowable clients or the
|
||||
/// linker refuses to link this library.
|
||||
///
|
||||
/// \param InstallName The name of the client that is allowed to link this library.
|
||||
/// \param InstallName The name of the client that is allowed to link this
|
||||
/// library.
|
||||
/// \param Target The target triple for which this applies.
|
||||
void addAllowableClient(StringRef InstallName, const Target &Target);
|
||||
|
||||
|
|
|
@ -109,9 +109,7 @@ public:
|
|||
(Flags == O.Flags);
|
||||
}
|
||||
|
||||
bool operator!=(const Symbol &O) const {
|
||||
return !(*this == O);
|
||||
}
|
||||
bool operator!=(const Symbol &O) const { return !(*this == O); }
|
||||
|
||||
private:
|
||||
StringRef Name;
|
||||
|
|
|
@ -129,35 +129,35 @@ void InterfaceFile::addDocument(std::shared_ptr<InterfaceFile> &&Document) {
|
|||
}
|
||||
|
||||
bool InterfaceFile::operator==(const InterfaceFile &O) const {
|
||||
if (Targets != O.Targets)
|
||||
return false;
|
||||
if (InstallName != O.InstallName)
|
||||
return false;
|
||||
if ((CurrentVersion != O.CurrentVersion) ||
|
||||
(CompatibilityVersion != O.CompatibilityVersion))
|
||||
return false;
|
||||
if (SwiftABIVersion != O.SwiftABIVersion)
|
||||
return false;
|
||||
if (IsTwoLevelNamespace != O.IsTwoLevelNamespace)
|
||||
return false;
|
||||
if (IsAppExtensionSafe != O.IsAppExtensionSafe)
|
||||
return false;
|
||||
if (IsInstallAPI != O.IsInstallAPI)
|
||||
return false;
|
||||
if (ParentUmbrellas != O.ParentUmbrellas)
|
||||
return false;
|
||||
if (AllowableClients != O.AllowableClients)
|
||||
return false;
|
||||
if (ReexportedLibraries != O.ReexportedLibraries)
|
||||
return false;
|
||||
if (Symbols != O.Symbols)
|
||||
return false;
|
||||
if (!std::equal(Documents.begin(), Documents.end(), O.Documents.begin(),
|
||||
O.Documents.end(),
|
||||
[](const std::shared_ptr<InterfaceFile> LHS,
|
||||
const std::shared_ptr<InterfaceFile> RHS) {
|
||||
return *LHS == *RHS;
|
||||
}))
|
||||
return false;
|
||||
return true;
|
||||
if (Targets != O.Targets)
|
||||
return false;
|
||||
if (InstallName != O.InstallName)
|
||||
return false;
|
||||
if ((CurrentVersion != O.CurrentVersion) ||
|
||||
(CompatibilityVersion != O.CompatibilityVersion))
|
||||
return false;
|
||||
if (SwiftABIVersion != O.SwiftABIVersion)
|
||||
return false;
|
||||
if (IsTwoLevelNamespace != O.IsTwoLevelNamespace)
|
||||
return false;
|
||||
if (IsAppExtensionSafe != O.IsAppExtensionSafe)
|
||||
return false;
|
||||
if (IsInstallAPI != O.IsInstallAPI)
|
||||
return false;
|
||||
if (ParentUmbrellas != O.ParentUmbrellas)
|
||||
return false;
|
||||
if (AllowableClients != O.AllowableClients)
|
||||
return false;
|
||||
if (ReexportedLibraries != O.ReexportedLibraries)
|
||||
return false;
|
||||
if (Symbols != O.Symbols)
|
||||
return false;
|
||||
if (!std::equal(Documents.begin(), Documents.end(), O.Documents.begin(),
|
||||
O.Documents.end(),
|
||||
[](const std::shared_ptr<InterfaceFile> LHS,
|
||||
const std::shared_ptr<InterfaceFile> RHS) {
|
||||
return *LHS == *RHS;
|
||||
}))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -593,7 +593,7 @@ template <> struct MappingTraits<const InterfaceFile *> {
|
|||
// platforms, specifically to filter out the i386 slice from
|
||||
// platform macCatalyst.
|
||||
TargetList synthesizeTargets(ArchitectureSet Architectures,
|
||||
const PlatformSet &Platforms) {
|
||||
const PlatformSet &Platforms) {
|
||||
TargetList Targets;
|
||||
|
||||
for (auto Platform : Platforms) {
|
||||
|
|
Loading…
Reference in New Issue