#include "CompileCommands.h"
#include "Config.h"
#include "support/Logger.h"
#include "clang/Driver/Options.h"
#include "clang/Frontend/CompilerInvocation.h"
#include "clang/Tooling/ArgumentsAdjusters.h"
#include "llvm/Option/Option.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
#include "clang/Driver/Options.inc"
Go to the source code of this file.
|
#define | PREFIX(NAME, VALUE) static const char *const NAME[] = VALUE; |
|
#define | OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, HELP, METAVAR, VALUES) |
|
◆ OPTION
#define OPTION |
( |
|
PREFIX, |
|
|
|
NAME, |
|
|
|
ID, |
|
|
|
KIND, |
|
|
|
GROUP, |
|
|
|
ALIAS, |
|
|
|
ALIASARGS, |
|
|
|
FLAGS, |
|
|
|
PARAM, |
|
|
|
HELP, |
|
|
|
METAVAR, |
|
|
|
VALUES |
|
) |
| |
Value:if (DriverID::OPT_##ALIAS != DriverID::OPT_INVALID && ALIASARGS == nullptr) \
AddAlias(DriverID::OPT_##ID, DriverID::OPT_##ALIAS); \
Prefixes[DriverID::OPT_##ID] =
PREFIX;
◆ PREFIX
#define PREFIX |
( |
|
NAME, |
|
|
|
VALUE |
|
) |
| static const char *const NAME[] = VALUE; |
◆ DriverMode
enum clang::clangd::@678::DriverMode : unsigned char |