From e889855626aaa13168f5e4b77797499535686e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulysse=20G=C3=A9rard?= Date: Mon, 28 Sep 2020 16:03:53 +0200 Subject: [PATCH] Change doc comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulysse GĂ©rard --- src/dune_rules/cxx_flags.mli | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/dune_rules/cxx_flags.mli b/src/dune_rules/cxx_flags.mli index fcaa37cc81a9..4c8a9b38470c 100644 --- a/src/dune_rules/cxx_flags.mli +++ b/src/dune_rules/cxx_flags.mli @@ -1,14 +1,6 @@ (** This module contains a small database of flags that is used when compiling C - and C++ stubs. Indeed, both the C++ flags and the output arguments can - differ from one compiler to another. *) + and C++ stubs. *) -(** [default_with_output_args ~kind ctx destination] returns both the list of - default flags to compile C and C++ stubs and the correct output arguments - depending on the default C compiler: - - - For CXX the default flags will depend on the detected compiler - - For C the flags are the ones from [ocamlc -config] - - The returned flag list also include the feedback-directed optimizations - flags (FDO). *) +(** [get_flags c_compiler] returns the necessary flags to turn this compiler + into a c++ compiler for some of the most common compilers *) val get_flags : Ocaml_config.Ccomp_type.t -> string list