| 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) |
nothing calls this directly
no test coverage detected