summaryrefslogtreecommitdiffstats
path: root/lib/Support/Windows/Path.inc
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-29 21:55:38 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-29 21:55:38 +0000
commite0913798bca5724d2852386d369d1aa830f97173 (patch)
tree375bf0b8c36f8f9b7a79118c096640edd73b8090 /lib/Support/Windows/Path.inc
parent1fde907244792571c1ad2a0ec631af9fcf803f5b (diff)
downloadexternal_llvm-e0913798bca5724d2852386d369d1aa830f97173.zip
external_llvm-e0913798bca5724d2852386d369d1aa830f97173.tar.gz
external_llvm-e0913798bca5724d2852386d369d1aa830f97173.tar.bz2
Make file_status::getUniqueID const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187383 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows/Path.inc')
-rw-r--r--lib/Support/Windows/Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc
index f3460e4..7cb95c4 100644
--- a/lib/Support/Windows/Path.inc
+++ b/lib/Support/Windows/Path.inc
@@ -269,7 +269,7 @@ std::string getMainExecutable(const char *argv0, void *MainExecAddr) {
return ret != MAX_PATH ? pathname : "";
}
-UniqueID file_status::getUniqueID() {
+UniqueID file_status::getUniqueID() const {
// The file is uniquely identified by the volume serial number along
// with the 64-bit file identifier.
uint64_t FileID = (static_cast<uint64_t>(FileIndexHigh) << 32ULL) |