HomePhabricator

Suppress nothrow/exception spec conflict warning when ES is parsed.

Authored by erichkeane on May 31 2019, 8:56 AM.

Description

Suppress nothrow/exception spec conflict warning when ES is parsed.

The previously added warning ended up causing false positives when
nothrow was used on member functions, where the exception specification
wasn't yet parsed. So, throw() and noexcept(true) both were incorrectly
warning. There doesn't seem to be a good way to force these to be parsed
to identify which they are (and likely should not be), so suppress the warning.

For now, unevaluated/uninstantiated are left as warnings as I am not
creative enough to find a reproducer that causes a false positive for
either.

llvm-svn: 362236

Details

Committed
erichkeaneMay 31 2019, 8:56 AM
Parents
rG7477fcd93a8c: [PPC64][test] Delete redundant labels from ppc64-relocs.s
Branches
Unknown
Tags
Unknown