Skip to content

Commit 48d8ed0

Browse files
authored
Merge pull request #23484 from vinivendra/master
2 parents 1dca677 + 7c959db commit 48d8ed0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/AST/ASTDumper.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,6 +1829,8 @@ class PrintExpr : public ExprVisitor<PrintExpr> {
18291829
}
18301830
void visitFloatLiteralExpr(FloatLiteralExpr *E) {
18311831
printCommon(E, "float_literal_expr");
1832+
if (E->isNegative())
1833+
PrintWithColorRAII(OS, LiteralValueColor) << " negative";
18321834
PrintWithColorRAII(OS, LiteralValueColor)
18331835
<< " value=" << E->getDigitsText();
18341836
PrintWithColorRAII(OS, LiteralValueColor) << " builtin_initializer=";

0 commit comments

Comments
 (0)