Add back an accidentally deleted line clang_compilation_database.py

This commit is contained in:
Rafaël Kooi 2019-11-10 15:43:45 +01:00 committed by Thomas Nagy
parent 3832f5c94b
commit c0c4e29c9f
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ class ClangDbContext(Build.BuildContext):
cmd = task.last_cmd
except AttributeError:
continue
directory = getattr(task, 'cwd', self.variant_dir)
f_node = task.inputs[0]
filename = f_node.path_from(task.get_cwd())
entry = {