This is an archive of the discontinued LLVM Phabricator instance.

[AST] RecoveryAST options should only be enabled for C++ only.
AbandonedPublic

Authored by hokein on Jun 9 2020, 2:25 AM.

Details

Reviewers
sammccall
Summary

The flag should be off for non-c++ files even there is a "-frecovery-ast" in
the commandline.

Diff Detail

Event Timeline

hokein created this revision.Jun 9 2020, 2:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2020, 2:25 AM

Hmm - why?
I thought the idea with the explicit -frecovery-ast flag was that we could turn it on even when it's not stable.
Isn't the idea that one day it will be stable for C, but not yet?

hokein abandoned this revision.Jun 9 2020, 4:25 AM

Hmm - why?
I thought the idea with the explicit -frecovery-ast flag was that we could turn it on even when it's not stable.
Isn't the idea that one day it will be stable for C, but not yet?

oops, right. I think I was highly confused by the misleading results caused by my messed-up patches locally :(