[PATCH] D136554: Implement CWG2631

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 14:25:41 PST 2022


aeubanks added a comment.

a really bad reduced repro which also has random syntax errors:

  using string = struct basic_string {
    constexpr basic_string(char *) {}                 constexpr ~basic_string(
  } struct AutocompleteParsingResult struct optional {
    template <typename U = AutocompleteParsingResult> constexpr optional(U &&) {}
    namespace enum { kName } struct AutocompleteParsingResult {
      string StringPiece;
      optional expected_result;
      int max_length = 0
    } kAutocompleteTestcases {
      "", {
        { "", kName }
      }
  }

`clang -cc1 -x c++ -triple x86_64-unknown-linux-gnu  -std=c++20  -fsyntax-only  /tmp/reduced.cpp.orig -ferror-limit 1`
working on a reduced repro with -ferror-limit=1


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136554



More information about the cfe-commits mailing list