aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2021-02-25 13:20:59 +0100
committerJan Svoboda <jan_svoboda@apple.com>2021-02-26 13:17:51 +0100
commitcb81135f94e58ce0a0e91d764841acee90eeb59f (patch)
treec3155cf4a83c898f46b69e563a89fb2ee6f9435c /clang/lib/Frontend/CompilerInvocation.cpp
parent8dc70bdcd0fe4efb65876dce0144d9c3386a2f07 (diff)
downloadllvm-cb81135f94e58ce0a0e91d764841acee90eeb59f.zip
llvm-cb81135f94e58ce0a0e91d764841acee90eeb59f.tar.gz
llvm-cb81135f94e58ce0a0e91d764841acee90eeb59f.tar.bz2
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp5
1 files changed, 0 insertions, 5 deletions
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();