Fix typos

llvm-svn: 208838
This commit is contained in:
Alp Toker 2014-05-15 01:35:53 +00:00
parent 09cc564310
commit c3f36af8d0
4 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ TIL_OPCODE_DEF(Phi)
TIL_OPCODE_DEF(Goto)
TIL_OPCODE_DEF(Branch)
// psuedo-terms
// pseudo-terms
TIL_OPCODE_DEF(Identifier)
TIL_OPCODE_DEF(IfThenElse)
TIL_OPCODE_DEF(Let)

View File

@ -1278,7 +1278,7 @@ private:
}
// Tries to merge an escape sequence, i.e. a "\\" and the following
// charachter. Use e.g. inside JavaScript regex literals.
// character. Use e.g. inside JavaScript regex literals.
bool tryMergeEscapeSequence() {
if (Tokens.size() < 2)
return false;

View File

@ -404,7 +404,7 @@ void WalkAST::checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD) {
if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
return;
// Issue a waring.
// Issue a warning.
PathDiagnosticLocation CELoc =
PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
BR.EmitBasicReport(AC->getDecl(), filter.checkName_mktemp,

View File

@ -115,7 +115,7 @@ stream &operator<(stream &s, int);
bool operator<(stream &s, stream &s2);
void test() {
cout < 5; // no waring, operator returns a reference
cout < 5; // no warning, operator returns a reference
cout < cin; // expected-warning {{relational comparison result unused}}
}
}