CLCompatOptions.td revision 6981330cc231e4e2ccbd38679209e04b776483eb
1//===--- CLCompatOptions.td - Options for clang-cl ------------------------===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10//  This file defines the options accepted by clang-cl.
11//
12//===----------------------------------------------------------------------===//
13
14def cl_Group : OptionGroup<"<clang-cl options>">,
15    HelpText<"CL.EXE COMPATIBILITY OPTIONS">;
16
17class CLFlag<string name> : Option<["/", "-"], name, KIND_FLAG>,
18    Group<cl_Group>, Flags<[CLOption]>;
19
20def _QUESTION : CLFlag<"?">, Alias<help>, HelpText<"Display available options">;
21def cl_help : CLFlag<"help">, Alias<help>, HelpText<"Display available options">;
22