From 764b2229db1bc8570181b22bd0778d7247f27e29 Mon Sep 17 00:00:00 2001 From: Martin Trojer Date: Wed, 22 Jan 2020 05:01:42 -0800 Subject: [PATCH] [buck] also use the converted compdb paths before parsing Reviewed By: jvillard Differential Revision: D19513337 fbshipit-source-id: c21f11d38 --- infer/src/integration/Driver.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/src/integration/Driver.ml b/infer/src/integration/Driver.ml index bdd3a4ca7..bccc131c8 100644 --- a/infer/src/integration/Driver.ml +++ b/infer/src/integration/Driver.ml @@ -183,7 +183,7 @@ let capture_with_compilation_database db_files = `Escaped (Utils.filename_to_absolute ~root fname) | `Raw fname -> `Raw (Utils.filename_to_absolute ~root fname) ) ; - let compilation_database = CompilationDatabase.from_json_files db_files in + let compilation_database = CompilationDatabase.from_json_files !Config.clang_compilation_dbs in CaptureCompilationDatabase.capture_files_in_database compilation_database