[all-commits] [llvm/llvm-project] ddfbdb: [clang] Do not crash on template specialization fo...

Adam Czachorowski via All-commits all-commits at lists.llvm.org
Fri Apr 23 04:41:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddfbdbfefae04ea71391a38ed5e9cb6975f6630b
      https://github.com/llvm/llvm-project/commit/ddfbdbfefae04ea71391a38ed5e9cb6975f6630b
  Author: Adam Czachorowski <adamcz at google.com>
  Date:   2021-04-23 (Fri, 23 Apr 2021)

  Changed paths:
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    A clang/test/SemaCXX/template-specialization-fatal.cpp

  Log Message:
  -----------
  [clang] Do not crash on template specialization following a fatal error

There was a missing isInvalid() check leading to an attempt to
instantiate template with an empty instantiation stack.

Differential Revision: https://reviews.llvm.org/D100675




More information about the All-commits mailing list