aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/ASTConsumers.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-07-31 01:54:04 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-07-31 01:54:04 +0000
commita78a640c5f59720f2c2b8034eca4fbf8525d9026 (patch)
tree3a642f9983bbdfc8600d958599cafc1c8d94327f /lib/Frontend/ASTConsumers.cpp
parent761322b3bdea727de087dcdf355fee689f5b8358 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/ASTConsumers.cpp')
0 files changed, 0 insertions, 0 deletions