[PATCH] D148835: [clang] removes trailing whitespace

Christopher Di Bella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 20 12:51:46 PDT 2023


cjdb created this revision.
cjdb added reviewers: aaron.ballman, shafik, erichkeane, dblaikie.
Herald added subscribers: luke, steakhal, bzcheeseman, kosarev, pmatos, asb, ormris, frasercrmck, jdoerfert, martong, luismarques, apazos, sameer.abuasal, pengfei, s.egerton, Jim, jocewei, PkmX, arphaman, the_o, brucehoult, MartinMosbeck, rogfer01, steven_wu, atanasyan, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, kbarton, hiraditya, krytarowski, whisperity, sbc100, jvesely, nemanjai, dschuff.
Herald added a reviewer: paulkirth.
Herald added a reviewer: NoQ.
Herald added a reviewer: ributzka.
Herald added a project: All.
Herald added a comment.
cjdb requested review of this revision.
Herald added subscribers: cfe-commits, jplehr, pcwang-thead, sstefan1, MaskRay, aheejin.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: dang.
Herald added a project: clang.

NOTE: Clang-Format Team Automated Review Comment

Your review contains a change to ClangFormatStyleOptions.rst but not a change to clang/include/clang/Format/Format.h

ClangFormatStyleOptions.rst is auto generated from Format.h via clang/docs/tools/dump_format_style.py,  please run this to regenerate the .rst

You can validate that the rst is valid by running.

  ./docs/tools/dump_format_style.py
  mkdir -p html
  /usr/bin/sphinx-build -n ./docs ./html


Lots of files have trailing whitespace characters, which get removed by
many text editors upon save. I've run `sed -i 's/\s*$//g'` on all files
in `clang` except for clang-format, and manually reverted anything that
causes `ninja check-clang check-clang-utils` to fail. This ensures that
commits of substance don't accrue bogus diffs and commentary requesting
they be reverted.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148835

Files:
  clang/ModuleInfo.txt
  clang/docs/ClangFormatStyleOptions.rst
  clang/docs/ClangLinkerWrapper.rst
  clang/docs/ClangOffloadPackager.rst
  clang/docs/ClangTransformerTutorial.rst
  clang/docs/DebuggingCoroutines.rst
  clang/docs/ExternalClangExamples.rst
  clang/docs/JSONCompilationDatabase.rst
  clang/docs/MisExpect.rst
  clang/docs/ReleaseNotes.rst
  clang/docs/StandardCPlusPlusModules.rst
  clang/docs/UndefinedBehaviorSanitizer.rst
  clang/docs/analyzer/checkers.rst
  clang/docs/analyzer/developer-docs/DebugChecks.rst
  clang/docs/tools/dump_ast_matchers.py
  clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
  clang/include/clang/AST/DeclCXX.h
  clang/include/clang/AST/DeclObjC.h
  clang/include/clang/AST/TypeProperties.td
  clang/include/clang/Analysis/AnalysisDeclContext.h
  clang/include/clang/Analysis/CallGraph.h
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/include/clang/Basic/OpenCLExtensions.def
  clang/include/clang/Basic/TypeNodes.td
  clang/include/clang/Basic/riscv_vector.td
  clang/include/clang/Sema/CMakeLists.txt
  clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
  clang/lib/Analysis/FlowSensitive/CMakeLists.txt
  clang/lib/Analysis/UninitializedValues.cpp
  clang/lib/Analysis/UnsafeBufferUsage.cpp
  clang/lib/Basic/Targets/PPC.cpp
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/lib/Sema/SemaOverload.cpp
  clang/lib/Serialization/ASTReaderStmt.cpp
  clang/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp
  clang/lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp
  clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
  clang/lib/Tooling/DumpTool/ClangSrcLocDump.cpp
  clang/test/ARCMT/Common.h
  clang/test/ARCMT/Inputs/module.map
  clang/test/ARCMT/atautorelease-check.m
  clang/test/ARCMT/checking.m
  clang/test/ARCMT/cxx-checking.mm
  clang/test/ARCMT/designated-init-in-header/file2.m.in
  clang/test/ARCMT/designated-init-in-header/file2.m.in.result
  clang/test/ARCMT/no-canceling-bridge-to-bridge-cast.m
  clang/test/ARCMT/objcmt-arc-cf-annotations.m
  clang/test/ARCMT/objcmt-arc-cf-annotations.m.result
  clang/test/ARCMT/objcmt-atomic-property.m
  clang/test/ARCMT/objcmt-atomic-property.m.result
  clang/test/ARCMT/objcmt-boxing.m
  clang/test/ARCMT/objcmt-boxing.m.result
  clang/test/ARCMT/objcmt-migrate-all.m
  clang/test/ARCMT/objcmt-migrate-all.m.result
  clang/test/ARCMT/objcmt-ns-macros.m
  clang/test/ARCMT/objcmt-ns-macros.m.result
  clang/test/ARCMT/objcmt-ns-nonatomic-iosonly.m
  clang/test/ARCMT/objcmt-ns-nonatomic-iosonly.m.result
  clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m
  clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result
  clang/test/ARCMT/objcmt-numeric-literals.m
  clang/test/ARCMT/objcmt-numeric-literals.m.result
  clang/test/ARCMT/objcmt-property-dot-syntax.m
  clang/test/ARCMT/objcmt-property-dot-syntax.m.result
  clang/test/ARCMT/objcmt-property.m
  clang/test/ARCMT/objcmt-property.m.result
  clang/test/ARCMT/objcmt-protocol-conformance.m
  clang/test/ARCMT/objcmt-protocol-conformance.m.result
  clang/test/ARCMT/objcmt-subscripting-literals-in-arc.m
  clang/test/ARCMT/objcmt-subscripting-literals-in-arc.m.result
  clang/test/ARCMT/objcmt-subscripting-literals.m
  clang/test/ARCMT/objcmt-subscripting-literals.m.result
  clang/test/ARCMT/objcmt-subscripting-unavailable.m
  clang/test/ARCMT/objcmt-subscripting-unavailable.m.result
  clang/test/ARCMT/releases-driver.m
  clang/test/ARCMT/releases-driver.m.result
  clang/test/ARCMT/releases.m
  clang/test/ARCMT/releases.m.result
  clang/test/ARCMT/remove-dealloc-method.m
  clang/test/ARCMT/remove-dealloc-method.m.result
  clang/test/ARCMT/remove-dealloc-zerouts.m
  clang/test/ARCMT/remove-dealloc-zerouts.m.result
  clang/test/ARCMT/retains.m
  clang/test/ARCMT/retains.m.result
  clang/test/AST/HLSL/RWBuffer-AST.hlsl
  clang/test/AST/HLSL/ResourceStruct.hlsl
  clang/test/AST/HLSL/this-reference-template.hlsl
  clang/test/AST/HLSL/this-reference.hlsl
  clang/test/AST/HLSL/vector-alias.hlsl
  clang/test/AST/HLSL/vector-constructors.hlsl
  clang/test/AST/Interp/class-layout.cpp
  clang/test/AST/Interp/literals.cpp
  clang/test/AST/ast-dump-concepts.cpp
  clang/test/AST/ast-dump-decl.cpp
  clang/test/AST/ast-dump-expr-json.m
  clang/test/AST/ast-print-objectivec.m
  clang/test/AST/constraints-explicit-instantiation.cpp
  clang/test/AST/gen_ast_dump_json_test.py
  clang/test/AST/objc-default-ctor-init.mm
  clang/test/ASTMerge/category/Inputs/category1.m
  clang/test/ASTMerge/category/Inputs/category2.m
  clang/test/Analysis/CFContainers.mm
  clang/test/Analysis/CFRetainRelease_NSAssertionHandler.m
  clang/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m
  clang/test/Analysis/Inputs/system-header-simulator-cxx.h
  clang/test/Analysis/Issue56873.cpp
  clang/test/Analysis/MismatchedDeallocator-checker-test.mm
  clang/test/Analysis/NSContainers.m
  clang/test/Analysis/NSPanel.m
  clang/test/Analysis/NSString.m
  clang/test/Analysis/NSWindow.m
  clang/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp
  clang/test/Analysis/NewDelete-checker-test.cpp
  clang/test/Analysis/NewDelete-custom.cpp
  clang/test/Analysis/NoReturn.m
  clang/test/Analysis/PR2978.m
  clang/test/Analysis/PR3991.m
  clang/test/Analysis/aggrinit-cfg-output.cpp
  clang/test/Analysis/array-init-loop.cpp
  clang/test/Analysis/array-struct.c
  clang/test/Analysis/bitwise-ops.c
  clang/test/Analysis/bstring.c
  clang/test/Analysis/bstring.cpp
  clang/test/Analysis/bstring_UninitRead.c
  clang/test/Analysis/casts.c
  clang/test/Analysis/complex.c
  clang/test/Analysis/conditional-operator.cpp
  clang/test/Analysis/container-modeling.cpp
  clang/test/Analysis/ctor-bug-path.cpp
  clang/test/Analysis/ctor.mm
  clang/test/Analysis/cxx-crashes.cpp
  clang/test/Analysis/delegates.m
  clang/test/Analysis/designated-initializer.c
  clang/test/Analysis/diagnostics/Inputs/include/report-issues-within-main-file.h
  clang/test/Analysis/diagnostics/macro-null-return-suppression.cpp
  clang/test/Analysis/diagnostics/shortest-path-suppression.c
  clang/test/Analysis/diagnostics/undef-value-param.m
  clang/test/Analysis/dtor-array.cpp
  clang/test/Analysis/dtor.cpp
  clang/test/Analysis/enum.cpp
  clang/test/Analysis/exploded-graph-rewriter/checker_messages.dot
  clang/test/Analysis/exploded-graph-rewriter/checker_messages_diff.dot
  clang/test/Analysis/exploded-graph-rewriter/constraints.dot
  clang/test/Analysis/exploded-graph-rewriter/constraints_diff.dot
  clang/test/Analysis/exploded-graph-rewriter/environment.dot
  clang/test/Analysis/exploded-graph-rewriter/environment_diff.dot
  clang/test/Analysis/exploded-graph-rewriter/program_state_traits.dot
  clang/test/Analysis/exploded-graph-rewriter/store.dot
  clang/test/Analysis/exploded-graph-rewriter/store_diff.dot
  clang/test/Analysis/exploded-graph-rewriter/topology.dot
  clang/test/Analysis/fields.c
  clang/test/Analysis/generics.m
  clang/test/Analysis/global_region_invalidation.mm
  clang/test/Analysis/inline.c
  clang/test/Analysis/inline2.c
  clang/test/Analysis/inline4.c
  clang/test/Analysis/inlining/DynDispatchBifurcate.m
  clang/test/Analysis/inlining/InlineObjCClassMethod.m
  clang/test/Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m
  clang/test/Analysis/inlining/RetainCountExamples.m
  clang/test/Analysis/inlining/path-notes.m
  clang/test/Analysis/inlining/placement-new-fp-suppression.cpp
  clang/test/Analysis/inlining/retain-count-self-init.m
  clang/test/Analysis/inlining/stl.cpp
  clang/test/Analysis/keychainAPI-diagnostic-visitor.m
  clang/test/Analysis/keychainAPI.m
  clang/test/Analysis/lambdas-modern.cpp
  clang/test/Analysis/live-bindings-test.cpp
  clang/test/Analysis/localization-aggressive.m
  clang/test/Analysis/localization.m
  clang/test/Analysis/loop-widening-notes.cpp
  clang/test/Analysis/loopexit-cfg-output.cpp
  clang/test/Analysis/malloc-interprocedural.c
  clang/test/Analysis/malloc.mm
  clang/test/Analysis/method-arg-decay.m
  clang/test/Analysis/misc-ps-64.m
  clang/test/Analysis/misc-ps-arm.m
  clang/test/Analysis/misc-ps-eager-assume.m
  clang/test/Analysis/misc-ps-ranges.m
  clang/test/Analysis/misc-ps-region-store.cpp
  clang/test/Analysis/misc-ps-region-store.m
  clang/test/Analysis/misc-ps.c
  clang/test/Analysis/misc-ps.m
  clang/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m
  clang/test/Analysis/nullability.mm
  clang/test/Analysis/objc-arc.m
  clang/test/Analysis/objc-bool.m
  clang/test/Analysis/objc-method-coverage.m
  clang/test/Analysis/objc-properties.m
  clang/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m
  clang/test/Analysis/objc_invalidation.m
  clang/test/Analysis/offsetofexpr-callback.c
  clang/test/Analysis/plist-macros.cpp
  clang/test/Analysis/pointer-to-member.cpp
  clang/test/Analysis/pr_2542_rdar_6793404.m
  clang/test/Analysis/properties.m
  clang/test/Analysis/ptr-arith.c
  clang/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m
  clang/test/Analysis/region-1.m
  clang/test/Analysis/region-store.cpp
  clang/test/Analysis/region_store_overflow.c
  clang/test/Analysis/retain-release-inline.m
  clang/test/Analysis/retain-release-path-notes.m
  clang/test/Analysis/retain-release-region-store.m
  clang/test/Analysis/retain-release.m
  clang/test/Analysis/security-syntax-checks-no-emit.c
  clang/test/Analysis/security-syntax-checks.m
  clang/test/Analysis/self-init.m
  clang/test/Analysis/smart-ptr-text-output.cpp
  clang/test/Analysis/solver-sym-simplification-ptr-bool.cl
  clang/test/Analysis/stack-addr-ps.c
  clang/test/Analysis/stack-capture-leak-arc.mm
  clang/test/Analysis/stack-capture-leak-no-arc.mm
  clang/test/Analysis/stackaddrleak.c
  clang/test/Analysis/static_local.m
  clang/test/Analysis/stl-algorithm-modeling.cpp
  clang/test/Analysis/superclass.m
  clang/test/Analysis/taint-tester.m
  clang/test/Analysis/test-objc-non-nil-return-value-checker.m
  clang/test/Analysis/undefined-new-element.cpp
  clang/test/Analysis/uninit-ps-rdar6145427.m
  clang/test/Analysis/uninit-val-const-likeness.c
  clang/test/Analysis/uninit-vals.c
  clang/test/Analysis/uninit-vals.m
  clang/test/Analysis/unions-region.m
  clang/test/Analysis/unix-fns.c
  clang/test/Analysis/unused-ivars.m
  clang/test/Analysis/use-after-move.cpp
  clang/test/Analysis/valist-unterminated.c
  clang/test/Analysis/variadic-method-types.m
  clang/test/Analysis/virtualcall.cpp
  clang/test/Analysis/wstring.c
  clang/test/Analysis/z3-crosscheck.c
  clang/test/Analysis/zero-size-non-pod-array.cpp
  clang/test/CMakeLists.txt
  clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp
  clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p3.cpp
  clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p4-cxx11.cpp
  clang/test/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp
  clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p2.cpp
  clang/test/CXX/basic/basic.lookup/basic.lookup.qual/p6.cpp
  clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p11.cpp
  clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p14.cpp
  clang/test/CXX/basic/basic.stc/basic.stc.dynamic/p2-noexceptions.cpp
  clang/test/CXX/basic/basic.stc/basic.stc.dynamic/p2.cpp
  clang/test/CXX/basic/basic.types/p10.cpp
  (1911 more files...)



More information about the cfe-commits mailing list