MCPcopy Create free account
hub / github.com/KDE/kdevelop / setDeclType

Method setDeclType

plugins/clang/duchain/builder.cpp:860–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

858//BEGIN setDeclType
859 template<CXCursorKind CK>
860 void setDeclType(Declaration *decl, typename IdType<CK>::Type *type)
861 {
862 setDeclType<CK>(decl, static_cast<IdentifiedType*>(type));
863 setDeclType<CK>(decl, static_cast<AbstractType*>(type));
864 }
865
866 template<CXCursorKind CK>
867 void setDeclType(Declaration *decl, IdentifiedType *type)

Callers

nothing calls this directly

Calls 2

setDeclarationMethod · 0.45
setAbstractTypeMethod · 0.45

Tested by

no test coverage detected