llvm/unittests/DebugInfo
Adrian McCarthy b841963b25 Make IPDBSession::getGlobalScope a non-const method
There doesn't seem to be a compelling reason why this method should be const
other than it was possible with the DIA implementation.  The native session
is going to act as a symbol factory and cache.  This could be acheived with
mutable (and the existing const_cast), but it seems cleaner to accept that
this method affects the state of the session.

This change eliminates an existing const_cast.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306041 91177308-0d34-0410-b5e6-96231b3b80d8
2017-06-22 18:42:23 +00:00
..
CodeView [PDB] Add symbols to the PDB 2017-06-21 17:25:56 +00:00
DWARF Added braces to work around gcc warning in googletest: suggest explicit braces to avoid ambiguous 'else'. NFC. 2017-06-15 21:00:40 +00:00
PDB Make IPDBSession::getGlobalScope a non-const method 2017-06-22 18:42:23 +00:00
CMakeLists.txt [CodeView] Add a random access type visitor. 2017-05-12 19:18:12 +00:00