зеркало из https://github.com/microsoft/clang-1.git
Rename -nostdclanginc to -nobuiltininc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85116 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
99f3b7902f
Коммит
8d737cc78c
|
@ -559,6 +559,7 @@ OPTION("-m", m_Joined, Joined, m_Group, INVALID, "", 0, 0, 0)
|
|||
OPTION("-no-cpp-precomp", no_cpp_precomp, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-no-integrated-cpp", no_integrated_cpp, Flag, INVALID, INVALID, "d", 0, 0, 0)
|
||||
OPTION("-no_dead_strip_inits_and_terms", no__dead__strip__inits__and__terms, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-nobuiltininc", nobuiltininc, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-nodefaultlibs", nodefaultlibs, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-nofixprebinding", nofixprebinding, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-nolibc", nolibc, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
|
@ -566,7 +567,6 @@ OPTION("-nomultidefs", nomultidefs, Flag, INVALID, INVALID, "", 0, 0, 0)
|
|||
OPTION("-noprebind", noprebind, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-noseglinkedit", noseglinkedit, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-nostartfiles", nostartfiles, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-nostdclanginc", nostdclanginc, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-nostdinc", nostdinc, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-nostdlib", nostdlib, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-object", object, Flag, INVALID, INVALID, "", 0, 0, 0)
|
||||
|
|
|
@ -736,7 +736,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
CmdArgs.push_back("-g");
|
||||
|
||||
Args.AddLastArg(CmdArgs, options::OPT_nostdinc);
|
||||
Args.AddLastArg(CmdArgs, options::OPT_nostdclanginc);
|
||||
Args.AddLastArg(CmdArgs, options::OPT_nobuiltininc);
|
||||
|
||||
Args.AddLastArg(CmdArgs, options::OPT_isysroot);
|
||||
|
||||
|
|
|
@ -1099,8 +1099,8 @@ static llvm::cl::opt<bool>
|
|||
nostdinc("nostdinc", llvm::cl::desc("Disable standard #include directories"));
|
||||
|
||||
static llvm::cl::opt<bool>
|
||||
nostdclanginc("nostdclanginc",
|
||||
llvm::cl::desc("Disable standard clang #include directories"));
|
||||
nobuiltininc("nobuiltininc",
|
||||
llvm::cl::desc("Disable builtin #include directories"));
|
||||
|
||||
// Various command line options. These four add directories to each chain.
|
||||
static llvm::cl::list<std::string>
|
||||
|
@ -1240,7 +1240,7 @@ void InitializeIncludePaths(const char *Argv0, HeaderSearch &Headers,
|
|||
|
||||
Init.AddDefaultEnvVarPaths(Lang);
|
||||
|
||||
if (!nostdclanginc)
|
||||
if (!nobuiltininc)
|
||||
AddClangIncludePaths(Argv0, &Init);
|
||||
|
||||
if (!nostdinc)
|
||||
|
|
Загрузка…
Ссылка в новой задаче