We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c115ad commit c7c28c9Copy full SHA for c7c28c9
clang-tools-extra/clang-tidy/portability/AvoidPlatformSpecificFundamentalTypesCheck.cpp
@@ -108,6 +108,10 @@ static std::optional<std::string> getFloatReplacement(const BuiltinType *BT,
108
return GetReplacementType(Target.getFloatWidth());
109
case BuiltinType::Double:
110
return GetReplacementType(Target.getDoubleWidth());
111
+ case BuiltinType::LongDouble:
112
+ return GetReplacementType(Target.getLongDoubleWidth());
113
+ case BuiltinType::Float128:
114
+ return "float128_t";
115
default:
116
return std::nullopt;
117
}
0 commit comments