diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-05-31 01:30:30 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2014-05-31 01:30:30 +0000 |
commit | 613807b4d0c19b5ebd3fd3a5bc106d4a34324cc5 (patch) | |
tree | 5571132faaa1c0f87e7f05b2cbf50fc2be11bb40 /llvm/unittests/Support/ProgramTest.cpp | |
parent | cb82dfb11c95e671dbacd66a066114e7e88678ac (diff) | |
download | bcm5719-llvm-613807b4d0c19b5ebd3fd3a5bc106d4a34324cc5.tar.gz bcm5719-llvm-613807b4d0c19b5ebd3fd3a5bc106d4a34324cc5.zip |
Make Attr::Clone() also clone the Inherited, IsPackExpansion and Implicit flags
I was bitten by this when working with the dll attributes: when a dll
attribute was cloned from a class template declaration to its
specialization, the Inherited flag didn't get cloned.
Differential Revision: http://reviews.llvm.org/D3972
llvm-svn: 209950
Diffstat (limited to 'llvm/unittests/Support/ProgramTest.cpp')
0 files changed, 0 insertions, 0 deletions