aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/Version.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/Version.h')
-rw-r--r--include/clang/Basic/Version.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/clang/Basic/Version.h b/include/clang/Basic/Version.h
index 120d5a4210..c44c0f0407 100644
--- a/include/clang/Basic/Version.h
+++ b/include/clang/Basic/Version.h
@@ -15,6 +15,8 @@
#ifndef LLVM_CLANG_BASIC_VERSION_H
#define LLVM_CLANG_BASIC_VERSION_H
+#include "llvm/ADT/StringRef.h"
+
/// \brief Clang major version
#define CLANG_VERSION_MAJOR 1
@@ -47,9 +49,10 @@
#endif
namespace clang {
- /// \brief Retrieves the Subversion path that identifies the particular
- /// Clang branch, tag, or trunk from which this Clang was built.
- const char *getClangSubversionPath();
+ /// \brief Retrieves the repository path (e.g., Subversion path) that
+ /// identifies the particular Clang branch, tag, or trunk from which this
+ /// Clang was built.
+ llvm::StringRef getClangRepositoryPath();
/// \brief Retrieves the Subversion revision number from which this Clang
/// was built.