kdevplatform/language/duchain
typeutils.cpp
Go to the documentation of this file.
53 AbstractType::Ptr targetType(const AbstractType::Ptr& _base, const TopDUContext* /*topContext*/, bool* /*constant*/)
82 AbstractType::Ptr targetTypeKeepAliases(const AbstractType::Ptr& _base, const TopDUContext* /*topContext*/,
Definition: typealiastype.h:32
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
KDevelop::AbstractType::Ptr type() const
Definition: typealiastype.cpp:52
QExplicitlySharedDataPointer wrapper with convenience functions attached.
Definition: typepointer.h:39
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
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
TypePtr< U > cast(U *=nullptr) const
Uses dynamic_cast to cast this pointer to the given type.
Definition: typepointer.h:56
Definition: abstractfunctiondeclaration.cpp:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Apr 13 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 Tue Apr 13 2021 23:29:59 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.