cling/test/CodeUnloading
Javier Lopez-Gomez 9d09611d77 TransactionUnloader: ensure function instantiations are processed only once
Implicit instantiation of a function template calls
`DeclCollector::HandleCXXImplicitFunctionInstantiation()`, which appends the
FunctionDecl to the transaction.  According to clang documentation, the body of
the function has not yet been instantiated. `HandleTopLevelDecl()` will be
called again for this decl at the end of the TU, which will append it
again to the transaction - same `Decl *`, different ConsumerCallInfo.

This is by design. However, unloading of decls in the transaction should
not process the same `Decl *` twice. In particular, entries with ConsumerCallInfo
== `kCCIHandleCXXImplicitFunctionInstantiation` will omitted.

Fixes issue #9850.
2022-03-03 18:29:03 +01:00
..
2017-08-24 18:59:04 +02:00
2014-03-31 14:03:09 +02:00
2014-08-13 16:08:36 +02:00
2022-02-05 03:59:07 +01:00
2017-02-07 16:44:05 +01:00
2016-06-26 20:29:05 +02:00
2016-06-26 20:29:05 +02:00
2017-07-15 10:14:38 +02:00
2014-03-31 14:03:09 +02:00