Skip to content

Commit 68030f8

Browse files
committed
[clang][bytecode][NFC] Fix printing signed IntegralAP values
1 parent c81d666 commit 68030f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/ByteCode/IntegralAP.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ template <bool Signed> class IntegralAP final {
153153

154154
unsigned countLeadingZeros() const { return V.countl_zero(); }
155155

156-
void print(llvm::raw_ostream &OS) const { OS << V; }
156+
void print(llvm::raw_ostream &OS) const { V.print(OS, Signed);}
157157
std::string toDiagnosticString(const ASTContext &Ctx) const {
158158
std::string NameStr;
159159
llvm::raw_string_ostream OS(NameStr);

0 commit comments

Comments
 (0)