Report correct name in assert.

This commit is contained in:
Axel Naumann 2013-05-08 14:14:47 +02:00 committed by sftnight
parent cedb54e76d
commit 37238aa7ef

View File

@ -199,7 +199,7 @@ namespace cling {
R.setLookupName(Name);
m_Sema->LookupQualifiedName(R, NSD);
assert(!R.empty() && "Cannot find PrintValue(...)");
assert(!R.empty() && "Cannot find InterpreterGeneratedCodeDiagnosticsMaybeIncorrect");
NamedDecl* ND = R.getFoundDecl();
m_NoRange = ND->getSourceRange();