[PATCH] D151426: [Clang][NFC] Prepare C++ DR suite for better test isolation

Vlad Serebrennikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 25 04:33:47 PDT 2023


Endill created this revision.
Endill added reviewers: aaron.ballman, clang-language-wg.
Herald added a project: All.
Endill requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch mechanically modifies existing DR status notation to incorporate `//---` notation used by `split-file` utility.

This is a part of a bigger transition. Example could be seen in [[ a diff: https://gist.github.com/Endilll/1d8035d42bdf0dc73eaaf8a8c343bf8c/revisions. The idea is to split `drNxx.cpp` files into bunch of small files before feeding them into compiler. This would prevent cases like [[ https://godbolt.org/z/Pd88e1dr9 | this one ]], which is a reduced example of what I encountered while working on D148433 <https://reviews.llvm.org/D148433>.

I go into more details in the related Discourse thread <https://discourse.llvm.org/t/rfc-opt-in-way-to-make-verifydiagnosticconsumer-slightly-less-strict/70747>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151426

Files:
  clang/test/CXX/drs/dr0xx.cpp
  clang/test/CXX/drs/dr10xx.cpp
  clang/test/CXX/drs/dr11xx.cpp
  clang/test/CXX/drs/dr12xx.cpp
  clang/test/CXX/drs/dr13xx.cpp
  clang/test/CXX/drs/dr14xx.cpp
  clang/test/CXX/drs/dr15xx.cpp
  clang/test/CXX/drs/dr16xx.cpp
  clang/test/CXX/drs/dr177x.cpp
  clang/test/CXX/drs/dr17xx.cpp
  clang/test/CXX/drs/dr18xx.cpp
  clang/test/CXX/drs/dr19xx.cpp
  clang/test/CXX/drs/dr1xx.cpp
  clang/test/CXX/drs/dr20xx.cpp
  clang/test/CXX/drs/dr21xx.cpp
  clang/test/CXX/drs/dr22xx.cpp
  clang/test/CXX/drs/dr23xx.cpp
  clang/test/CXX/drs/dr25xx.cpp
  clang/test/CXX/drs/dr26xx.cpp
  clang/test/CXX/drs/dr2xx.cpp
  clang/test/CXX/drs/dr3xx.cpp
  clang/test/CXX/drs/dr4xx.cpp
  clang/test/CXX/drs/dr5xx.cpp
  clang/test/CXX/drs/dr6xx.cpp
  clang/test/CXX/drs/dr7xx.cpp
  clang/test/CXX/drs/dr9xx.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151426.525540.patch
Type: text/x-patch
Size: 136045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230525/79436164/attachment-0001.bin>


More information about the cfe-commits mailing list