Remove GetDLLSuffix.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 11 Jun 2013 19:18:05 +0000 (19:18 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 11 Jun 2013 19:18:05 +0000 (19:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183777 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/PathV1.h
lib/Support/Path.cpp

index 15f0441d1dc3bd7fa2f0f69607771ceb61c7b38a..e5a3c76458b8f903e6b9c4ca49770ad9d799c1c2 100644 (file)
@@ -113,14 +113,6 @@ namespace sys {
       /// @brief Return the executable file suffix.
       static StringRef GetEXESuffix();
 
-      /// Return the suffix commonly used on file names that contain a shared
-      /// object, shared archive, or dynamic link library. Such files are
-      /// linked at runtime into a process and their code images are shared
-      /// between processes.
-      /// @returns The dynamic link library suffix for the current platform.
-      /// @brief Return the dynamic link library suffix.
-      static StringRef GetDLLSuffix();
-
       /// GetMainExecutable - Return the path to the main executable, given the
       /// value of argv[0] from program startup and the address of main itself.
       /// In extremis, this function may fail and return an empty path.
index 09d2eadd51ad1d92e5016fb17324a33456df177b..2e8223b6a17c8c9f558339602094f0fe7ff8b8ff 100644 (file)
@@ -68,10 +68,6 @@ Path::isObjectFile() const {
   return true;
 }
 
-StringRef Path::GetDLLSuffix() {
-  return &(LTDL_SHLIB_EXT[1]);
-}
-
 void
 Path::appendSuffix(StringRef suffix) {
   if (!suffix.empty()) {