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!
Paths
| Differential D50942
SemaExceptionSpec: ensure old/new specs are both parsed and evaluated when comparing AbandonedPublic Authored by elsteveogrande on Aug 18 2018, 6:49 PM.
Details
Summary 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!
Diff Detail
Event Timelineelsteveogrande added inline comments. elsteveogrande marked an inline comment as done. Comment Actionsfix dopey copy-paste error. Tested again with ninja check-clang-modules elsteveogrande marked an inline comment as done. Comment ActionsThis broke some tests. It fixes the test case added here under test/Modules but causes errors in test/CodeGenCXX and other dirs.
Revision Contents
Diff 161399 lib/Sema/SemaExceptionSpec.cpp
test/Modules/Inputs/lax-base-except/a.h
test/Modules/lax-base-except.cpp
|
Did you mean Old here?