summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/DependencyGraph.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-13 06:07:04 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-13 06:07:04 +0000
commitafa7cb3aa58fa52f0ceb5f687e7f1523838a353a (patch)
tree2dacd6da1fe4cfe6d0f245f00752e5c80d7d0933 /clang/lib/Frontend/DependencyGraph.cpp
parentabb90c9ddb5b3752564a1389685bde93d09b92db (diff)
downloadbcm5719-llvm-afa7cb3aa58fa52f0ceb5f687e7f1523838a353a.tar.gz
bcm5719-llvm-afa7cb3aa58fa52f0ceb5f687e7f1523838a353a.zip
[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 203758
Diffstat (limited to 'clang/lib/Frontend/DependencyGraph.cpp')
-rw-r--r--clang/lib/Frontend/DependencyGraph.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/clang/lib/Frontend/DependencyGraph.cpp b/clang/lib/Frontend/DependencyGraph.cpp
index 6f12e630561..4bff3dba9e4 100644
--- a/clang/lib/Frontend/DependencyGraph.cpp
+++ b/clang/lib/Frontend/DependencyGraph.cpp
@@ -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();
}
OpenPOWER on IntegriCloud