Introduce a new cc1 flag to enable build the dependent AST nodes for C.
see the whole view in: https://reviews.llvm.org/D85025
Paths
| Differential D84226
[AST][RecoveryExpr] Part1: Support dependent binary operator in C for error recovery. ClosedPublic Authored by hokein on Jul 21 2020, 2:41 AM.
Details Summary Introduce a new cc1 flag to enable build the dependent AST nodes for C. see the whole view in: https://reviews.llvm.org/D85025
Diff Detail
Event TimelineComment Actions
hokein retitled this revision from [AST][RecoveryExpr] Support dependent binary operator in C for error recovery. to [AST][RecoveryExpr] Support dependent binary operator in C for error recovery Part 1..Aug 17 2020, 4:02 AM hokein retitled this revision from [AST][RecoveryExpr] Support dependent binary operator in C for error recovery Part 1. to [AST][RecoveryExpr] Part1: Support dependent binary operator in C for error recovery..Aug 17 2020, 4:05 AM
hokein marked 2 inline comments as done. Comment Actionsaddress comments:
sammccall added inline comments.
This revision is now accepted and ready to land.Oct 5 2020, 6:09 AM hokein marked 2 inline comments as done. Comment Actionsaddress comments.
sammccall added inline comments. This revision was landed with ongoing or failed builds.Oct 5 2020, 11:57 PM Closed by commit rG70d9dc867417: [AST][RecoveryExpr] Support dependent binary operator in C for error recovery. (authored by hokein). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 284358 clang/include/clang/Basic/LangOptions.def
clang/include/clang/Driver/Options.td
clang/include/clang/Sema/Sema.h
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaOverload.cpp
clang/test/AST/ast-dump-recovery.c
clang/test/Sema/error-dependence.c
|
Why is this not just the RecoveryAST flag? Is there some use of dependence outside the error-handling path?
If the language is C, recovery-AST only works if this flag is on too. So they might as well always have the same value.
If the language is C++, this flag is meaningless, right?