[all-commits] [llvm/llvm-project] 5f94c9: [AST][RecoveryExpr] Add error-bit TemplateArgument

Haojian Wu via All-commits all-commits at lists.llvm.org
Wed Jun 24 07:25:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f94c9a421ec7cc7ece2bd875e010639ee0783ec
      https://github.com/llvm/llvm-project/commit/5f94c9a421ec7cc7ece2bd875e010639ee0783ec
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-06-24 (Wed, 24 Jun 2020)

  Changed paths:
    M clang/include/clang/AST/DependenceFlags.h
    M clang/lib/AST/Type.cpp
    M clang/test/SemaCXX/invalid-template-base-specifier.cpp

  Log Message:
  -----------
  [AST][RecoveryExpr] Add error-bit TemplateArgument

Summary: We are missing the error-bit somehow if the error-bit is propagated
through the code path: "error type/expr" -> "template argument" ->
"template specialization type", which will lead to crashes.

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: cfe-commits

Tags: #clang

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




More information about the All-commits mailing list