diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2019-02-08 17:38:09 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2019-02-08 17:38:09 +0000 |
commit | 5e62adad0d3cd54c09170150e982af9d0e6cb71d (patch) | |
tree | c1d5b5c21974ec4a25614b2185cfdd82752d47cf /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 478bb90779863e4faadc37eacd2c101b5cdf3b78 (diff) | |
download | bcm5719-llvm-5e62adad0d3cd54c09170150e982af9d0e6cb71d.tar.gz bcm5719-llvm-5e62adad0d3cd54c09170150e982af9d0e6cb71d.zip |
[OPENMP]Initial support for the delayed diagnostics.
It is important to delay the emission of the diagnostic messages for the
functions unless it is proved that the function is going to be used on
the device side. It is required to support compilation with some of the
target-specific system headers.
llvm-svn: 353540
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index b991a89e41b..bda8427b1a1 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -2827,7 +2827,6 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, // Set the flag to prevent the implementation from emitting device exception // handling code for those requiring so. - Opts.OpenMPHostCXXExceptions = Opts.Exceptions && Opts.CXXExceptions; if ((Opts.OpenMPIsDevice && T.isNVPTX()) || Opts.OpenCLCPlusPlus) { Opts.Exceptions = 0; Opts.CXXExceptions = 0; |