[libcxx-commits] [PATCH] D59767: [pstl] Indent preprocessor directives as part of the clang-format rules

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 25 07:31:53 PDT 2019


ldionne created this revision.
ldionne added reviewers: rodgert, MikeDvorskiy.
Herald added subscribers: libcxx-commits, jdoerfert, dexonsmith, jkorous.
ldionne changed the repository for this revision from rCXX libc++ to rPSTL pstl.

Indenting preprocessor directives provides a significant gain in
readability. We do it for normal if statements, and it makes sense
to do it for preprocessor ifs too.


Repository:
  rPSTL pstl

https://reviews.llvm.org/D59767

Files:
  pstl/.clang-format
  pstl/include/pstl/algorithm
  pstl/include/pstl/execution
  pstl/include/pstl/internal/algorithm_impl.h
  pstl/include/pstl/internal/glue_execution_defs.h
  pstl/include/pstl/internal/numeric_impl.h
  pstl/include/pstl/internal/parallel_backend.h
  pstl/include/pstl/internal/parallel_backend_tbb.h
  pstl/include/pstl/internal/pstl_config.h
  pstl/include/pstl/memory
  pstl/include/pstl/numeric

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59767.192100.patch
Type: text/x-patch
Size: 14414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190325/5d2bebeb/attachment-0001.bin>


More information about the libcxx-commits mailing list