aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/lib/TextAPI/MachO
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.ru>2022-02-10 16:44:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:30 +0300
commit2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch)
tree012bb94d777798f1f56ac1cec429509766d05181 /contrib/libs/llvm12/lib/TextAPI/MachO
parent6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff)
downloadydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/llvm12/lib/TextAPI/MachO')
-rw-r--r--contrib/libs/llvm12/lib/TextAPI/MachO/Platform.cpp6
-rw-r--r--contrib/libs/llvm12/lib/TextAPI/MachO/Target.cpp2
-rw-r--r--contrib/libs/llvm12/lib/TextAPI/MachO/TextStub.cpp28
-rw-r--r--contrib/libs/llvm12/lib/TextAPI/MachO/TextStubCommon.cpp6
-rw-r--r--contrib/libs/llvm12/lib/TextAPI/MachO/ya.make60
5 files changed, 51 insertions, 51 deletions
diff --git a/contrib/libs/llvm12/lib/TextAPI/MachO/Platform.cpp b/contrib/libs/llvm12/lib/TextAPI/MachO/Platform.cpp
index f454c1cb6b..0d65d2f0cf 100644
--- a/contrib/libs/llvm12/lib/TextAPI/MachO/Platform.cpp
+++ b/contrib/libs/llvm12/lib/TextAPI/MachO/Platform.cpp
@@ -49,7 +49,7 @@ PlatformKind mapToPlatformKind(const Triple &Target) {
case Triple::WatchOS:
return Target.isSimulatorEnvironment() ? PlatformKind::watchOSSimulator
: PlatformKind::watchOS;
- // TODO: add bridgeOS & driverKit once in llvm::Triple
+ // TODO: add bridgeOS & driverKit once in llvm::Triple
}
llvm_unreachable("Unknown Target Triple");
}
@@ -83,8 +83,8 @@ StringRef getPlatformName(PlatformKind Platform) {
return "tvOS Simulator";
case PlatformKind::watchOSSimulator:
return "watchOS Simulator";
- case PlatformKind::driverKit:
- return "DriverKit";
+ case PlatformKind::driverKit:
+ return "DriverKit";
}
llvm_unreachable("Unknown llvm.MachO.PlatformKind enum");
}
diff --git a/contrib/libs/llvm12/lib/TextAPI/MachO/Target.cpp b/contrib/libs/llvm12/lib/TextAPI/MachO/Target.cpp
index 6f8d9bb4e1..4edfdf0640 100644
--- a/contrib/libs/llvm12/lib/TextAPI/MachO/Target.cpp
+++ b/contrib/libs/llvm12/lib/TextAPI/MachO/Target.cpp
@@ -33,7 +33,7 @@ Expected<Target> Target::create(StringRef TargetValue) {
.Case("ios-simulator", PlatformKind::iOSSimulator)
.Case("tvos-simulator", PlatformKind::tvOSSimulator)
.Case("watchos-simulator", PlatformKind::watchOSSimulator)
- .Case("driverkit", PlatformKind::driverKit)
+ .Case("driverkit", PlatformKind::driverKit)
.Default(PlatformKind::unknown);
if (Platform == PlatformKind::unknown) {
diff --git a/contrib/libs/llvm12/lib/TextAPI/MachO/TextStub.cpp b/contrib/libs/llvm12/lib/TextAPI/MachO/TextStub.cpp
index 1d6352b2e1..24227bef24 100644
--- a/contrib/libs/llvm12/lib/TextAPI/MachO/TextStub.cpp
+++ b/contrib/libs/llvm12/lib/TextAPI/MachO/TextStub.cpp
@@ -407,9 +407,9 @@ template <> struct ScalarTraits<Target> {
case PlatformKind::watchOSSimulator:
OS << "watchos-simulator";
break;
- case PlatformKind::driverKit:
- OS << "driverkit";
- break;
+ case PlatformKind::driverKit:
+ OS << "driverkit";
+ break;
}
}
@@ -521,12 +521,12 @@ template <> struct MappingTraits<const InterfaceFile *> {
break;
}
}
- llvm::sort(Section.Symbols);
- llvm::sort(Section.Classes);
- llvm::sort(Section.ClassEHs);
- llvm::sort(Section.IVars);
- llvm::sort(Section.WeakDefSymbols);
- llvm::sort(Section.TLVSymbols);
+ llvm::sort(Section.Symbols);
+ llvm::sort(Section.Classes);
+ llvm::sort(Section.ClassEHs);
+ llvm::sort(Section.IVars);
+ llvm::sort(Section.WeakDefSymbols);
+ llvm::sort(Section.TLVSymbols);
Exports.emplace_back(std::move(Section));
}
@@ -578,11 +578,11 @@ template <> struct MappingTraits<const InterfaceFile *> {
break;
}
}
- llvm::sort(Section.Symbols);
- llvm::sort(Section.Classes);
- llvm::sort(Section.ClassEHs);
- llvm::sort(Section.IVars);
- llvm::sort(Section.WeakRefSymbols);
+ llvm::sort(Section.Symbols);
+ llvm::sort(Section.Classes);
+ llvm::sort(Section.ClassEHs);
+ llvm::sort(Section.IVars);
+ llvm::sort(Section.WeakRefSymbols);
Undefineds.emplace_back(std::move(Section));
}
}
diff --git a/contrib/libs/llvm12/lib/TextAPI/MachO/TextStubCommon.cpp b/contrib/libs/llvm12/lib/TextAPI/MachO/TextStubCommon.cpp
index 0d3614b0a2..d3dbafdfb2 100644
--- a/contrib/libs/llvm12/lib/TextAPI/MachO/TextStubCommon.cpp
+++ b/contrib/libs/llvm12/lib/TextAPI/MachO/TextStubCommon.cpp
@@ -84,9 +84,9 @@ void ScalarTraits<PlatformSet>::output(const PlatformSet &Values, void *IO,
case PlatformKind::macCatalyst:
OS << "iosmac";
break;
- case PlatformKind::driverKit:
- OS << "driverkit";
- break;
+ case PlatformKind::driverKit:
+ OS << "driverkit";
+ break;
}
}
diff --git a/contrib/libs/llvm12/lib/TextAPI/MachO/ya.make b/contrib/libs/llvm12/lib/TextAPI/MachO/ya.make
index 4631a5ed63..dc22b94e93 100644
--- a/contrib/libs/llvm12/lib/TextAPI/MachO/ya.make
+++ b/contrib/libs/llvm12/lib/TextAPI/MachO/ya.make
@@ -1,40 +1,40 @@
-# Generated by devtools/yamaker.
-
-LIBRARY()
-
+# Generated by devtools/yamaker.
+
+LIBRARY()
+
OWNER(
orivej
g:cpp-contrib
)
-
+
LICENSE(Apache-2.0 WITH LLVM-exception)
-
+
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-PEERDIR(
- contrib/libs/llvm12
- contrib/libs/llvm12/lib/BinaryFormat
- contrib/libs/llvm12/lib/Support
-)
-
+PEERDIR(
+ contrib/libs/llvm12
+ contrib/libs/llvm12/lib/BinaryFormat
+ contrib/libs/llvm12/lib/Support
+)
+
ADDINCL(
contrib/libs/llvm12/lib/TextAPI
)
-
-NO_COMPILER_WARNINGS()
-
-NO_UTIL()
-
-SRCS(
- Architecture.cpp
- ArchitectureSet.cpp
- InterfaceFile.cpp
- PackedVersion.cpp
- Platform.cpp
- Symbol.cpp
- Target.cpp
- TextStub.cpp
- TextStubCommon.cpp
-)
-
-END()
+
+NO_COMPILER_WARNINGS()
+
+NO_UTIL()
+
+SRCS(
+ Architecture.cpp
+ ArchitectureSet.cpp
+ InterfaceFile.cpp
+ PackedVersion.cpp
+ Platform.cpp
+ Symbol.cpp
+ Target.cpp
+ TextStub.cpp
+ TextStubCommon.cpp
+)
+
+END()