aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/Target.cpp
diff options
context:
space:
mode:
authorCyndy Ishida <cyndy_ishida@apple.com>2021-06-09 13:46:12 -0700
committerCyndy Ishida <cyndy_ishida@apple.com>2021-06-09 13:48:09 -0700
commite7b755ecb1402e83a9af310f4411c0d9047e98be (patch)
tree9ce0f40f7111c0cc4b45615becc44c082a0d3778 /llvm/lib/TextAPI/Target.cpp
parent1899cb7d0eae74cc700d44e1f220a7ce41395ce0 (diff)
downloadllvm-e7b755ecb1402e83a9af310f4411c0d9047e98be.zip
llvm-e7b755ecb1402e83a9af310f4411c0d9047e98be.tar.gz
llvm-e7b755ecb1402e83a9af310f4411c0d9047e98be.tar.bz2
Revert "Reland "[llvm] llvm-tapi-diff""
This reverts commit 20126c9fd4afe2fe11510becccaa769332da302f. The sorting fixes failed to have stable output on different platforms.
Diffstat (limited to 'llvm/lib/TextAPI/Target.cpp')
-rw-r--r--llvm/lib/TextAPI/Target.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/TextAPI/Target.cpp b/llvm/lib/TextAPI/Target.cpp
index 35fe1bf..4c33a58 100644
--- a/llvm/lib/TextAPI/Target.cpp
+++ b/llvm/lib/TextAPI/Target.cpp
@@ -72,11 +72,5 @@ ArchitectureSet mapToArchitectureSet(ArrayRef<Target> Targets) {
return Result;
}
-std::string getTargetTripleName(const Target &Targ) {
- return (getArchitectureName(Targ.Arch) + "-apple-" +
- getOSAndEnvironmentName(Targ.Platform))
- .str();
-}
-
} // end namespace MachO.
} // end namespace llvm.