Skip to content

Commit 5aefaee

Browse files
committed
Investigate - suppress asserts for kCCIHandleTopLevelDecl
1 parent fe9d69e commit 5aefaee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

interpreter/cling/lib/Interpreter/Transaction.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ namespace cling {
169169
// that callback.
170170
// For reference (clang::CodeGen::CodeGenModule::EmitVTable).
171171
if (oldDCI.m_Call != kCCIHandleVTable
172-
&& oldDCI.m_Call != kCCIHandleCXXImplicitFunctionInstantiation)
172+
&& oldDCI.m_Call != kCCIHandleCXXImplicitFunctionInstantiation
173+
&& oldDCI.m_Call != kCCIHandleTopLevelDecl)
173174
assert(oldDCI != DCI && "Duplicates?!");
174175
}
175176
// We want to assert there is only one wrapper per transaction.

0 commit comments

Comments
 (0)