[all-commits] [llvm/llvm-project] a71877: [clang] Do not crash when CXXRecordDecl has a non-...

Adam Czachorowski via All-commits all-commits at lists.llvm.org
Thu Jan 14 12:32:53 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a71877edfbb7094584f6d20d93f6091e7d374024
      https://github.com/llvm/llvm-project/commit/a71877edfbb7094584f6d20d93f6091e7d374024
  Author: Adam Czachorowski <adamcz at google.com>
  Date:   2021-01-14 (Thu, 14 Jan 2021)

  Changed paths:
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/test/SemaTemplate/temp_class_spec.cpp

  Log Message:
  -----------
  [clang] Do not crash when CXXRecordDecl has a non-CXXRecordDecl base.

This can happen on some invalid code, like the included test case.

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




More information about the All-commits mailing list