[all-commits] [llvm/llvm-project] 73a914: [Concepts] Fix parsing of scope specifier in compo...

Saar Raz via All-commits all-commits at lists.llvm.org
Sun Jan 26 10:50:43 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 73a91477f7045d1325570f28e349dd87d9bff49c
      https://github.com/llvm/llvm-project/commit/73a91477f7045d1325570f28e349dd87d9bff49c
  Author: Saar Raz <saar at raz.email>
  Date:   2020-01-26 (Sun, 26 Jan 2020)

  Changed paths:
    M clang/lib/Parse/ParseExprCXX.cpp
    A clang/test/Parser/cxx2a-abbreviated-templates.cpp
    M clang/test/Parser/cxx2a-concepts-requires-expr.cpp
    M clang/test/Parser/cxx2a-placeholder-type-constraint.cpp

  Log Message:
  -----------
  [Concepts] Fix parsing of scope specifier in compound-requirements, add more tests for scope specifiers in type-constraints

The code for parsing of type-constraints in compound-requirements was not adapted for the new TryAnnotateTypeConstraint which
caused compound-requirements with scope specifiers to ignore them.

Also add regression tests for scope specifiers in type-constraints in more contexts.

(cherry picked from commit 5043962dd3150c6ac72b75174b9460a510d1b5c3)




More information about the All-commits mailing list