[all-commits] [llvm/llvm-project] 15ad24: Add test for an invalid requirement in requires expr.

Utkarsh Saxena via All-commits all-commits at lists.llvm.org
Mon Jan 16 03:29:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15ad244670a9ef0bf93b7c8a598586d4a841b197
      https://github.com/llvm/llvm-project/commit/15ad244670a9ef0bf93b7c8a598586d4a841b197
  Author: Utkarsh Saxena <usx at google.com>
  Date:   2023-01-16 (Mon, 16 Jan 2023)

  Changed paths:
    A clang/test/SemaCXX/invalid-requirement-requires-expr.cpp

  Log Message:
  -----------
  Add test for an invalid requirement in requires expr.

The one introduced in D140547 was brittle. Fixing max template depth to
a small value would still test the same issue without causing actual
stack exhaustion.

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




More information about the All-commits mailing list