aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2020-01-13 07:45:17 -0800
committerErich Keane <erich.keane@intel.com>2020-01-13 13:51:48 -0800
commitf0719bf2196c807351137ff30e39fd12aa5aa884 (patch)
treeb7e27fafe932e1ad5c6bcf5cf58e09aaddd48e84 /clang/lib/Frontend/CompilerInvocation.cpp
parent31441a3e007833a180b0112550eddb78547771f2 (diff)
downloadllvm-f0719bf2196c807351137ff30e39fd12aa5aa884.zip
llvm-f0719bf2196c807351137ff30e39fd12aa5aa884.tar.gz
llvm-f0719bf2196c807351137ff30e39fd12aa5aa884.tar.bz2
PR44514: Fix recovery from noexcept with non-convertible expressions
We currently treat noexcept(not-convertible-to-bool) as 'none', which results in the typeloc info being a different size, and causing an assert later on in the process. In order to make recovery less destructive, replace this with noexcept(false) and a constructed 'false' expression. Bug Report: https://bugs.llvm.org/show_bug.cgi?id=44514 Differential Revision: https://reviews.llvm.org/D72621
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions