diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-07-31 01:54:04 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-07-31 01:54:04 +0000 |
commit | 74ec5c03cab5a124b5923ff6270b89cbdf29af92 (patch) | |
tree | 68d21f12802ed29f37f9a19b0a8fe66666308496 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1f10cc5eb4c30f8082ac1d23d9d7f07e8a6d9f97 (diff) | |
download | llvm-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