[all-commits] [llvm/llvm-project] 271e49: [Concepts] Add missing TPA commit to requires expr...

Saar Raz via All-commits all-commits at lists.llvm.org
Wed Feb 12 06:26:45 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 271e495399170d69627c1acd591c9298cb0b5b4b
      https://github.com/llvm/llvm-project/commit/271e495399170d69627c1acd591c9298cb0b5b4b
  Author: Saar Raz <saar at raz.email>
  Date:   2020-02-12 (Wed, 12 Feb 2020)

  Changed paths:
    M clang/lib/Parse/ParseExprCXX.cpp

  Log Message:
  -----------
  [Concepts] Add missing TPA commit to requires expression parsing

If an error had occurred when annotating a scope spec during the tentative parse
for a type-requirement, we would not revert nor commit the tentative parse, triggerring
an assertion failure.

Commit the TPA in this case and then do error recovery.




More information about the All-commits mailing list