aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.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
commit74ec5c03cab5a124b5923ff6270b89cbdf29af92 (patch)
tree68d21f12802ed29f37f9a19b0a8fe66666308496 /clang/lib/Frontend/CompilerInvocation.cpp
parent1f10cc5eb4c30f8082ac1d23d9d7f07e8a6d9f97 (diff)
downloadllvm-74ec5c03cab5a124b5923ff6270b89cbdf29af92.zip
llvm-74ec5c03cab5a124b5923ff6270b89cbdf29af92.tar.gz
llvm-74ec5c03cab5a124b5923ff6270b89cbdf29af92.tar.bz2
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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions