[all-commits] [llvm/llvm-project] ce07de: [clang][tests] Add test for C++ DR2406

Timm Bäder via All-commits all-commits at lists.llvm.org
Thu Feb 10 05:53:18 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce07de234b77dc6cc263cdf4081eace5761d6b5a
      https://github.com/llvm/llvm-project/commit/ce07de234b77dc6cc263cdf4081eace5761d6b5a
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    A clang/test/CXX/drs/dr2406.cpp

  Log Message:
  -----------
  [clang][tests] Add test for C++ DR2406

Clang already handles this fine, so add a test case to let the
make_cxx_dr_status script pick it up.

Differential Revision: https://reviews.llvm.org/D119224


  Commit: ef2c8274dfa216078436c6acfe0274a43a737242
      https://github.com/llvm/llvm-project/commit/ef2c8274dfa216078436c6acfe0274a43a737242
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    A clang/test/CXX/drs/dr2390.cpp

  Log Message:
  -----------
  [clang] Add test for C++ DR2390

DR2390 clarifies that the argument to __has_cpp_attribute() needs to be
macro-expanded. Clang already supports this and tests it explicitly in
clang/test/Preprocessor/has_attribute.cpp.

Copy the test over to clang/test/CXX/drs/ so the make_cxx_drs script
picks it up.

Differential Revision: https://reviews.llvm.org/D119230


Compare: https://github.com/llvm/llvm-project/compare/06a03851429d...ef2c8274dfa2


More information about the All-commits mailing list