build(IWYU): replace public-to-public mappings with pragmas (#26237)

This commit is contained in:
zeertzjq
2023-11-27 09:51:26 +08:00
committed by GitHub
parent 7e2387f41b
commit 09541d514d
41 changed files with 76 additions and 117 deletions

View File

@@ -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