diff options
author | Chris Lattner <sabre@nondot.org> | 2008-07-26 21:30:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-07-26 21:30:36 +0000 |
commit | 6731544be7f7f39d6fda89193e0fa510da92cc09 (patch) | |
tree | 7fee59c76a439011127f83420664708d209f9d5e /clang/lib/Sema/SemaStmt.cpp | |
parent | ac87ef5dcc56146d2774197e89ddef6ca2bf98b9 (diff) | |
download | bcm5719-llvm-6731544be7f7f39d6fda89193e0fa510da92cc09.tar.gz bcm5719-llvm-6731544be7f7f39d6fda89193e0fa510da92cc09.zip |
convert more code to use ASTContext to get canonical types instead
of doing it directly. This is required for PR2189.
llvm-svn: 54102
Diffstat (limited to 'clang/lib/Sema/SemaStmt.cpp')
-rw-r--r-- | clang/lib/Sema/SemaStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaStmt.cpp b/clang/lib/Sema/SemaStmt.cpp index a4e8946b452..e743810ed41 100644 --- a/clang/lib/Sema/SemaStmt.cpp +++ b/clang/lib/Sema/SemaStmt.cpp @@ -712,7 +712,7 @@ Sema::StmtResult Sema::ActOnAsmStmt(SourceLocation AsmLoc, // Check that the output exprs are valid lvalues. Expr *OutputExpr = (Expr *)Exprs[i]; - Expr::isLvalueResult Result = OutputExpr->isLvalue(); + Expr::isLvalueResult Result = OutputExpr->isLvalue(Context); if (Result != Expr::LV_Valid) { ParenExpr *PE = cast<ParenExpr>(OutputExpr); |