[all-commits] [llvm/llvm-project] 8be116: [Concepts] Fix isDeclarationSpecifier to detect ty...

Saar Raz via All-commits all-commits at lists.llvm.org
Fri Jan 31 10:11:03 PST 2020


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

  Changed paths:
    M clang/lib/Parse/ParseDecl.cpp
    M clang/test/Parser/cxx2a-abbreviated-templates.cpp

  Log Message:
  -----------
  [Concepts] Fix isDeclarationSpecifier to detect type-constraints correctly

isDeclarationSpecifiers did not handle some cases of placeholder-type-specifiers with
type-constraints, causing parsing bugs in abbreviated constructor templates.

Add comprehensive handling of type-constraints to isDeclarationSpecifier.

(cherry picked from commit b7ce85a130789d23c69156f4b899962458d1f05d)




More information about the All-commits mailing list