mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 14:36:08 +00:00
print indirect goto correctly
llvm-svn: 39122
This commit is contained in:
parent
16976d3e83
commit
36ad123dea
@ -179,7 +179,7 @@ void StmtPrinter::VisitGotoStmt(GotoStmt *Node) {
|
||||
}
|
||||
|
||||
void StmtPrinter::VisitIndirectGotoStmt(IndirectGotoStmt *Node) {
|
||||
Indent() << "goto ";
|
||||
Indent() << "goto *";
|
||||
PrintExpr(Node->getTarget());
|
||||
OS << "\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user