diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-03-11 06:50:42 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-03-11 06:50:42 +0000 |
commit | 260dbc31432fd56e5f025c4a8bb363377ee1808a (patch) | |
tree | 37023ba3d6bf9fc3fdca8b3d64b7b777bd26915b /lib/Lex/PTHLexer.cpp | |
parent | bc04c446c18790c83953ec792cfdfbafe93a9e58 (diff) |
[C++11] Add 'override' keyword to virtual methods that override their base class.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PTHLexer.cpp')
-rw-r--r-- | lib/Lex/PTHLexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/PTHLexer.cpp b/lib/Lex/PTHLexer.cpp index 7257b18098..8c0865a539 100644 --- a/lib/Lex/PTHLexer.cpp +++ b/lib/Lex/PTHLexer.cpp @@ -675,7 +675,7 @@ public: ~PTHStatCache() {} LookupResult getStat(const char *Path, FileData &Data, bool isFile, - vfs::File **F, vfs::FileSystem &FS) { + vfs::File **F, vfs::FileSystem &FS) override { // Do the lookup for the file's data in the PTH file. CacheTy::iterator I = Cache.find(Path); |