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 a21c77b commit 27fe651Copy full SHA for 27fe651
clang/lib/Basic/Sanitizers.cpp
@@ -53,7 +53,7 @@ bool clang::parseSanitizerWeightedValue(StringRef Value, bool AllowGroups,
53
double A;
54
if (W.getAsDouble(A))
55
return false;
56
- float C = std::clamp()(A, 0.0, 1.0);
+ float C = std::clamp(A, 0.0, 1.0);
57
// AllowGroups is already taken into account for ParsedKind,
58
// hence we unconditionally expandSanitizerGroups.
59
SanitizerMask ExpandedKind = expandSanitizerGroups(ParsedKind);
0 commit comments