[PATCH] D34263: [preprocessor] When preprocessor option 'SingleFileParseMode' is enabled, parse all directive blocks if the condition uses undefined macros
Manuel Klimek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 20 01:00:02 PDT 2017
klimek added a comment.
In https://reviews.llvm.org/D34263#784168, @akyrtzi wrote:
> In https://reviews.llvm.org/D34263#783694, @klimek wrote:
> > how many patches for single file mode are coming down the road, though? I'm somewhat concerned about the overall complexity it'll add to clang.
> There is no other patch for using this preprocessor option. Any related improvements down the road will be about general improvements for error recovery, for example things like this:
> - Introduce an `UnresolvedTypename` type instead of changing unresolved types to `int`.
> - For `@interace A : B`, don't completely drop `B` from the super-class list of `A` if it is unresolved. These kind of improvements are not conditional.
That's great! I was always hoping we'd get some diag improvements out of these :D
More information about the cfe-commits