AST: Cleanup/simplify some LV calculation code

No functional change.

git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@206943 91177308-0d34-0410-b5e6-96231b3b80d8
MS ABI: Cleanup some egregious style violations

No functional change.

git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@206944 91177308-0d34-0410-b5e6-96231b3b80d8
MS ABI: Use range-based for loops in the mangler

No functional change.

git-svn-id: http://llvm.org/svn/llvm-project/cfe/trunk@206945 91177308-0d34-0410-b5e6-96231b3b80d8
MS ABI: Implement mangling for ref-qualifiers on methods

Mangle ref-qualifiers like the Nov 2013 CTP.

This fixes PR19361.

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