Reland https://reviews.llvm.org/D76696.
All known crashes have been fixed, another attemption.
Plan:
we have rolled out this to a subset of internal users, I'd wait for one
or two weeks to make sure no new crashes.
Paths
| Differential D78350
[AST] Build recovery expressions by default for C++. ClosedPublic Authored by hokein on Apr 17 2020, 2:09 AM.
Details Summary Reland https://reviews.llvm.org/D76696. Plan:
Diff Detail
Event TimelineHerald added subscribers: usaxena95, kadircet, arphaman, jkorous. · View Herald TranscriptApr 17 2020, 2:20 AM Comment Actions @ebevhan, @hubert.reinterpretcast, the patch is based on fd7a34186137168064ffe2ca536823559b92d939, it should contain all the fixes. Comment Actions
Got it. I'll put together a build. Comment Actions
Thank you! Look forward to the result. The patch should work on the latest master (b73290be9fa413d8bc426512cdf4fa01bc005954).
Comment Actions
Looks clean on my end. rsmith added inline comments.
Comment Actions
Great, thanks!
Comment Actions Code LG, let's chat before landing though - want to understand the state of the internal testing.
This revision is now accepted and ready to land.Apr 30 2020, 3:50 AM Comment Actions ok, the current status seems quite stable now. We rolled it out to all our internal users for a while, didn't see big crashes. I'm going to land it. Closed by commit rG58ea1059df97: [AST][RecoveryExpr] Build recovery expressions by default for C++. (authored by hokein). · Explain WhyJun 12 2020, 6:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 270370 clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/AST/ast-dump-openmp-begin-declare-variant_namespace_1.cpp
clang/test/CXX/class.access/p4.cpp
clang/test/CXX/special/class.ctor/p5-0x.cpp
clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp
clang/test/OpenMP/declare_variant_messages.cpp
clang/test/OpenMP/target_update_from_messages.cpp
clang/test/OpenMP/target_update_to_messages.cpp
clang/test/Parser/objcxx0x-lambda-expressions.mm
clang/test/Parser/objcxx11-invalid-lambda.cpp
clang/test/SemaCXX/cast-conversion.cpp
clang/test/SemaCXX/constant-expression-cxx11.cpp
clang/test/SemaCXX/constructor-initializer.cpp
clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp
clang/test/SemaCXX/cxx1y-deduced-return-type.cpp
clang/test/SemaCXX/cxx1z-copy-omission.cpp
clang/test/SemaCXX/decltype-crash.cpp
clang/test/SemaCXX/enable_if.cpp
clang/test/SemaCXX/for-range-dereference.cpp
clang/test/SemaCXX/recovery-default-init.cpp
clang/test/SemaCXX/recovery-initializer.cpp
clang/test/SemaCXX/varargs.cpp
clang/test/SemaCXX/virtual-base-used.cpp
clang/test/SemaObjCXX/arc-0x.mm
clang/test/SemaOpenCLCXX/address-space-references.cl
clang/test/SemaTemplate/instantiate-function-params.cpp
clang/test/SemaTemplate/instantiate-init.cpp
|
you could add a comment here like "Recovery AST still heavily relies on dependent-type machinery" or something.