[libcxx-commits] [PATCH] D99801: [libcxx] adds Microsoft/STL tests for P0898R3

Marek Kurdej via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 2 13:27:53 PDT 2021


curdeius added a comment.

Concerning the formatting. It would probably be easier to create a .clang-format config file in libcxx/test/msvc-stl/ with DisableFormat: true instead of putting format comments.



================
Comment at: libcxx/test/msvc-stl/README.md:11
+* A single `// clang-format off` has been added to each file underneath LIT directives.
+* Pragma directives disabling `-Wunknown-pragmas` (Clang, GCC) and `-Wdeprecated-volatile` (Clang)
+  have been added.
----------------
Can't this be done with a local lit config file?
Something like: https://github.com/llvm/llvm-project/blob/main/libcxx/test/std/input.output/filesystems/lit.local.cfg.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99801/new/

https://reviews.llvm.org/D99801



More information about the libcxx-commits mailing list