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

Method createType

plugins/clang/duchain/builder.cpp:512–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510
511 template<CXTypeKind TK, EnableIf<CursorKindTraits::integralType(TK) != IntegralType::TypeNotIntegralType> = dummy>
512 AbstractType *createType(CXType, CXCursor)
513 {
514 // TODO: would be nice to instantiate a ConstantIntegralType here and set a value if possible
515 // but unfortunately libclang doesn't offer API to that
516 // also see https://marc.info/?l=cfe-commits&m=131609142917881&w=2
517 return new IntegralType(CursorKindTraits::integralType(TK));
518 }
519
520 template <CXTypeKind TK, EnableIf<CursorKindTraits::isOpenCLType(TK)> = dummy>
521 AbstractType* createType(CXType, CXCursor)

Callers

nothing calls this directly

Calls 15

integralTypeFunction · 0.85
findDeclarationFunction · 0.85
ClangStringClass · 0.85
delayedTypeNameFunction · 0.85
createDelayedTypeFunction · 0.85
setDimensionMethod · 0.80
setElementTypeMethod · 0.80
setDeclarationIdMethod · 0.80
DeclarationIdClass · 0.50
QualifiedIdentifierClass · 0.50

Tested by

no test coverage detected