r203764 - De-virtualize a method. It's called through template magic and doesn't override anything.
Craig Topper
craig.topper at gmail.com
Thu Mar 13 00:14:48 PDT 2014
Author: ctopper
Date: Thu Mar 13 02:14:47 2014
New Revision: 203764
URL: http://llvm.org/viewvc/llvm-project?rev=203764&view=rev
Log:
De-virtualize a method. It's called through template magic and doesn't override anything.
Modified:
cfe/trunk/lib/Frontend/ASTConsumers.cpp
Modified: cfe/trunk/lib/Frontend/ASTConsumers.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/ASTConsumers.cpp?rev=203764&r1=203763&r2=203764&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/ASTConsumers.cpp (original)
+++ cfe/trunk/lib/Frontend/ASTConsumers.cpp Thu Mar 13 02:14:47 2014
@@ -107,7 +107,7 @@ namespace {
bool shouldWalkTypesOfTypeLocs() const { return false; }
- virtual bool VisitNamedDecl(NamedDecl *D) {
+ bool VisitNamedDecl(NamedDecl *D) {
D->printQualifiedName(Out);
Out << '\n';
return true;
More information about the cfe-commits
mailing list