Lines Matching refs:decl

184                                     Declaration &decl) {  in GetDeclarationForSymbol()  argument
203 decl.SetFile(spec); in GetDeclarationForSymbol()
204 decl.SetColumn(first_line_up->getColumnNumber()); in GetDeclarationForSymbol()
205 decl.SetLine(first_line_up->getLineNumber()); in GetDeclarationForSymbol()
363 Declaration decl; in CreateLLDBTypeFromPDBType() local
457 GetDeclarationForSymbol(type, decl); in CreateLLDBTypeFromPDBType()
461 lldb_private::Type::eEncodingIsUID, decl, clang_type, in CreateLLDBTypeFromPDBType()
501 OptionalClangModuleID(), decl, in CreateLLDBTypeFromPDBType()
527 GetDeclarationForSymbol(type, decl); in CreateLLDBTypeFromPDBType()
530 nullptr, LLDB_INVALID_UID, lldb_private::Type::eEncodingIsUID, decl, in CreateLLDBTypeFromPDBType()
573 GetDeclarationForSymbol(type, decl); in CreateLLDBTypeFromPDBType()
580 lldb_private::Type::eEncodingIsTypedefUID, decl, ast_typedef, in CreateLLDBTypeFromPDBType()
654 GetDeclarationForSymbol(type, decl); in CreateLLDBTypeFromPDBType()
658 lldb_private::Type::eEncodingIsUID, decl, func_sig_ast_type, in CreateLLDBTypeFromPDBType()
696 decl, array_ast_type, lldb_private::Type::ResolveState::Full); in CreateLLDBTypeFromPDBType()
724 nullptr, LLDB_INVALID_UID, lldb_private::Type::eEncodingIsUID, decl, in CreateLLDBTypeFromPDBType()
755 lldb_private::Type::eEncodingIsUID, decl, pointer_ast_type, in CreateLLDBTypeFromPDBType()
780 lldb_private::Type::eEncodingIsUID, decl, pointer_ast_type, in CreateLLDBTypeFromPDBType()
857 clang::Decl *decl = m_uid_to_decl.lookup(sym_id); in GetDeclForSymbol() local
858 if (decl) in GetDeclForSymbol()
859 return decl; in GetDeclForSymbol()
874 decl = m_uid_to_decl.lookup(method->getSymIndexId()); in GetDeclForSymbol()
875 if (decl) in GetDeclForSymbol()
884 if (!decl) in GetDeclForSymbol()
885 decl = AddRecordMethod(*symbol_file, class_parent_ct, *func); in GetDeclForSymbol()
888 if (decl) in GetDeclForSymbol()
889 m_uid_to_decl[sym_id] = decl; in GetDeclForSymbol()
891 return decl; in GetDeclForSymbol()
917 clang::Decl *decl = in GetDeclForSymbol() local
919 if (!decl) { in GetDeclForSymbol()
924 decl = m_ast.CreateVariableDeclaration( in GetDeclForSymbol()
929 m_uid_to_decl[sym_id] = decl; in GetDeclForSymbol()
931 return decl; in GetDeclForSymbol()
950 auto decl = m_ast.CreateFunctionDeclaration( in GetDeclForSymbol() local
965 decl, OptionalClangModuleID(), nullptr, in GetDeclForSymbol()
973 m_ast.SetFunctionParameters(decl, params); in GetDeclForSymbol()
975 m_uid_to_decl[sym_id] = decl; in GetDeclForSymbol()
977 return decl; in GetDeclForSymbol()
1145 Declaration decl; in AddEnumValue() local
1182 enum_type, decl, name.c_str(), raw_value, byte_size * 8); in AddEnumValue()
1267 auto decl = TypeSystemClang::AddFieldToRecordType( in AddRecordMembers() local
1269 if (!decl) in AddRecordMembers()
1272 m_uid_to_decl[member->getSymIndexId()] = decl; in AddRecordMembers()
1278 layout_info.field_offsets.insert(std::make_pair(decl, offset)); in AddRecordMembers()
1283 auto decl = TypeSystemClang::AddVariableToRecordType( in AddRecordMembers() local
1285 if (!decl) in AddRecordMembers()
1292 clang::QualType qual_type = decl->getType(); in AddRecordMembers()
1299 decl, value.toAPSInt().extOrTrunc(type_width)); in AddRecordMembers()
1316 decl, value.toAPFloat()); in AddRecordMembers()
1317 decl->setConstexpr(true); in AddRecordMembers()
1334 m_uid_to_decl[member->getSymIndexId()] = decl; in AddRecordMembers()
1382 auto decl = m_ast.GetAsCXXRecordDecl(base_comp_type.GetOpaqueQualType()); in AddRecordBases() local
1383 if (!decl) in AddRecordBases()
1387 layout_info.base_offsets.insert(std::make_pair(decl, offset)); in AddRecordBases()
1398 if (clang::CXXMethodDecl *decl = in AddRecordMethods() local
1400 m_uid_to_decl[method->getSymIndexId()] = decl; in AddRecordMethods()