Match gcc and always perform array/function conversion for asm input exprs. Fixes PR3641.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65256 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaStmt.cpp b/lib/Sema/SemaStmt.cpp
index c2c1a0f..990e951 100644
--- a/lib/Sema/SemaStmt.cpp
+++ b/lib/Sema/SemaStmt.cpp
@@ -915,9 +915,9 @@
<< InputExpr->getType() << InputConstraint
<< InputExpr->getSubExpr()->getSourceRange());
}
-
- DefaultFunctionArrayConversion(Exprs[i]);
}
+
+ DefaultFunctionArrayConversion(Exprs[i]);
}
// Check that the clobbers are valid.