Add forgotten to commit protection and check clause.
This should have landed in 7554be9571.
This commit is contained in:
parent
01dbb6d9d5
commit
7b70052776
@ -413,11 +413,15 @@ namespace {
|
||||
m_gClingVD = cast<VarDecl>(utils::Lookup::Named(m_Sema, "gCling", NSD));
|
||||
NSD = utils::Lookup::Namespace(m_Sema, "internal", NSD);
|
||||
|
||||
// FIXME: We should special case the child interpreter. Having to do that
|
||||
// looks like a design flaw.
|
||||
if (!m_isChildInterpreter) {
|
||||
m_Sema->LookupQualifiedName(R, m_Sema->getStdNamespace());
|
||||
assert(!R.empty() && "Cannot find std::addressof");
|
||||
m_UnresolvedStdAddressOf
|
||||
= m_Sema->BuildDeclarationNameExpr(CSS, R, /*ADL*/ false).get();
|
||||
}
|
||||
}
|
||||
|
||||
R.clear();
|
||||
R.setLookupName(&m_Context->Idents.get("setValueNoAlloc"));
|
||||
|
@ -115,3 +115,4 @@ struct OverloadedAddrOf {
|
||||
}
|
||||
};
|
||||
OverloadedAddrOf overloadedAddrOf
|
||||
// CHECK: (OverloadedAddrOf &) @0x{{[0-9a-f]+}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user