Need to also suppress assert for multiple kCCIHandleCXXImplicitFunctionInstantiation.
This commit is contained in:
parent
97b507f1fe
commit
c6b91546cb
@ -146,7 +146,8 @@ namespace cling {
|
||||
// declaration, because each time Sema believes a vtable is used it emits
|
||||
// that callback.
|
||||
// For reference (clang::CodeGen::CodeGenModule::EmitVTable).
|
||||
if (oldDCI.m_Call != kCCIHandleVTable)
|
||||
if (oldDCI.m_Call != kCCIHandleVTable
|
||||
&& oldDCI.m_Call != kCCIHandleCXXImplicitFunctionInstantiation)
|
||||
assert(oldDCI != DCI && "Duplicates?!");
|
||||
}
|
||||
// We want to assert there is only one wrapper per transaction.
|
||||
|
Loading…
x
Reference in New Issue
Block a user