[PATCH] D76831: [AST] Preserve the DeclRefExpr when it refers to an invalid decl.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 26 03:12:49 PDT 2020


hokein created this revision.
hokein added reviewers: sammccall, adamcz.
Herald added a project: clang.

Previously, clang refused to build the AST nodes for them.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76831

Files:
  clang/lib/AST/ComputeDependence.cpp
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/test/AST/ast-dump-expr-errors.cpp
  clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p6.cpp
  clang/test/CXX/drs/dr3xx.cpp
  clang/test/CodeCompletion/error-covery.cpp
  clang/test/Modules/submodules-merge-defs.cpp
  clang/test/OpenMP/openmp_check.cpp
  clang/test/SemaCXX/block-call.cpp
  clang/test/SemaCXX/conversion-function.cpp
  clang/test/SemaCXX/cxx11-crashes.cpp
  clang/test/SemaCXX/cxx2a-explicit-bool.cpp
  clang/test/SemaCXX/for-range-examples.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76831.252778.patch
Type: text/x-patch
Size: 8856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200326/1476747c/attachment.bin>


More information about the cfe-commits mailing list