diff --git a/src/tools/clangbackend/source/fulltokeninfo.cpp b/src/tools/clangbackend/source/fulltokeninfo.cpp index d539138ce99..283798d0be4 100644 --- a/src/tools/clangbackend/source/fulltokeninfo.cpp +++ b/src/tools/clangbackend/source/fulltokeninfo.cpp @@ -106,7 +106,6 @@ static Utf8String getPropertyType(const CXSourceLocation &cxLocation, CXTranslationUnit cxTranslationUnit, uint propertyPosition) { -#if defined(CINDEX_VERSION_HAS_GETFILECONTENTS_BACKPORTED) || CINDEX_VERSION_MINOR >= 47 // Extract property type from the source code CXFile cxFile; uint offset; @@ -123,12 +122,6 @@ static Utf8String getPropertyType(const CXSourceLocation &cxLocation, Utils::unequalTo(' ')); return Utf8String(typeStart, static_cast(&(*typeEnd) + 1 - typeStart)); -#else - Q_UNUSED(cxLocation) - Q_UNUSED(cxTranslationUnit) - Q_UNUSED(propertyPosition) - return Utf8String(); -#endif } void FullTokenInfo::updatePropertyData()