Find a best matching compile_command in the database against the path
pattern glob.
When searching for the compile command for a file, the compilation db can
return several commands, as the file may have been compiled with different
options in different parts of the project.
Find a best matching compile_command in the database against the path pattern glob.
When searching for the compile command for a file, the compilation db can return several commands, as the file may have been compiled with different options in different parts of the project.