[PATCH] D50942: SemaExceptionSpec: ensure old/new specs are both parsed and evaluated when comparing
Steve O'Brien via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 18 18:49:49 PDT 2018
elsteveogrande created this revision.
elsteveogrande added a reviewer: rsmith.
Herald added a subscriber: cfe-commits.
Before checking that the overriding definition of a method is not more lax than the overridden one, ensure the exception spec is parsed, and also evaluated.
Test case by Andrew Gallagher!
Repository:
rC Clang
https://reviews.llvm.org/D50942
Files:
lib/Sema/SemaExceptionSpec.cpp
test/Modules/Inputs/lax-base-except/a.h
test/Modules/Inputs/lax-base-except/module.modulemap
test/Modules/lax-base-except.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50942.161386.patch
Type: text/x-patch
Size: 3339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180819/868ee202/attachment.bin>
More information about the cfe-commits
mailing list