Definition at line 82 of file TClingUtils.cxx.
Public Member Functions | |
TNormalizedCtxtImpl (const cling::LookupHelper &lh) | |
Initialize the list of typedef to keep (i.e. | |
void | AddTemplAndNargsToKeep (const clang::ClassTemplateDecl *templ, unsigned int i) |
Add to the internal map the pointer of a template as key and the number of template arguments to keep as value. | |
const Config_t & | GetConfig () const |
int | GetNargsToKeep (const clang::ClassTemplateDecl *templ) const |
Get from the map the number of arguments to keep. | |
const TemplPtrIntMap_t | GetTemplNargsToKeepMap () const |
const TypesCont_t & | GetTypeWithAlternative () const |
void | keepTypedef (const cling::LookupHelper &lh, const char *name, bool replace=false) |
Insert the type with name into the collection of typedefs to keep. | |
Private Types | |
using | Config_t = TNormalizedCtxt::Config_t |
using | DeclsCont_t = TNormalizedCtxt::Config_t::SkipCollection |
using | TemplPtrIntMap_t = TNormalizedCtxt::TemplPtrIntMap_t |
using | TypesCont_t = TNormalizedCtxt::TypesCont_t |
Private Attributes | |
Config_t | fConfig |
TypesCont_t | fTypeWithAlternative |
Static Private Attributes | |
static TemplPtrIntMap_t | fTemplatePtrArgsToKeepMap =TNCtxtFullQual::TemplPtrIntMap_t{} |
Definition at line 84 of file TClingUtils.cxx.
|
private |
Definition at line 83 of file TClingUtils.cxx.
|
private |
Definition at line 86 of file TClingUtils.cxx.
Definition at line 85 of file TClingUtils.cxx.
ROOT::TMetaUtils::TNormalizedCtxtImpl::TNormalizedCtxtImpl | ( | const cling::LookupHelper & | lh | ) |
Initialize the list of typedef to keep (i.e.
make them opaque for normalization) and the list of typedef whose semantic is different from their underlying type (Double32_t and Float16_t). This might be specific to an interpreter.
Definition at line 684 of file TClingUtils.cxx.
void ROOT::TMetaUtils::TNormalizedCtxtImpl::AddTemplAndNargsToKeep | ( | const clang::ClassTemplateDecl * | templ, |
unsigned int | i ) |
Add to the internal map the pointer of a template as key and the number of template arguments to keep as value.
Definition at line 246 of file TClingUtils.cxx.
Definition at line 94 of file TClingUtils.cxx.
int ROOT::TMetaUtils::TNormalizedCtxtImpl::GetNargsToKeep | ( | const clang::ClassTemplateDecl * | templ | ) | const |
Get from the map the number of arguments to keep.
It uses the canonical decl of the template as key. If not present, returns -1.
Definition at line 275 of file TClingUtils.cxx.
|
inline |
Definition at line 98 of file TClingUtils.cxx.
|
inline |
Definition at line 95 of file TClingUtils.cxx.
void ROOT::TMetaUtils::TNormalizedCtxtImpl::keepTypedef | ( | const cling::LookupHelper & | lh, |
const char * | name, | ||
bool | replace = false ) |
Insert the type with name into the collection of typedefs to keep.
if replace, replace occurrences of the canonical type by name.
Definition at line 660 of file TClingUtils.cxx.
|
private |
Definition at line 88 of file TClingUtils.cxx.
|
staticprivate |
Definition at line 90 of file TClingUtils.cxx.
|
private |
Definition at line 89 of file TClingUtils.cxx.