1 //===--- Options.h - Option info & table ------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_CLANG_DRIVER_OPTIONS_H
11 #define LLVM_CLANG_DRIVER_OPTIONS_H
25 /// Flags specifically for clang options. Must not overlap with
26 /// llvm::opt::DriverFlag.
28 DriverOption = (1 << 4),
29 LinkerInput = (1 << 5),
30 NoArgumentUnused = (1 << 6),
31 Unsupported = (1 << 7),
32 CoreOption = (1 << 8),
34 CC1Option = (1 << 10),
35 CC1AsOption = (1 << 11),
36 NoDriverOption = (1 << 12),
41 OPT_INVALID = 0, // This is not an option ID.
42 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \
43 HELPTEXT, METAVAR) OPT_##ID,
44 #include "clang/Driver/Options.inc"
50 std::unique_ptr<llvm::opt::OptTable> createDriverOptTable();