Provide a valid SourceLoc - template instantiation needs it (ROOT-7364).

This commit is contained in:
Axel Naumann 2015-06-08 15:27:00 +02:00 committed by sftnight
parent dc2047e7c4
commit 331a71cd2d

View File

@ -251,7 +251,7 @@ namespace {
CallArgs.push_back(EVPOn);
ExprResult Call;
SourceLocation noLoc;
SourceLocation noLoc = locStart;
if (desugaredTy->isVoidType()) {
// In cases where the cling::Value gets reused we need to reset the
// previous settings to void.