Loading lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp +5 −5 Original line number Diff line number Diff line Loading @@ -45,10 +45,10 @@ AppleObjCTypeEncodingParser::ReadStructElementName(lldb_utility::StringLexer& ty return buffer.GetString(); } uint uint32_t AppleObjCTypeEncodingParser::ReadNumber (lldb_utility::StringLexer& type) { uint total = 0; uint32_t total = 0; while (type.HasAtLeast(1) && isdigit(type.Peek())) total = 10*total + (type.Next() - '0'); return total; Loading Loading @@ -90,7 +90,7 @@ AppleObjCTypeEncodingParser::BuildUnion (clang::ASTContext &ast_ctx, lldb_utilit } clang::QualType AppleObjCTypeEncodingParser::BuildAggregate (clang::ASTContext &ast_ctx, lldb_utility::StringLexer& type, bool allow_unknownanytype, char opener, char closer, uint kind) AppleObjCTypeEncodingParser::BuildAggregate (clang::ASTContext &ast_ctx, lldb_utility::StringLexer& type, bool allow_unknownanytype, char opener, char closer, uint32_t kind) { if (!type.NextIf(opener)) return clang::QualType(); Loading Loading @@ -148,7 +148,7 @@ AppleObjCTypeEncodingParser::BuildArray (clang::ASTContext &ast_ctx, lldb_utilit { if (!type.NextIf('[')) return clang::QualType(); uint size = ReadNumber(type); uint32_t size = ReadNumber(type); clang::QualType element_type(BuildType(ast_ctx, type, allow_unknownanytype)); if (!type.NextIf(']')) return clang::QualType(); Loading Loading @@ -214,7 +214,7 @@ AppleObjCTypeEncodingParser::BuildType (clang::ASTContext &ast_ctx, StringLexer& if (type.NextIf('b')) { uint size = ReadNumber(type); uint32_t size = ReadNumber(type); if (bitfield_bit_size) { *bitfield_bit_size = size; Loading lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.h +2 −2 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ namespace lldb_private { BuildStruct (clang::ASTContext &ast_ctx, lldb_utility::StringLexer& type, bool allow_unknownanytype); clang::QualType BuildAggregate (clang::ASTContext &ast_ctx, lldb_utility::StringLexer& type, bool allow_unknownanytype, char opener, char closer, uint kind); BuildAggregate (clang::ASTContext &ast_ctx, lldb_utility::StringLexer& type, bool allow_unknownanytype, char opener, char closer, uint32_t kind); clang::QualType BuildUnion (clang::ASTContext &ast_ctx, lldb_utility::StringLexer& type, bool allow_unknownanytype); Loading @@ -68,7 +68,7 @@ namespace lldb_private { std::string ReadStructElementName(lldb_utility::StringLexer& type); uint uint32_t ReadNumber (lldb_utility::StringLexer& type); }; Loading Loading
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp +5 −5 Original line number Diff line number Diff line Loading @@ -45,10 +45,10 @@ AppleObjCTypeEncodingParser::ReadStructElementName(lldb_utility::StringLexer& ty return buffer.GetString(); } uint uint32_t AppleObjCTypeEncodingParser::ReadNumber (lldb_utility::StringLexer& type) { uint total = 0; uint32_t total = 0; while (type.HasAtLeast(1) && isdigit(type.Peek())) total = 10*total + (type.Next() - '0'); return total; Loading Loading @@ -90,7 +90,7 @@ AppleObjCTypeEncodingParser::BuildUnion (clang::ASTContext &ast_ctx, lldb_utilit } clang::QualType AppleObjCTypeEncodingParser::BuildAggregate (clang::ASTContext &ast_ctx, lldb_utility::StringLexer& type, bool allow_unknownanytype, char opener, char closer, uint kind) AppleObjCTypeEncodingParser::BuildAggregate (clang::ASTContext &ast_ctx, lldb_utility::StringLexer& type, bool allow_unknownanytype, char opener, char closer, uint32_t kind) { if (!type.NextIf(opener)) return clang::QualType(); Loading Loading @@ -148,7 +148,7 @@ AppleObjCTypeEncodingParser::BuildArray (clang::ASTContext &ast_ctx, lldb_utilit { if (!type.NextIf('[')) return clang::QualType(); uint size = ReadNumber(type); uint32_t size = ReadNumber(type); clang::QualType element_type(BuildType(ast_ctx, type, allow_unknownanytype)); if (!type.NextIf(']')) return clang::QualType(); Loading Loading @@ -214,7 +214,7 @@ AppleObjCTypeEncodingParser::BuildType (clang::ASTContext &ast_ctx, StringLexer& if (type.NextIf('b')) { uint size = ReadNumber(type); uint32_t size = ReadNumber(type); if (bitfield_bit_size) { *bitfield_bit_size = size; Loading
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.h +2 −2 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ namespace lldb_private { BuildStruct (clang::ASTContext &ast_ctx, lldb_utility::StringLexer& type, bool allow_unknownanytype); clang::QualType BuildAggregate (clang::ASTContext &ast_ctx, lldb_utility::StringLexer& type, bool allow_unknownanytype, char opener, char closer, uint kind); BuildAggregate (clang::ASTContext &ast_ctx, lldb_utility::StringLexer& type, bool allow_unknownanytype, char opener, char closer, uint32_t kind); clang::QualType BuildUnion (clang::ASTContext &ast_ctx, lldb_utility::StringLexer& type, bool allow_unknownanytype); Loading @@ -68,7 +68,7 @@ namespace lldb_private { std::string ReadStructElementName(lldb_utility::StringLexer& type); uint uint32_t ReadNumber (lldb_utility::StringLexer& type); }; Loading