[compilation database] Disable C++ modules

Reviewed By: da319

Differential Revision: D13102792

fbshipit-source-id: 96fce32c6
master
Mehdi Bouaziz 6 years ago committed by Facebook Github Bot
parent 6d12d67613
commit bc1e048fe3

@ -74,7 +74,9 @@ let get_compilation_database_files_buck ~prog ~args =
let targets_args = Buck.store_args_in_file targets in let targets_args = Buck.store_args_in_file targets in
let build_args = let build_args =
(command :: List.rev_append rev_not_targets (List.rev Config.buck_build_args_no_inline)) (command :: List.rev_append rev_not_targets (List.rev Config.buck_build_args_no_inline))
@ ("--config" :: "*//cxx.pch_enabled=false" :: targets_args) @ (* Infer doesn't support C++ modules nor precompiled headers yet (T35656509) *)
"--config" :: "*//cxx.pch_enabled=false" :: "--config" :: "*//cxx.modules_default=false"
:: "--config" :: "*//cxx.modules=False" :: targets_args
in in
Logging.(debug Linters Quiet) Logging.(debug Linters Quiet)
"Processed buck command is: 'buck %a'@\n" (Pp.seq F.pp_print_string) build_args ; "Processed buck command is: 'buck %a'@\n" (Pp.seq F.pp_print_string) build_args ;

Loading…
Cancel
Save