This is an archive of the discontinued LLVM Phabricator instance.

Look through typedefs in getFunctionTypeWithExceptionSpec
ClosedPublic

Authored by sberg on Feb 11 2019, 8:47 AM.

Diff Detail

Repository
rC Clang

Event Timeline

sberg created this revision.Feb 11 2019, 8:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 11 2019, 8:47 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
sberg added a comment.Feb 11 2019, 8:50 AM

The change itself should probably be uncontroversial (the bad cast had been there ever since getFunctionTypeWithExceptionSpec had been introduced with r221918), but I'm not sure about the test: It tests the relevant code somewhat indirectly; is it fine in clang/test/AST/?; or is such a test even overkill?

This revision was not accepted when it landed; it landed in state Needs Review.Feb 13 2019, 1:42 AM
This revision was automatically updated to reflect the committed changes.
sberg added a comment.Feb 13 2019, 1:44 AM

committed for now to get the crash fixed; if there are issues with the test they can be addressed later