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

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


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f692404a30d7f58b20d40f7a6ceaf826320b145
      https://github.com/llvm/llvm-project/commit/6f692404a30d7f58b20d40f7a6ceaf826320b145
  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.

(cherry picked from commit 271e495399170d69627c1acd591c9298cb0b5b4b)




More information about the All-commits mailing list