]> granicus.if.org Git - clang/commit
Fix for PR42089, regression from r362119
authorErich Keane <erich.keane@intel.com>
Fri, 31 May 2019 14:26:19 +0000 (14:26 +0000)
committerErich Keane <erich.keane@intel.com>
Fri, 31 May 2019 14:26:19 +0000 (14:26 +0000)
commit8c8519965391cbbeadb0bc83696716ea18b1a2fa
tree77f897cd608f4883082f9be8470ae19df21e3359
parent7c9c5922e0c09a794cbcdb9437915456399e6a63
Fix for PR42089, regression from r362119

The implementation of the NoThrow ExceptionSpecificationType missed a
switch statement for forming the diagnostic when an out-of-line member
redeclaration misses the exception specification.  This patch adds the
correct case statement.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362225 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExceptionSpec.cpp
test/SemaCXX/MicrosoftExtensions.cpp