diff options
| author | Marina Yatsina <marina.yatsina@intel.com> | 2016-12-26 13:16:40 +0000 |
|---|---|---|
| committer | Marina Yatsina <marina.yatsina@intel.com> | 2016-12-26 13:16:40 +0000 |
| commit | c5cf7a8b004d093aafb3a1d1bc32fb127e810f6b (patch) | |
| tree | 7c5e6e2ef07e232e609bf621ef64f6f0b631f509 | |
| parent | 168b954611ab90d218d768b44c48b3f3c61d982c (diff) | |
| download | bcm5719-llvm-c5cf7a8b004d093aafb3a1d1bc32fb127e810f6b.tar.gz bcm5719-llvm-c5cf7a8b004d093aafb3a1d1bc32fb127e810f6b.zip | |
Fix build error caused by r290539.
llvm-svn: 290541
| -rw-r--r-- | clang/lib/Sema/SemaStmtAsm.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaStmtAsm.cpp b/clang/lib/Sema/SemaStmtAsm.cpp index 50366222093..76de9e29939 100644 --- a/clang/lib/Sema/SemaStmtAsm.cpp +++ b/clang/lib/Sema/SemaStmtAsm.cpp @@ -164,9 +164,8 @@ getClobberConflictLocation(MultiExprArg Exprs, StringLiteral **Constraints, const TargetInfo &Target, ASTContext &Cont) { llvm::StringSet<> InOutVars; // Collect all the input and output registers from the extended asm - // statement - // in order to check for conflicts with the clobber list - for (int i = 0; i < Exprs.size(); ++i) { + // statement in order to check for conflicts with the clobber list + for (unsigned int i = 0; i < Exprs.size(); ++i) { StringRef Constraint = Constraints[i]->getString(); StringRef InOutReg = Target.getConstraintRegister( Constraint, extractRegisterName(Exprs[i], Target)); |

