Skip to content

Commit 93f6307

Browse files
committed
Comment arguments for APSInt constructor
1 parent 925247b commit 93f6307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ std::optional<int> tryExpandAsInteger(StringRef Macro, const Preprocessor &PP) {
142142
if (InvalidSpelling)
143143
return std::nullopt;
144144

145-
llvm::APSInt IntValue(0, true);
145+
llvm::APSInt IntValue(/*BitWidth=*/0, /*isUnsigned=*/true);
146146
constexpr unsigned AutoSenseRadix = 0;
147147
if (ValueStr.getAsInteger(AutoSenseRadix,
148148
static_cast<llvm::APInt &>(IntValue)))

0 commit comments

Comments
 (0)