InstantiationDependent is dependent, too; fix logic. (ROOT-6650)
This commit is contained in:
parent
3d4398f54a
commit
46aca4b23e
@ -879,7 +879,8 @@ namespace cling {
|
||||
}
|
||||
|
||||
bool EvaluateTSynthesizer::IsArtificiallyDependent(Expr* Node) {
|
||||
if (!Node->isValueDependent() || !Node->isTypeDependent())
|
||||
if (!Node->isValueDependent() && !Node->isTypeDependent()
|
||||
&& !Node->isInstantiationDependent())
|
||||
return false;
|
||||
DeclContext* DC = m_CurDeclContext;
|
||||
while (DC) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user