mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
build(IWYU): replace public-to-public mappings with pragmas (#26237)
This commit is contained in:
@@ -1090,7 +1090,7 @@ def CheckIncludes(filename, lines, error):
|
||||
return
|
||||
|
||||
for i, line in enumerate(lines):
|
||||
matched = Match(r'#\s*include\s*"([^"]*)"$', line)
|
||||
matched = Match(r'#\s*include\s*"([^"]*)"', line)
|
||||
if matched:
|
||||
name = matched.group(1)
|
||||
if (not name.endswith('.h.generated.h') and
|
||||
|
Reference in New Issue
Block a user