Currently, glob sometimes includes translation units which are not in the compilation database, which causes issues due to invalid flags.
Also, it would be nice to add an option to exclude translation units using the glob pattern in addition to including them...