diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-23 21:54:07 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-23 21:54:07 +0000 |
commit | 9b9cc2dad4f8200acdef7cc7f4a618c119932550 (patch) | |
tree | 0c8a557ab4da2fc152ac360b42d99e48122ef603 /lldb/scripts/Python/interface/SBSourceManager.i | |
parent | 0850871f67c2ba2fcf130f096a23921fb4caffa6 (diff) | |
download | bcm5719-llvm-9b9cc2dad4f8200acdef7cc7f4a618c119932550.tar.gz bcm5719-llvm-9b9cc2dad4f8200acdef7cc7f4a618c119932550.zip |
DebugInfo: Overload get() in DIDescriptor subclasses
Continue to simplify the `DIDescriptor` subclasses, so that they behave
more like raw pointers. Remove `getRaw()`, replace it with an
overloaded `get()`, and overload the arrow and cast operators. Two
testcases started to crash on the arrow operators with this change
because of `scope:` references that weren't real scopes. I fixed them.
Soon I'll add verifier checks for them too.
This also adds explicit dereference operators. Previously, the builtin
dereference against `operator MDNode *()` would have worked, but now the
builtins are ambiguous.
llvm-svn: 233030
Diffstat (limited to 'lldb/scripts/Python/interface/SBSourceManager.i')
0 files changed, 0 insertions, 0 deletions