Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The iwyu tool uses the compile_commands.json database to figure out how to compile each .cc file. For cc files that are built twice (once for client and once for server), there are two entries in the compilation command database, and IWYU runs twice on them. That makes IWYU take longer than necessary and also produce redundant output which can be hard to read.