summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-07-26 21:30:36 +0000
committerChris Lattner <sabre@nondot.org>2008-07-26 21:30:36 +0000
commit6731544be7f7f39d6fda89193e0fa510da92cc09 (patch)
tree7fee59c76a439011127f83420664708d209f9d5e /clang/lib/Sema/SemaStmt.cpp
parentac87ef5dcc56146d2774197e89ddef6ca2bf98b9 (diff)
downloadbcm5719-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.cpp2
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);
OpenPOWER on IntegriCloud