diff options
author | Alexander Kornienko <alexfh@google.com> | 2018-04-06 15:14:32 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2018-04-06 15:14:32 +0000 |
commit | 2a8c18d99118827ff752cc8952a2096f33715f31 (patch) | |
tree | 5fbe7871948cb2c241487ca9ee86159891d67b64 /clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp | |
parent | ad768585ff488cf01588b2d0caa1f95260031cdc (diff) | |
download | bcm5719-llvm-2a8c18d99118827ff752cc8952a2096f33715f31.tar.gz bcm5719-llvm-2a8c18d99118827ff752cc8952a2096f33715f31.zip |
Fix typos in clang
Found via codespell -q 3 -I ../clang-whitelist.txt
Where whitelist consists of:
archtype
cas
classs
checkk
compres
definit
frome
iff
inteval
ith
lod
methode
nd
optin
ot
pres
statics
te
thru
Patch by luzpaz! (This is a subset of D44188 that applies cleanly with a few
files that have dubious fixes reverted.)
Differential revision: https://reviews.llvm.org/D44188
llvm-svn: 329399
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp index ed0ee9f3a15..bfdb511e74a 100644 --- a/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp @@ -1107,7 +1107,7 @@ void EmptyLocalizationContextChecker::checkASTDecl( void EmptyLocalizationContextChecker::MethodCrawler::VisitObjCMessageExpr( const ObjCMessageExpr *ME) { - // FIXME: We may be able to use PPCallbacks to check for empy context + // FIXME: We may be able to use PPCallbacks to check for empty context // comments as part of preprocessing and avoid this re-lexing hack. const ObjCInterfaceDecl *OD = ME->getReceiverInterface(); if (!OD) @@ -1388,7 +1388,7 @@ void PluralMisuseChecker::MethodCrawler::reportPluralMisuseError( // Generate the bug report. BR.EmitBasicReport(AC->getDecl(), Checker, "Plural Misuse", "Localizability Issue (Apple)", - "Plural cases are not supported accross all languages. " + "Plural cases are not supported across all languages. " "Use a .stringsdict file instead", PathDiagnosticLocation(S, BR.getSourceManager(), AC)); } |