[all-commits] [llvm/llvm-project] fbfcfd: [clang] Fix assert() crash when checking undeduced...

Adam Czachorowski via All-commits all-commits at lists.llvm.org
Fri Apr 30 07:47:48 PDT 2021


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

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/SemaCXX/recovery-expr-type.cpp

  Log Message:
  -----------
  [clang] Fix assert() crash when checking undeduced arg alignment

There already was a check for undeduced and incomplete types, but it
failed to trigger when outer type (SubstTemplateTypeParm in test) looked
fine, but inner type was not.

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




More information about the All-commits mailing list