-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
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
Labels
No labels