r208838 - Fix typos
Alp Toker
alp at nuanti.com
Wed May 14 18:35:53 PDT 2014
Author: alp
Date: Wed May 14 20:35:53 2014
New Revision: 208838
URL: http://llvm.org/viewvc/llvm-project?rev=208838&view=rev
Log:
Fix typos
Modified:
cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyOps.def
cfe/trunk/lib/Format/Format.cpp
cfe/trunk/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
cfe/trunk/test/SemaCXX/warn-unused-comparison.cpp
Modified: cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyOps.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyOps.def?rev=208838&r1=208837&r2=208838&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyOps.def (original)
+++ cfe/trunk/include/clang/Analysis/Analyses/ThreadSafetyOps.def Wed May 14 20:35:53 2014
@@ -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)
Modified: cfe/trunk/lib/Format/Format.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=208838&r1=208837&r2=208838&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Wed May 14 20:35:53 2014
@@ -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;
Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp?rev=208838&r1=208837&r2=208838&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp Wed May 14 20:35:53 2014
@@ -404,7 +404,7 @@ void WalkAST::checkCall_mktemp(const Cal
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,
Modified: cfe/trunk/test/SemaCXX/warn-unused-comparison.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/warn-unused-comparison.cpp?rev=208838&r1=208837&r2=208838&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/warn-unused-comparison.cpp (original)
+++ cfe/trunk/test/SemaCXX/warn-unused-comparison.cpp Wed May 14 20:35:53 2014
@@ -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}}
}
}
More information about the cfe-commits
mailing list