diff options
| author | Aleksandr Urakov <aleksandr.urakov@jetbrains.com> | 2018-09-11 14:03:12 +0000 |
|---|---|---|
| committer | Aleksandr Urakov <aleksandr.urakov@jetbrains.com> | 2018-09-11 14:03:12 +0000 |
| commit | 35725c989431ecc5125e13cdda73c2de160bb65b (patch) | |
| tree | 0d6397845f1f821f3ed09ef97cb2d89552fe7aff /lldb/source/Plugins/SymbolFile | |
| parent | 01db2983cd3199d06d6572789ad6b9a4f278bee2 (diff) | |
| download | bcm5719-llvm-35725c989431ecc5125e13cdda73c2de160bb65b.tar.gz bcm5719-llvm-35725c989431ecc5125e13cdda73c2de160bb65b.zip | |
[PDB] Fix problems after rL341782
Summary:
This commit fixes following problems after rL341782:
- Broken SymbolFilePDBTests
- Warning on comparison of integers of different signs
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D51162
llvm-svn: 341942
Diffstat (limited to 'lldb/source/Plugins/SymbolFile')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp b/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp index b4a106ad064..3406dfd3326 100644 --- a/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp +++ b/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp @@ -919,7 +919,7 @@ clang::DeclContext *PDBASTParser::GetDeclContextContainingSymbol( // Split context and retrieve nested namespaces auto curr_context = m_ast.GetTranslationUnitDecl(); - auto from = 0; + std::string::size_type from = 0; while (from < context_size) { auto to = context.find("::", from); if (to == std::string::npos) |

