From: Alp Toker Date: Thu, 15 May 2014 01:35:53 +0000 (+0000) Subject: Fix typos X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89a69a81af1a840e00a54c7ce303f546f89d0cba;p=clang Fix typos git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208838 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/Analyses/ThreadSafetyOps.def b/include/clang/Analysis/Analyses/ThreadSafetyOps.def index 57b02f7c3f..c8784b697f 100644 --- a/include/clang/Analysis/Analyses/ThreadSafetyOps.def +++ b/include/clang/Analysis/Analyses/ThreadSafetyOps.def @@ -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) diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index e0b2961af3..dea2386e0a 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -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; diff --git a/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp b/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp index 57063643fc..679b717002 100644 --- a/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp +++ b/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp @@ -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, diff --git a/test/SemaCXX/warn-unused-comparison.cpp b/test/SemaCXX/warn-unused-comparison.cpp index 505f58b39d..4dd203875b 100644 --- a/test/SemaCXX/warn-unused-comparison.cpp +++ b/test/SemaCXX/warn-unused-comparison.cpp @@ -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}} } }