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

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5043962dd3150c6ac72b75174b9460a510d1b5c3
      https://github.com/llvm/llvm-project/commit/5043962dd3150c6ac72b75174b9460a510d1b5c3
  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.




More information about the All-commits mailing list