[all-commits] [llvm/llvm-project] a6f907: [clang] Check for nullptr when instantiating late ...

Adam Czachorowski via All-commits all-commits at lists.llvm.org
Tue Jan 19 05:00:05 PST 2021


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

  Changed paths:
    M clang/lib/Sema/SemaTemplateInstantiate.cpp

  Log Message:
  -----------
  [clang] Check for nullptr when instantiating late attrs

This was already done in SemaTemplateInstantiateDecl.cpp, but not in
SemaTemplateInstantiate.cpp.

Anecdotally I've seen some clangd crashes where coredumps point to this
being a problem, but I cannot reproduce this so far.

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




More information about the All-commits mailing list