llvm-project
fe2eefc4 - [clang][index] Handle undefined function-like macros in single file parse mode (#135054)

Commit
174 days ago
[clang][index] Handle undefined function-like macros in single file parse mode (#135054) The single file parse mode is supposed to enter both branches of an `#if` directive whenever the condition contains undefined identifiers. This patch adds support for undefined function-like macros, where we would previously emit an error that doesn't make sense from end-user perspective. (I discovered this while working on a very similar feature that parses single module only and doesn't enter either `#if` branch when the condition contains undefined identifiers.)
Author
Parents
Loading