use getLVForDecl for consistency.

No intended functionality change.

git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@182749 91177308-0d34-0410-b5e6-96231b3b80d8
Propagate VisibleNoLinkage down to class members.

Fixes PR16114.

git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@182750 91177308-0d34-0410-b5e6-96231b3b80d8