Fix typos in clang
authorAlexander Kornienko <alexfh@google.com>
Fri, 6 Apr 2018 15:14:32 +0000 (15:14 +0000)
committerAlexander Kornienko <alexfh@google.com>
Fri, 6 Apr 2018 15:14:32 +0000 (15:14 +0000)
commit2a8c18d99118827ff752cc8952a2096f33715f31
tree5fbe7871948cb2c241487ca9ee86159891d67b64
parentad768585ff488cf01588b2d0caa1f95260031cdc
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
231 files changed:
clang/bindings/python/clang/cindex.py
clang/cmake/caches/Apple-stage2.cmake
clang/docs/LibASTMatchersReference.html
clang/docs/analyzer/DesignDiscussions/InitializerLists.rst
clang/docs/doxygen.cfg.in
clang/include/clang-c/Index.h
clang/include/clang/AST/ASTContext.h
clang/include/clang/AST/ASTTypeTraits.h
clang/include/clang/AST/CanonicalType.h
clang/include/clang/AST/Comment.h
clang/include/clang/AST/CommentLexer.h
clang/include/clang/AST/DataCollection.h
clang/include/clang/AST/DeclCXX.h
clang/include/clang/AST/Expr.h
clang/include/clang/AST/ExternalASTMerger.h
clang/include/clang/AST/NestedNameSpecifier.h
clang/include/clang/AST/RecursiveASTVisitor.h
clang/include/clang/AST/StmtOpenMP.h
clang/include/clang/AST/Type.h
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h
clang/include/clang/Analysis/CloneDetection.h
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Basic/Version.h
clang/include/clang/CodeGen/ConstantInitBuilder.h
clang/include/clang/Driver/Multilib.h
clang/include/clang/Frontend/ASTUnit.h
clang/include/clang/Frontend/PrecompiledPreamble.h
clang/include/clang/Lex/HeaderSearch.h
clang/include/clang/Lex/ModuleMap.h
clang/include/clang/Lex/TokenLexer.h
clang/include/clang/Parse/Parser.h
clang/include/clang/Sema/AttributeList.h
clang/include/clang/Sema/TypoCorrection.h
clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
clang/include/clang/Tooling/FileMatchTrie.h
clang/include/clang/Tooling/Refactoring/RefactoringActionRule.h
clang/include/clang/Tooling/Refactoring/RefactoringResultConsumer.h
clang/include/clang/Tooling/Refactoring/Rename/RenamingAction.h
clang/include/clang/Tooling/Refactoring/Rename/SymbolName.h
clang/include/clang/Tooling/Tooling.h
clang/lib/ARCMigrate/ObjCMT.cpp
clang/lib/AST/ASTContext.cpp
clang/lib/AST/DeclCXX.cpp
clang/lib/AST/DeclObjC.cpp
clang/lib/AST/MicrosoftMangle.cpp
clang/lib/AST/Stmt.cpp
clang/lib/AST/VTableBuilder.cpp
clang/lib/ASTMatchers/Dynamic/Parser.cpp
clang/lib/Analysis/CloneDetection.cpp
clang/lib/Analysis/ThreadSafetyCommon.cpp
clang/lib/Basic/DiagnosticIDs.cpp
clang/lib/Basic/SourceManager.cpp
clang/lib/Basic/Targets/PPC.cpp
clang/lib/Basic/Targets/X86.cpp
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/CodeGen/CGBlocks.cpp
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CGExprAgg.cpp
clang/lib/CodeGen/CGExprComplex.cpp
clang/lib/CodeGen/CGObjCMac.cpp
clang/lib/CodeGen/CGOpenCLRuntime.h
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
clang/lib/CodeGen/CGStmt.cpp
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/lib/CodeGen/CGVTables.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/lib/CodeGen/CoverageMappingGen.cpp
clang/lib/CodeGen/ItaniumCXXABI.cpp
clang/lib/CodeGen/MicrosoftCXXABI.cpp
clang/lib/CodeGen/TargetInfo.h
clang/lib/CodeGen/VarBypassDetector.cpp
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/Arch/ARM.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/Cuda.cpp
clang/lib/Format/UnwrappedLineParser.h
clang/lib/Frontend/ASTMerge.cpp
clang/lib/Frontend/CompilerInstance.cpp
clang/lib/Frontend/DiagnosticRenderer.cpp
clang/lib/Frontend/ModuleDependencyCollector.cpp
clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
clang/lib/Headers/__clang_cuda_builtin_vars.h
clang/lib/Headers/__wmmintrin_aes.h
clang/lib/Headers/htmxlintrin.h
clang/lib/Headers/stdint.h
clang/lib/Lex/HeaderSearch.cpp
clang/lib/Lex/Lexer.cpp
clang/lib/Lex/MacroArgs.cpp
clang/lib/Lex/PPDirectives.cpp
clang/lib/Lex/PTHLexer.cpp
clang/lib/Lex/TokenLexer.cpp
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/ParsePragma.cpp
clang/lib/Sema/SemaAttr.cpp
clang/lib/Sema/SemaCast.cpp
clang/lib/Sema/SemaChecking.cpp
clang/lib/Sema/SemaCodeComplete.cpp
clang/lib/Sema/SemaCoroutine.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/lib/Sema/SemaDeclObjC.cpp
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/lib/Sema/SemaExprObjC.cpp
clang/lib/Sema/SemaInit.cpp
clang/lib/Sema/SemaOverload.cpp
clang/lib/Sema/SemaStmt.cpp
clang/lib/Sema/SemaTemplate.cpp
clang/lib/Sema/SemaTemplateDeduction.cpp
clang/lib/Sema/SemaType.cpp
clang/lib/Sema/TreeTransform.h
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp
clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
clang/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp
clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp
clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
clang/lib/StaticAnalyzer/Core/Store.cpp
clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
clang/lib/Tooling/ASTDiff/ASTDiff.cpp
clang/lib/Tooling/Core/Replacement.cpp
clang/lib/Tooling/FileMatchTrie.cpp
clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
clang/test/ASTMerge/namespace/test.cpp
clang/test/Analysis/analyzeOneFunction.m
clang/test/Analysis/copypaste/macro-complexity.cpp
clang/test/Analysis/dead-stores.c
clang/test/Analysis/dynamic_type_check.m
clang/test/Analysis/localization.m
clang/test/Analysis/misc-ps-region-store.m
clang/test/Analysis/new.cpp
clang/test/Analysis/nullability.mm
clang/test/Analysis/objc-properties.m
clang/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m
clang/test/Analysis/retain-release-path-notes.m
clang/test/Analysis/string.c
clang/test/CXX/special/class.init/class.inhctor.init/p1.cpp
clang/test/CodeGen/arm64_vdup.c
clang/test/CodeGen/debug-info-block-out-return.c
clang/test/CodeGen/pr3518.c
clang/test/CodeGenCUDA/device-stub.cu
clang/test/CodeGenCUDA/propagate-metadata.cu
clang/test/CodeGenCXX/abstract-class-ctors-dtors.cpp
clang/test/CodeGenCXX/ctor-dtor-alias.cpp
clang/test/CodeGenCXX/debug-info-class-nolimit.cpp
clang/test/CodeGenCXX/duplicate-mangled-name.cpp
clang/test/CodeGenOpenCL/amdgpu-nullptr.cl
clang/test/Driver/config-file2.c
clang/test/Driver/cuda-options.cu
clang/test/Driver/darwin-version.c
clang/test/Driver/fsanitize-blacklist.c
clang/test/Driver/hexagon-hvx.c
clang/test/Driver/rtti-options.cpp
clang/test/Headers/ms-null-ms-header-vs-stddef.cpp
clang/test/Index/headerfile-comment-to-html.m
clang/test/Misc/ast-print-pragmas-xfail.cpp
clang/test/Misc/warning-flags.c
clang/test/OpenMP/target_codegen_registration.cpp
clang/test/OpenMP/target_parallel_codegen_registration.cpp
clang/test/OpenMP/target_parallel_for_codegen_registration.cpp
clang/test/OpenMP/target_parallel_for_simd_codegen_registration.cpp
clang/test/OpenMP/target_simd_codegen_registration.cpp
clang/test/OpenMP/target_teams_codegen_registration.cpp
clang/test/OpenMP/target_teams_distribute_codegen_registration.cpp
clang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration.cpp
clang/test/OpenMP/target_teams_distribute_simd_codegen_registration.cpp
clang/test/Parser/brackets.c
clang/test/Parser/brackets.cpp
clang/test/Preprocessor/macro_paste_commaext.c
clang/test/Sema/attr-availability-tvos.c
clang/test/Sema/attr-availability-watchos.c
clang/test/Sema/pr30372.c
clang/test/Sema/self-comparison.c
clang/test/Sema/tls.c
clang/test/Sema/uninit-variables.c
clang/test/Sema/vector-gcc-compat.c
clang/test/Sema/vector-gcc-compat.cpp
clang/test/Sema/warn-documentation.m
clang/test/Sema/warn-string-conversion.c
clang/test/SemaCUDA/function-template-overload.cu
clang/test/SemaCXX/conditional-expr.cpp
clang/test/SemaCXX/err_typecheck_assign_const_filecheck.cpp
clang/test/SemaCXX/type-traits.cpp
clang/test/SemaCXX/uninitialized.cpp
clang/test/SemaCXX/vector.cpp
clang/test/SemaCXX/warn-thread-safety-analysis.cpp
clang/test/SemaCXX/warn-unreachable.cpp
clang/test/SemaObjC/arc-peformselector.m
clang/test/SemaObjC/compare-qualified-class.m
clang/test/SemaObjC/property-ivar-mismatch.m
clang/tools/c-index-test/c-index-test.c
clang/tools/clang-format/clang-format.el
clang/tools/libclang/CIndex.cpp
clang/tools/libclang/CXCursor.cpp
clang/tools/libclang/CXCursor.h
clang/tools/scan-build-py/README.md
clang/tools/scan-build-py/libscanbuild/analyze.py
clang/tools/scan-build-py/libscanbuild/arguments.py
clang/tools/scan-build/bin/scan-build
clang/tools/scan-build/man/scan-build.1
clang/tools/scan-view/share/startfile.py
clang/utils/TableGen/NeonEmitter.cpp
clang/utils/bash-autocomplete.sh
clang/utils/check_cfc/check_cfc.py
clang/utils/clangdiag.py
clang/www/OpenProjects.html
clang/www/analyzer/alpha_checks.html
clang/www/analyzer/available_checks.html
clang/www/diagnostics.html
clang/www/features.html
clang/www/get_involved.html