From cb81135f94e58ce0a0e91d764841acee90eeb59f Mon Sep 17 00:00:00 2001 From: Jan Svoboda Date: Thu, 25 Feb 2021 13:20:59 +0100 Subject: [clang][cli] Implement '-cuid=' marshalling This patch adds marshalling to the `-cuid=` option introduced in D95007. Reviewed By: Bigcheese Differential Revision: https://reviews.llvm.org/D97461 --- clang/lib/Frontend/CompilerInvocation.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index dac6418..a3b4855 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -3585,11 +3585,6 @@ bool CompilerInvocation::ParseLangArgs(LangOptions &Opts, ArgList &Args, } } - - if (auto *A = Args.getLastArg(OPT_cuid_EQ)) { - Opts.CUID = std::string(A->getValue()); - } - if (Opts.ObjC) { if (Arg *arg = Args.getLastArg(OPT_fobjc_runtime_EQ)) { StringRef value = arg->getValue(); -- cgit v1.1