summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Stmt.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-28 20:33:49 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-28 20:33:49 +0000
commit0bca469d112381e0c17a9f88aeb54e7c6d663151 (patch)
tree7ce22861f13e8c044edb9d2cda95867b43573905 /clang/lib/AST/Stmt.cpp
parent3dd7bf2c86921460ce2153361d55ca0d38392f33 (diff)
downloadbcm5719-llvm-0bca469d112381e0c17a9f88aeb54e7c6d663151.tar.gz
bcm5719-llvm-0bca469d112381e0c17a9f88aeb54e7c6d663151.zip
[ms-inline asm] Have generateAsmString() return the AsmString computed by Sema.
We still need to translate the string, but this at least gets us one step closer to using the more general EmitAsmStmt() codegen function. No functional change intended. llvm-svn: 162785
Diffstat (limited to 'clang/lib/AST/Stmt.cpp')
-rw-r--r--clang/lib/AST/Stmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Stmt.cpp b/clang/lib/AST/Stmt.cpp
index ac432e85a7c..ddd47bf5abc 100644
--- a/clang/lib/AST/Stmt.cpp
+++ b/clang/lib/AST/Stmt.cpp
@@ -623,7 +623,7 @@ std::string GCCAsmStmt::generateAsmString(ASTContext &C) const {
/// Assemble final IR asm string (MS-style).
std::string MSAsmStmt::generateAsmString(ASTContext &C) const {
// FIXME: This needs to be translated into the IR string representation.
- return std::string();
+ return AsmStr;
}
Expr *MSAsmStmt::getOutputExpr(unsigned i) {
OpenPOWER on IntegriCloud