]> granicus.if.org Git - clang/commit
Permit Exception Spec mismatch with NoThrow on inherited Virtual
authorErich Keane <erich.keane@intel.com>
Mon, 3 Jun 2019 18:36:26 +0000 (18:36 +0000)
committerErich Keane <erich.keane@intel.com>
Mon, 3 Jun 2019 18:36:26 +0000 (18:36 +0000)
commit3b2e3bff2defeb6a4e4c616cce8cfdea51d44b6a
tree7474e9a5420010c0e1c6bb069aaf7ae5d76c7c88
parent508d30929fc3fe36eaac97265d19165cc9030602
Permit Exception Spec mismatch with NoThrow on inherited Virtual

As reported here: https://bugs.llvm.org/show_bug.cgi?id=42100

This fairly common pattern ends up being an error in MinGW, so relax it
in all cases to a warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362434 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaExceptionSpec.cpp
test/SemaCXX/nothrow-vs-exception-specs.cpp