llvm-project
67ff7695 - [clang][modules] Add warning for symlinks to modular headers (#188059)

Commit
51 days ago
[clang][modules] Add warning for symlinks to modular headers (#188059) Symlinks that are not covered by a module that point to a header owned by a module create situations where if a header is owned by a module depends on which headers were included prior. This adds a diagnostic for such cases when they can be detected, and informs the user to use a textual forwarding header instead. This bypasses Clang's FileManager and VFS as they don't know about symlinks. The diagnostic is worded as "may" because of this.
Author
Parents
Loading