r314424 - Fix -Wcast-qual warning after r314336.
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 28 08:44:46 PDT 2017
Author: nico
Date: Thu Sep 28 08:44:46 2017
New Revision: 314424
URL: http://llvm.org/viewvc/llvm-project?rev=314424&view=rev
Log:
Fix -Wcast-qual warning after r314336.
Modified:
cfe/trunk/lib/AST/ExternalASTMerger.cpp
Modified: cfe/trunk/lib/AST/ExternalASTMerger.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExternalASTMerger.cpp?rev=314424&r1=314423&r2=314424&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ExternalASTMerger.cpp (original)
+++ cfe/trunk/lib/AST/ExternalASTMerger.cpp Thu Sep 28 08:44:46 2017
@@ -212,7 +212,7 @@ void ExternalASTMerger::ForEachMatchingD
}
if (!DidCallback && LoggingEnabled())
logs() << "(ExternalASTMerger*)" << (void*)this
- << " asserting for (DeclContext*)" << (void*)DC
+ << " asserting for (DeclContext*)" << (const void*)DC
<< ", (ASTContext*)" << (void*)&Target.AST
<< "\n";
assert(DidCallback && "Couldn't find a source context matching our DC");
More information about the cfe-commits
mailing list