Lines Matching defs:ParamType
180 static bool isRValueRef(QualType ParamType) {
181 return ParamType->isRValueReferenceType();
188 static bool isPointerOrRef(QualType ParamType) {
189 return ParamType->isPointerType() || ParamType->isReferenceType();
621 QualType ParamType = Param->getType();
644 if (isRValueRef(ParamType))
648 else if (isPointerOrRef(ParamType) &&
649 (!ParamType->getPointeeType().isConstQualified() ||
650 isSetOnReadPtrType(ParamType)))
868 QualType ParamType = Param->getType();
873 else if (isConsumableType(ParamType))
874 ParamState = mapConsumableAttrState(ParamType);
875 else if (isRValueRef(ParamType) &&
876 isConsumableType(ParamType->getPointeeType()))
877 ParamState = mapConsumableAttrState(ParamType->getPointeeType());
878 else if (ParamType->isReferenceType() &&
879 isConsumableType(ParamType->getPointeeType()))