kdevplatform/language/duchain
typeutils.h
Go to the documentation of this file.
43 KDEVPLATFORMLANGUAGE_EXPORT KDevelop::AbstractType::Ptr targetType(const KDevelop::AbstractType::Ptr& type,
50 KDEVPLATFORMLANGUAGE_EXPORT KDevelop::AbstractType::Ptr targetTypeKeepAliases(const KDevelop::AbstractType::Ptr& type,
57 KDEVPLATFORMLANGUAGE_EXPORT KDevelop::AbstractType::Ptr unAliasedType(const KDevelop::AbstractType::Ptr& type);
89 KDevelop::AbstractType::Ptr mergeTypes(KDevelop::AbstractType::Ptr type, const KDevelop::AbstractType::Ptr& newType)
114 KDevelop::UnsureType::Ptr createdUnsureType(static_cast<KDevelop::UnsureType*>(newUnsure->clone()));
AbstractType::Ptr targetTypeKeepAliases(const AbstractType::Ptr &_base, const TopDUContext *, bool *)
Same as targetType(..), ecept that it does not un-aliases TypeAliasTypes Modifiers of aliases ore ref...
Definition: typeutils.cpp:82
static TypePtr< AbstractType > staticCast(const TypePtr< U > &o)
Convert TypePtr to TypePtr<T>, using a static_cast.
Definition: typepointer.h:72
AbstractType::Ptr targetType(const AbstractType::Ptr &_base, const TopDUContext *, bool *)
Returns the completely dereferenced and un-aliased type, pointers are also dereferenced(example: Refe...
Definition: typeutils.cpp:53
KDevelop::AbstractType::Ptr mergeTypes(KDevelop::AbstractType::Ptr type, const KDevelop::AbstractType::Ptr &newType)
Merge the second type into the first one.
Definition: typeutils.h:89
The top context in a definition-use chain for one source file.
Definition: topducontext.h:113
bool isUsefulType(AbstractType::Ptr type)
Check whether the passed type is a null or mixed type.
Definition: typeutils.cpp:114
TypePtr< KDevelop::AbstractType > unAliasedType(const TypePtr< KDevelop::AbstractType > &_type)
Definition: typeutils.cpp:30
AbstractType::Ptr resolveAliasType(const AbstractType::Ptr &eventualAlias)
If eventualAlias is an AliasType, return its aliasedType(), otherwise return eventualAlias.
Definition: typeutils.cpp:106
Definition: typeutils.cpp:27
Definition: abstractfunctiondeclaration.cpp:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 9 2021 23:29:59 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 9 2021 23:29:59 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.