llvm.org GIT mirror llvm / 7126702
Get rid of some compile warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68978 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 11 years ago
1 changed file(s) with 1 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
511511 static PrototypeAST *ParsePrototype() {
512512 std::string FnName;
513513
514 int Kind = 0; // 0 = identifier, 1 = unary, 2 = binary.
514 unsigned Kind = 0; // 0 = identifier, 1 = unary, 2 = binary.
515515 unsigned BinaryPrecedence = 30;
516516
517517 switch (CurTok) {
790790
791791 // Make the new basic block for the loop header, inserting after current
792792 // block.
793 BasicBlock *PreheaderBB = Builder.GetInsertBlock();
794793 BasicBlock *LoopBB = BasicBlock::Create("loop", TheFunction);
795794
796795 // Insert an explicit fall through from the current block to the LoopBB.
836835 "loopcond");
837836
838837 // Create the "after loop" block and insert it.
839 BasicBlock *LoopEndBB = Builder.GetInsertBlock();
840838 BasicBlock *AfterBB = BasicBlock::Create("afterloop", TheFunction);
841839
842840 // Insert the conditional branch into the end of LoopEndBB.