We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cd1de3 commit 1a81c44Copy full SHA for 1a81c44
compdb/includedb.py
@@ -201,6 +201,8 @@ def get_compile_commands(self, path):
201
for compile_command in self.database.get_compile_commands(best):
202
yield compdb.complementer.headerdb.derive_compile_command(
203
path, compile_command)
204
+ # stop after one compile command
205
+ break
206
207
def get_all_files(self):
208
return iter(self.graph.keys())
0 commit comments