Author: myatsina Date: Mon Dec 26 07:16:40 2016 New Revision: 290541 URL: http://llvm.org/viewvc/llvm-project?rev=290541&view=rev Log: Fix build error caused by r290539.
Modified: cfe/trunk/lib/Sema/SemaStmtAsm.cpp Modified: cfe/trunk/lib/Sema/SemaStmtAsm.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaStmtAsm.cpp?rev=290541&r1=290540&r2=290541&view=diff ============================================================================== --- cfe/trunk/lib/Sema/SemaStmtAsm.cpp (original) +++ cfe/trunk/lib/Sema/SemaStmtAsm.cpp Mon Dec 26 07:16:40 2016 @@ -164,9 +164,8 @@ getClobberConflictLocation(MultiExprArg 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)); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits