summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-20 21:51:49 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-20 21:51:49 +0000
commitb0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90 (patch)
tree315911fee3121a73d645e2d97435362e5619a950 /include
parente38f640b22979994b42fb2f2aafc44cc39c20e8e (diff)
downloadllvm-b0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90.tar.gz
llvm-b0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90.tar.bz2
llvm-b0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90.tar.xz
make getLastModificationTime const. Move it with the other getters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/FileSystem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h
index 08727d7f79..b660a5b161 100644
--- a/include/llvm/Support/FileSystem.h
+++ b/include/llvm/Support/FileSystem.h
@@ -175,11 +175,11 @@ public:
// getters
file_type type() const { return Type; }
perms permissions() const { return Perms; }
-
+ TimeValue getLastModificationTime() const;
+
// setters
void type(file_type v) { Type = v; }
void permissions(perms p) { Perms = p; }
- TimeValue getLastModificationTime();
};
/// file_magic - An "enum class" enumeration of file types based on magic (the first