diff options
author | kadir çetinkaya <kadircet@google.com> | 2024-07-22 14:58:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-22 14:58:07 +0200 |
commit | 2f5dc596b5719e5ed7f6978dafbce994f425a033 (patch) | |
tree | 774cb6bc257346bdec36fb32a228fd5e37b5283b /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 5b8479bc28a8641f02be3d64f87770b9e0b1a427 (diff) | |
download | llvm-2f5dc596b5719e5ed7f6978dafbce994f425a033.zip llvm-2f5dc596b5719e5ed7f6978dafbce994f425a033.tar.gz llvm-2f5dc596b5719e5ed7f6978dafbce994f425a033.tar.bz2 |
[IncludeCleaner] Also check for spellings of physical headers (#99843)
Some physical headers can have "conflicting" spellings, when same
filename exists under two different include search paths. e.g.
<stdlib.h>
can be provided by both standard library and underlying libc headers. In
such scenarios if the usage is from the latter include-search path,
users can't spell it directly.
This patch ensures we also consider spellings of such includes, in
addition to their physical files to prevent conflicting suggestions.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions