зеркало из https://github.com/microsoft/clang-1.git
Driver: Emit an unsupported error on -iframework.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71698 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
7ef455be9b
Коммит
95a0da7b26
|
@ -462,6 +462,7 @@ OPTION("-g", g_Flag, Flag, g_Group, INVALID, "", 0, 0, 0)
|
|||
OPTION("-g", g_Joined, Joined, g_Group, INVALID, "", 0, 0, 0)
|
||||
OPTION("-headerpad_max_install_names", headerpad__max__install__names, Joined, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-idirafter", idirafter, JoinedOrSeparate, clang_i_Group, INVALID, "", 0, 0, 0)
|
||||
OPTION("-iframework", iframework, JoinedOrSeparate, clang_i_Group, INVALID, "", 0, 0, 0)
|
||||
OPTION("-imacros", imacros, JoinedOrSeparate, clang_i_Group, INVALID, "", 0, 0, 0)
|
||||
OPTION("-image_base", image__base, Separate, INVALID, INVALID, "", 0, 0, 0)
|
||||
OPTION("-include", include, JoinedOrSeparate, clang_i_Group, INVALID, "", 0, 0, 0)
|
||||
|
|
|
@ -391,7 +391,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
|
||||
Arg *Unsupported;
|
||||
if ((Unsupported = Args.getLastArg(options::OPT_MG)) ||
|
||||
(Unsupported = Args.getLastArg(options::OPT_MQ)))
|
||||
(Unsupported = Args.getLastArg(options::OPT_MQ)) ||
|
||||
(Unsupported = Args.getLastArg(options::OPT_iframework)))
|
||||
D.Diag(clang::diag::err_drv_unsupported_opt)
|
||||
<< Unsupported->getOption().getName();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче