]> granicus.if.org Git - clang/commitdiff
Fix typos
authorAlp Toker <alp@nuanti.com>
Thu, 15 May 2014 01:35:53 +0000 (01:35 +0000)
committerAlp Toker <alp@nuanti.com>
Thu, 15 May 2014 01:35:53 +0000 (01:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208838 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/Analyses/ThreadSafetyOps.def
lib/Format/Format.cpp
lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
test/SemaCXX/warn-unused-comparison.cpp

index 57b02f7c3f7569e7fbbb0f453152c3c47e2934c3..c8784b697f5db55bfac9346eeb4bfb7dcdd73e3c 100644 (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)
index e0b2961af3511a2f71e7777e4f8005da13cd2c3f..dea2386e0ace35b546e5134dd98f2a783f9d863e 100644 (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;
index 57063643fc3a24b74443ad8c09a8a601ffc3cc99..679b7170024b238cfe9a8c13bcd8ff2fd6726fcd 100644 (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,
index 505f58b39d0414d643202b16052defb000f6b859..4dd203875b35c023d31cb87ca3eaf9cd571f02d0 100644 (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}}
 }
 }