summaryrefslogtreecommitdiff
path: root/include/llvm/Support/PathV1.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-27 03:21:41 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-27 03:21:41 +0000
commit9170a0f02d1ed521dd6583661e17581f9b7102ec (patch)
tree68a7546bde0b07c5ea87488b6855bb3f4649fc6a /include/llvm/Support/PathV1.h
parentc3a561cb8ed6f04e3cf7b1ff38c9f51a695d196d (diff)
downloadllvm-9170a0f02d1ed521dd6583661e17581f9b7102ec.tar.gz
llvm-9170a0f02d1ed521dd6583661e17581f9b7102ec.tar.bz2
llvm-9170a0f02d1ed521dd6583661e17581f9b7102ec.tar.xz
Support/PathV1: Deprecate GetRootDirectory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122580 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PathV1.h')
-rw-r--r--include/llvm/Support/PathV1.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h
index a22c40f51b..fdf9084b5b 100644
--- a/include/llvm/Support/PathV1.h
+++ b/include/llvm/Support/PathV1.h
@@ -98,7 +98,8 @@ namespace sys {
/// it is file:///. Other operating systems may have different notions of
/// what the root directory is or none at all. In that case, a consistent
/// default root directory will be used.
- static Path GetRootDirectory();
+ LLVM_ATTRIBUTE_DEPRECATED(static Path GetRootDirectory(),
+ LLVMV_PATH_DEPRECATED_MSG(NOTHING));
/// Construct a path to a unique temporary directory that is created in
/// a "standard" place for the operating system. The directory is