[PATCH] D34263: [preprocessor] When preprocessor option 'SingleFileParseMode' is enabled, parse all directive blocks if the condition uses undefined macros

Argyrios Kyrtzidis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 19 09:14:31 PDT 2017

akyrtzi added a comment.

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.


More information about the cfe-commits mailing list