forked from OSchip/llvm-project
pretty print exprs in stmt contexts with a trailing semicolon.
llvm-svn: 39531
This commit is contained in:
parent
208ae96a8c
commit
fc068c15d9
|
@ -55,7 +55,7 @@ namespace {
|
|||
// If this is an expr used in a stmt context, indent and newline it.
|
||||
Indent();
|
||||
S->visit(*this);
|
||||
OS << "\n";
|
||||
OS << ";\n";
|
||||
} else if (S) {
|
||||
S->visit(*this);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue