Skip to content

implement features #9

@rizsotto

Description

@rizsotto

Hey Guillaume, nice tool you've wrote. I was wondering that what's your opinion to implement these compilation database manipulations?

  • convert all file path to relative from absolute
  • convert all file path to absolute from relative

(Paths can be in directory and file, but also in the command arguments too. Like -I/path/to/include or -o /path/to/output.)

  • filter out duplicate entries.
  • filter compilation commands arguments.

(Duplicates could be when the directory and file, but the command has minor irrelevant differences like -MD or -static which are either preprocessing or linking flags. That's where the flag filtering could help.)

  • exclude files with pattern

(Some project contains dependency code, which they might not want to run the tooling against.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions