aboutsummaryrefslogtreecommitdiff
path: root/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
commit28be73f74c9e241a23ea24fe5756623de6bf1084 (patch)
tree11a097ccd02202a307cafae952c1f3b22fae6847 /lib/Sema/SemaStmt.cpp
parent717250a2052ea65d95405127d4e5836a564dad18 (diff)
convert more code to use ASTContext to get canonical types instead
of doing it directly. This is required for PR2189. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54102 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
-rw-r--r--lib/Sema/SemaStmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp
index a4e8946b45..e743810ed4 100644
--- a/lib/Sema/SemaStmt.cpp
+++ b/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);