diff options
Diffstat (limited to 'lib/Driver/ToolChains.h')
-rw-r--r-- | lib/Driver/ToolChains.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Driver/ToolChains.h b/lib/Driver/ToolChains.h index 0ae0e53496..57b14cc8dd 100644 --- a/lib/Driver/ToolChains.h +++ b/lib/Driver/ToolChains.h @@ -396,13 +396,13 @@ class LLVM_LIBRARY_VISIBILITY Linux : public Generic_ELF { bool isValid() const { return IsValid; } /// \brief Get the GCC triple for the detected install. - const std::string &getTriple() const { return GccTriple; } + StringRef getTriple() const { return GccTriple; } /// \brief Get the detected GCC installation path. - const std::string &getInstallPath() const { return GccInstallPath; } + StringRef getInstallPath() const { return GccInstallPath; } /// \brief Get the detected GCC parent lib path. - const std::string &getParentLibPath() const { return GccParentLibPath; } + StringRef getParentLibPath() const { return GccParentLibPath; } private: static void CollectLibDirsAndTriples(llvm::Triple::ArchType HostArch, |