Skip to content
Commit 74ec5c03 authored by Rafael Espindola's avatar Rafael Espindola
Browse files

Attributes preceding a function declaration are first applied to the return

type and then propagated to the function. This was failing for destructors,
constructors and constructors templates since they don't have a return type.

Fix that by directly calling processTypeAttrs on the dummy type we use as the
return type in these cases.

llvm-svn: 161020
parent 1f10cc5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment