[all-commits] [llvm/llvm-project] 9ca395: [clang][AST] Propagate the contains-errors bit to ...

Haojian Wu via All-commits all-commits at lists.llvm.org
Tue Jul 11 00:30:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ca395b5ade105aee63db20534d49a1c58ac76c7
      https://github.com/llvm/llvm-project/commit/9ca395b5ade105aee63db20534d49a1c58ac76c7
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2023-07-11 (Tue, 11 Jul 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ComputeDependence.cpp
    M clang/test/AST/ast-dump-recovery.c
    M clang/test/SemaCXX/cxx11-crashes.cpp

  Log Message:
  -----------
  [clang][AST] Propagate the contains-errors bit to DeclRefExpr from VarDecl's initializer.

Similar to the https://reviews.llvm.org/D86048 (it only sets the bit for C++
code), we propagate the contains-errors bit for C-code path.

Fixes https://github.com/llvm/llvm-project/issues/50236
Fixes https://github.com/llvm/llvm-project/issues/50243
Fixes https://github.com/llvm/llvm-project/issues/48636
Fixes https://github.com/llvm/llvm-project/issues/50320

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




More information about the All-commits mailing list