summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-22 15:11:51 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-22 15:11:51 +0000
commit623c3d84898c81e4525ff0b9715233abd7c3bc14 (patch)
tree4a9104798e80fb9e0601727645520b76f5274062 /clang/tools/c-index-test/c-index-test.c
parente7de47efbec4f33a9d5e111e19eca14c5f79c19a (diff)
downloadbcm5719-llvm-623c3d84898c81e4525ff0b9715233abd7c3bc14.tar.gz
bcm5719-llvm-623c3d84898c81e4525ff0b9715233abd7c3bc14.zip
Replace archive members in the old position.
This matches gnu archive behavior and since archive member order can change which member is used, not changing the order on replacement looks like the right thing to do. This patch also refactors the logic for which archive member to keep and whether to move it to a helper function (computeInsertAction). The nesting in computeNewArchiveMembers was getting a bit confusing. llvm-svn: 186829
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud