HomePhabricator

[clang][HeaderInsert] Do not treat defines with values as header guards

Authored by kadircet on Aug 8 2020, 4:02 PM.

Description

[clang][HeaderInsert] Do not treat defines with values as header guards

This was resulting in inserting headers at bogus locations, see
https://github.com/ycm-core/YouCompleteMe/issues/3736 for an example.

Differential Revision: https://reviews.llvm.org/D85590

Details