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

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


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




More information about the All-commits mailing list