summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitd123099abc47bc345b69519a2f2b1abef3622df1 (patch)
treed79a9708205d0888ff9d3d23d061717159b4d2e8 /llvm/lib/Support/Windows/Path.inc
parent7ac447fdfc42da16951915b59e9c57f2a25daa8a (diff)
downloadbcm5719-llvm-d123099abc47bc345b69519a2f2b1abef3622df1.tar.gz
bcm5719-llvm-d123099abc47bc345b69519a2f2b1abef3622df1.zip
Make file_status::getUniqueID const.
llvm-svn: 187383
Diffstat (limited to 'llvm/lib/Support/Windows/Path.inc')
-rw-r--r--llvm/lib/Support/Windows/Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc
index f3460e4c197..7cb95c4e36b 100644
--- a/llvm/lib/Support/Windows/Path.inc
+++ b/llvm/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) |
OpenPOWER on IntegriCloud