aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2020-09-24 11:13:42 -0700
committerReid Kleckner <rnk@google.com>2020-09-24 11:16:54 -0700
commit3453b6928da332bb67f902add71f5cd80f61c136 (patch)
treed3d0ad6809a4e95f6907473cbe2c2cb33af805d5 /clang/lib/Frontend/CompilerInvocation.cpp
parente34bd1e0b03d20a506ada156d87e1b3a96d82fa2 (diff)
downloadllvm-3453b6928da332bb67f902add71f5cd80f61c136.zip
llvm-3453b6928da332bb67f902add71f5cd80f61c136.tar.gz
llvm-3453b6928da332bb67f902add71f5cd80f61c136.tar.bz2
Revert "Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions""
This reverts commit e39da8ab6a286ac777d5fe7799f1eb782cf99938. This depends on a change that needs additional design review and needs to be reverted.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 488a9dd..a88a911 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -2632,9 +2632,6 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK,
if (Args.hasArg(OPT_fno_cuda_host_device_constexpr))
Opts.CUDAHostDeviceConstexpr = 0;
- if (Args.hasArg(OPT_fgpu_defer_diag))
- Opts.GPUDeferDiag = 1;
-
if (Opts.CUDAIsDevice && Args.hasArg(OPT_fcuda_approx_transcendentals))
Opts.CUDADeviceApproxTranscendentals = 1;