Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2298

IWYU runs twice on files that show up in exported lib variants

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • build
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: