summaryrefslogtreecommitdiffstats
path: root/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-15 04:29:04 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-15 04:29:04 +0000
commitfb6b25b5e4cf09cf971f83d20a6b6eea9f04842c (patch)
tree122cd4b3e2604249f5e838a6e41abe2a032bea64 /clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
parente3bfdc4e14bedf433b838963d6936dcc2fceb511 (diff)
downloadbcm5719-llvm-fb6b25b5e4cf09cf971f83d20a6b6eea9f04842c.tar.gz
bcm5719-llvm-fb6b25b5e4cf09cf971f83d20a6b6eea9f04842c.zip
[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 203999
Diffstat (limited to 'clang/lib/Rewrite/Frontend/InclusionRewriter.cpp')
-rw-r--r--clang/lib/Rewrite/Frontend/InclusionRewriter.cpp25
1 files changed, 10 insertions, 15 deletions
diff --git a/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp b/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
index f304c941648..058960d3e43 100644
--- a/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
+++ b/clang/lib/Rewrite/Frontend/InclusionRewriter.cpp
@@ -55,21 +55,16 @@ public:
PredefinesBuffer = Buf;
}
private:
- virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
- SrcMgr::CharacteristicKind FileType,
- FileID PrevFID);
- virtual void FileSkipped(const FileEntry &ParentFile,
- const Token &FilenameTok,
- SrcMgr::CharacteristicKind FileType);
- virtual void InclusionDirective(SourceLocation HashLoc,
- const Token &IncludeTok,
- StringRef FileName,
- bool IsAngled,
- CharSourceRange FilenameRange,
- const FileEntry *File,
- StringRef SearchPath,
- StringRef RelativePath,
- const Module *Imported);
+ void FileChanged(SourceLocation Loc, FileChangeReason Reason,
+ SrcMgr::CharacteristicKind FileType,
+ FileID PrevFID) override;
+ void FileSkipped(const FileEntry &ParentFile, const Token &FilenameTok,
+ SrcMgr::CharacteristicKind FileType) override;
+ void InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok,
+ StringRef FileName, bool IsAngled,
+ CharSourceRange FilenameRange, const FileEntry *File,
+ StringRef SearchPath, StringRef RelativePath,
+ const Module *Imported) override;
void WriteLineInfo(const char *Filename, int Line,
SrcMgr::CharacteristicKind FileType,
StringRef EOL, StringRef Extra = StringRef());
OpenPOWER on IntegriCloud