tools/clang/lib/SPIRV/SPIRVEmitter.cpp
bool isFloatOrVecOfFloatType(QualType type) {
  QualType elemType = {};
  return (TypeTranslator::isScalarType(type, &elemType) ||
          TypeTranslator::isVectorType(type, &elemType)) &&
         elemType->isFloatingType();
}
/// Returns true if the given type is a float or vector of float type.
Returns true if the given type is a float or vector of float type.
Returns true if the given type is a float or vector of float type .
bool isFloatOrVecOfFloatType(QualType type) {
  QualType elemType = {};
  return (TypeTranslator::isScalarType(type, &elemType) ||
          TypeTranslator::isVectorType(type, &elemType)) &&
         elemType->isFloatingType();
}
bool isFloatOrVecOfFloatType ( QualType type ) { QualType elemType = { } ; return ( TypeTranslator :: isScalarType ( type , & elemType ) || TypeTranslator :: isVectorType ( type , & elemType ) ) && elemType -> isFloatingType ( ) ; }
Returns true if the given type is a float or vector of float type.
Returns true if the given type is a float or vector of float type .