[cfe-commits] r39122 - /cfe/cfe/trunk/AST/StmtPrinter.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:27:45 PDT 2007
Author: sabre
Date: Wed Jul 11 11:27:45 2007
New Revision: 39122
URL: http://llvm.org/viewvc/llvm-project?rev=39122&view=rev
Log:
print indirect goto correctly
Modified:
cfe/cfe/trunk/AST/StmtPrinter.cpp
Modified: cfe/cfe/trunk/AST/StmtPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/AST/StmtPrinter.cpp?rev=39122&r1=39121&r2=39122&view=diff
==============================================================================
--- cfe/cfe/trunk/AST/StmtPrinter.cpp (original)
+++ cfe/cfe/trunk/AST/StmtPrinter.cpp Wed Jul 11 11:27:45 2007
@@ -179,7 +179,7 @@
}
void StmtPrinter::VisitIndirectGotoStmt(IndirectGotoStmt *Node) {
- Indent() << "goto ";
+ Indent() << "goto *";
PrintExpr(Node->getTarget());
OS << "\n";
}
More information about the cfe-commits
mailing list