cling/lib
Javier Lopez-Gomez 56ec372a51 Extracted decls should be unconditionally moved to the parent DeclContext
Declarations extracted by DeclExtractor, regardless of their type, should be
moved to the parent declaration context (be it the `TranslationUnitDecl` or a
`NamespaceDecl` if DefinitionShadower is enabled).

This prevents the following situation:
```
root [] struct X {} foo
(struct X &) @0x7f545a5ff018
root [] .stats asttree
|-NamespaceDecl 0x5647ecc93780 <<invalid sloc>> <invalid sloc> __cling_N50 inline
| |-VarDecl 0x5647ecc89f10 <ROOT_prompt_0:1:1, col:13> col:13 used foo 'struct X':'X' callinit
| | `-CXXConstructExpr 0x5647ecc8a420 <col:13> 'struct X':'X' 'void () noexcept'
| `-FunctionDecl 0x5647ecc89bc8 <input_line_8:1:1, ROOT_prompt_0:3:1> input_line_8:1:6 __cling_Un1Qu30 'void (void *)'
...
|-CXXRecordDecl 0x5647ecc89c98 <line:1:1, col:11> col:8 struct X definition
```
2022-02-05 03:59:07 +01:00
..
Interpreter Extracted decls should be unconditionally moved to the parent DeclContext 2022-02-05 03:59:07 +01:00
MetaProcessor Add MetaProcessor::awaitingMoreInput() 2022-01-31 19:29:04 +01:00
UserInterface Do not segfault when root_hist has zero lines 2020-08-18 16:09:42 +02:00
Utils Prevent traling whitespace in -isystem. 2021-11-12 16:14:06 +01:00
CMakeLists.txt Fix for ROOT-7184 - CMake config issue when enabling cling tests 2015-03-13 18:31:50 +01:00