You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
751 B
22 lines
751 B
7 years ago
|
(*
|
||
6 years ago
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
7 years ago
|
*
|
||
7 years ago
|
* This source code is licensed under the MIT license found in the
|
||
|
* LICENSE file in the root directory of this source tree.
|
||
7 years ago
|
*)
|
||
|
|
||
7 years ago
|
(** module for escaping clang arguments on the command line and put them into files *)
|
||
7 years ago
|
|
||
7 years ago
|
open! IStd
|
||
7 years ago
|
|
||
|
(** quoting style of the arguments *)
|
||
|
type style =
|
||
|
| EscapedDoubleQuotes
|
||
|
(** the arguments should be enclosed in "double quotes" and are already escaped *)
|
||
|
| SingleQuotes (** the arguments should be enclosed in 'single quotes' and have to be escaped *)
|
||
|
| EscapedNoQuotes (** the arguments should not be enclosed in quotes and are already escaped *)
|
||
|
|
||
|
val quote : style -> string -> string
|
||
|
|
||
|
val mk_arg_file : string -> style -> string list -> string
|