HomePhabricator

Make NoThrow FunctionLike, make FunctionLike include references, fix prettyprint

Authored by erichkeane on Jun 3 2019, 11:36 AM.

Description

Make NoThrow FunctionLike, make FunctionLike include references, fix prettyprint

__declspec(nothrow) should work on function pointers as well as function
references, so this changes it to FunctionLike. Additionally,
FunctionLike needed to be modified to permit function references.

Finally, the TypePrinter didn't properly print the NoThrow exception
specifier, so make sure we get that right as well.

llvm-svn: 362435

Details

Committed
erichkeaneJun 3 2019, 11:36 AM
Parents
rG81ef625080cb: Permit Exception Spec mismatch with NoThrow on inherited Virtual
Branches
Unknown
Tags
Unknown