commit | c7e606086a8d44c4e84ac3d47289288534c79bc6 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Thu Apr 19 05:50:08 2012 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Thu Apr 19 05:50:08 2012 +0000 |
tree | 3151eaf97133cc018c81b439e5fa599e7378c5cb | |
parent | 1c7eed7e6ea2b357aa94581a90018ddbdcb41cbf [diff] |
In mergeVisibility, if we already have an explicit visibility, keep it. This fixes the included testcase and lets us simplify the code a bit. It does require using mergeWithMin when merging class information to its members. Expand the comments to explain why that works. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155103 91177308-0d34-0410-b5e6-96231b3b80d8