summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-modernize/Core/IncludeDirectives.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-11-14 19:27:22 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-11-14 19:27:22 +0000
commit0ee6800a3128f7afadb9131562660bd5f55438ef (patch)
tree2dc88b12b8c50da2ed707a187af507649cdf31d7 /clang-tools-extra/clang-modernize/Core/IncludeDirectives.cpp
parentad8188e0b68badf152a0d7f7eb9a48899be57a6d (diff)
downloadbcm5719-llvm-0ee6800a3128f7afadb9131562660bd5f55438ef.tar.gz
bcm5719-llvm-0ee6800a3128f7afadb9131562660bd5f55438ef.zip
Remove some redundant virtual on overridden functions
llvm-svn: 222027
Diffstat (limited to 'clang-tools-extra/clang-modernize/Core/IncludeDirectives.cpp')
-rw-r--r--clang-tools-extra/clang-modernize/Core/IncludeDirectives.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-modernize/Core/IncludeDirectives.cpp b/clang-tools-extra/clang-modernize/Core/IncludeDirectives.cpp
index 2b25e2fd4b0..8ad1dc58f48 100644
--- a/clang-tools-extra/clang-modernize/Core/IncludeDirectives.cpp
+++ b/clang-tools-extra/clang-modernize/Core/IncludeDirectives.cpp
@@ -178,7 +178,7 @@ private:
}
}
- virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) override {
+ void Endif(SourceLocation Loc, SourceLocation IfLoc) override {
Guard->Count++;
// If it's the #endif corresponding to the top-most #ifndef
@@ -220,7 +220,7 @@ private:
const MacroDirective *) override {
Guard->Count++;
}
- virtual void Else(SourceLocation, SourceLocation) override {
+ void Else(SourceLocation, SourceLocation) override {
Guard->Count++;
}
OpenPOWER on IntegriCloud