summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-06-11 20:47:18 +0000
committerChad Rosier <mcrosier@apple.com>2012-06-11 20:47:18 +0000
commit32503020a41687191e3b45418ebd338f4bc8ca78 (patch)
tree03c4773db02eaa6d906dbdf5b0bb380442d375e4 /clang/lib/AST/StmtPrinter.cpp
parentbddc916f2b58b56e4b7c1afc2be4e3438af0ffe6 (diff)
downloadbcm5719-llvm-32503020a41687191e3b45418ebd338f4bc8ca78.tar.gz
bcm5719-llvm-32503020a41687191e3b45418ebd338f4bc8ca78.zip
Etch out the code path for MS-style inline assembly.
llvm-svn: 158325
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r--clang/lib/AST/StmtPrinter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp
index 2bd4d769e79..30548aea60d 100644
--- a/clang/lib/AST/StmtPrinter.cpp
+++ b/clang/lib/AST/StmtPrinter.cpp
@@ -429,6 +429,11 @@ void StmtPrinter::VisitAsmStmt(AsmStmt *Node) {
OS << ");\n";
}
+void StmtPrinter::VisitMSAsmStmt(MSAsmStmt *Node) {
+ // FIXME: Implement MS style inline asm statement printer.
+ Indent() << "asm ()";
+}
+
void StmtPrinter::VisitObjCAtTryStmt(ObjCAtTryStmt *Node) {
Indent() << "@try";
if (CompoundStmt *TS = dyn_cast<CompoundStmt>(Node->getTryBody())) {
OpenPOWER on IntegriCloud