Lines Matching refs:decl
186 Declaration &decl) { in GetDeclarationForSymbol() argument
205 decl.SetFile(spec); in GetDeclarationForSymbol()
206 decl.SetColumn(first_line_up->getColumnNumber()); in GetDeclarationForSymbol()
207 decl.SetLine(first_line_up->getLineNumber()); in GetDeclarationForSymbol()
365 Declaration decl; in CreateLLDBTypeFromPDBType() local
459 GetDeclarationForSymbol(type, decl); in CreateLLDBTypeFromPDBType()
463 lldb_private::Type::eEncodingIsUID, decl, clang_type, in CreateLLDBTypeFromPDBType()
503 OptionalClangModuleID(), decl, in CreateLLDBTypeFromPDBType()
529 GetDeclarationForSymbol(type, decl); in CreateLLDBTypeFromPDBType()
532 nullptr, LLDB_INVALID_UID, lldb_private::Type::eEncodingIsUID, decl, in CreateLLDBTypeFromPDBType()
575 GetDeclarationForSymbol(type, decl); in CreateLLDBTypeFromPDBType()
582 lldb_private::Type::eEncodingIsTypedefUID, decl, ast_typedef, in CreateLLDBTypeFromPDBType()
656 GetDeclarationForSymbol(type, decl); in CreateLLDBTypeFromPDBType()
660 lldb_private::Type::eEncodingIsUID, decl, func_sig_ast_type, in CreateLLDBTypeFromPDBType()
698 decl, array_ast_type, lldb_private::Type::ResolveState::Full); in CreateLLDBTypeFromPDBType()
726 nullptr, LLDB_INVALID_UID, lldb_private::Type::eEncodingIsUID, decl, in CreateLLDBTypeFromPDBType()
757 lldb_private::Type::eEncodingIsUID, decl, pointer_ast_type, in CreateLLDBTypeFromPDBType()
782 lldb_private::Type::eEncodingIsUID, decl, pointer_ast_type, in CreateLLDBTypeFromPDBType()
861 clang::Decl *decl = m_uid_to_decl.lookup(sym_id); in GetDeclForSymbol() local
862 if (decl) in GetDeclForSymbol()
863 return decl; in GetDeclForSymbol()
878 decl = m_uid_to_decl.lookup(method->getSymIndexId()); in GetDeclForSymbol()
879 if (decl) in GetDeclForSymbol()
888 if (!decl) in GetDeclForSymbol()
889 decl = AddRecordMethod(*symbol_file, class_parent_ct, *func); in GetDeclForSymbol()
892 if (decl) in GetDeclForSymbol()
893 m_uid_to_decl[sym_id] = decl; in GetDeclForSymbol()
895 return decl; in GetDeclForSymbol()
921 clang::Decl *decl = in GetDeclForSymbol() local
923 if (!decl) { in GetDeclForSymbol()
928 decl = m_ast.CreateVariableDeclaration( in GetDeclForSymbol()
933 m_uid_to_decl[sym_id] = decl; in GetDeclForSymbol()
935 return decl; in GetDeclForSymbol()
954 auto decl = m_ast.CreateFunctionDeclaration( in GetDeclForSymbol() local
969 decl, OptionalClangModuleID(), nullptr, in GetDeclForSymbol()
977 m_ast.SetFunctionParameters(decl, params); in GetDeclForSymbol()
979 m_uid_to_decl[sym_id] = decl; in GetDeclForSymbol()
981 return decl; in GetDeclForSymbol()
1152 Declaration decl; in AddEnumValue() local
1189 enum_type, decl, name.c_str(), raw_value, byte_size * 8); in AddEnumValue()
1274 auto decl = TypeSystemClang::AddFieldToRecordType( in AddRecordMembers() local
1276 if (!decl) in AddRecordMembers()
1279 m_uid_to_decl[member->getSymIndexId()] = decl; in AddRecordMembers()
1285 layout_info.field_offsets.insert(std::make_pair(decl, offset)); in AddRecordMembers()
1290 auto decl = TypeSystemClang::AddVariableToRecordType( in AddRecordMembers() local
1292 if (!decl) in AddRecordMembers()
1299 clang::QualType qual_type = decl->getType(); in AddRecordMembers()
1306 decl, value.toAPSInt().extOrTrunc(type_width)); in AddRecordMembers()
1323 decl, value.toAPFloat()); in AddRecordMembers()
1324 decl->setConstexpr(true); in AddRecordMembers()
1341 m_uid_to_decl[member->getSymIndexId()] = decl; in AddRecordMembers()
1389 auto decl = m_ast.GetAsCXXRecordDecl(base_comp_type.GetOpaqueQualType()); in AddRecordBases() local
1390 if (!decl) in AddRecordBases()
1394 layout_info.base_offsets.insert(std::make_pair(decl, offset)); in AddRecordBases()
1405 if (clang::CXXMethodDecl *decl = in AddRecordMethods() local
1407 m_uid_to_decl[method->getSymIndexId()] = decl; in AddRecordMethods()