[C++11] Add 'override' keyword to virtual methods that override their base class.

llvm-svn: 203758
This commit is contained in:
Craig Topper
2014-03-13 06:07:04 +00:00
parent abb90c9ddb
commit afa7cb3aa5
28 changed files with 377 additions and 397 deletions

View File

@@ -46,17 +46,13 @@ public:
StringRef SysRoot)
: PP(_PP), OutputFile(OutputFile.str()), SysRoot(SysRoot.str()) { }
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 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok,
StringRef FileName, bool IsAngled,
CharSourceRange FilenameRange, const FileEntry *File,
StringRef SearchPath, StringRef RelativePath,
const Module *Imported) override;
virtual void EndOfMainFile() {
void EndOfMainFile() override {
OutputGraphFile();
}