Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [preprocessor] Fix assertion hit when 'SingleFileParseMode' option is ↵ | Argyrios Kyrtzidis | 2017-06-21 | 1 | -0/+10 |
| | | | | | | | | enabled and #if with an undefined identifier and without #else 'HandleEndifDirective' asserts that 'WasSkipping' is false, so switch to using 'FoundNonSkip' as the hint for 'SingleFileParseMode' to keep going with parsing. llvm-svn: 305940 | ||||
* | [preprocessor] When preprocessor option 'SingleFileParseMode' is enabled, ↵ | Argyrios Kyrtzidis | 2017-06-20 | 1 | -0/+111 |
parse all directive blocks if the condition uses undefined macros This is useful for being able to parse the preprocessor directive blocks even if the header, that defined the macro that is checked, hasn't been included. Differential Revision: https://reviews.llvm.org/D34263 llvm-svn: 305797 |