Lines Matching refs:Version
1490 my $Version;
2120 remove_Unused($Version, "Extra");
2126 remove_Unused($Version, "All");
2129 remove_Unused($Version, "Extended");
2135 foreach my $Tid (keys(%{$TypeInfo{$Version}})) {
2136 check_Completeness($TypeInfo{$Version}{$Tid}, $Version);
2139 foreach my $Sid (keys(%{$SymbolInfo{$Version}})) {
2140 check_Completeness($SymbolInfo{$Version}{$Sid}, $Version);
2173 $LibInfo{$Version}{"info_type"}{$1}=$2;
2174 $LibInfo{$Version}{"info"}{$1}=$3." ";
2187 foreach my $Constant (keys(%{$Constants{$Version}}))
2189 if(defined $Constants{$Version}{$Constant}{"Header"})
2191 my $Value = $Constants{$Version}{$Constant}{"Value"};
2192 if(defined $EnumConstants{$Version}{$Value}) {
2193 … $Constants{$Version}{$Constant}{"Value"} = $EnumConstants{$Version}{$Value}{"Value"};
2201 foreach my $Base (keys(%{$Typedef_Tr{$Version}}))
2203 if($Typedef_Eq{$Version}{$Base}) {
2206 my @Translations = sort keys(%{$Typedef_Tr{$Version}{$Base}});
2210 $Typedef_Eq{$Version}{$Base} = $Translations[0];
2219 $Typedef_Eq{$Version}{$Base} = $Tr;
2225 foreach my $TypeId (keys(%{$TypeInfo{$Version}}))
2227 my $TypeName = $TypeInfo{$Version}{$TypeId}{"Name"};
2237 sort {$b cmp $a} keys(%{$Typedef_Eq{$Version}}))
2242 if(my $Typedef = $Typedef_Eq{$Version}{$Base})
2246 if(defined $TypeInfo{$Version}{$TypeId}{"TParam"})
2248 foreach my $TPos (keys(%{$TypeInfo{$Version}{$TypeId}{"TParam"}}))
2250 if(my $TPName = $TypeInfo{$Version}{$TypeId}{"TParam"}{$TPos}{"name"})
2254 … $TypeInfo{$Version}{$TypeId}{"TParam"}{$TPos}{"name"} = formatName($TPName, "T");
2261 $TypeInfo{$Version}{$TypeId}{"Name"} = $TypeName;
2262 $TName_Tid{$Version}{$TypeName} = $TypeId;
2268 foreach my $InfoId (keys(%{$LibInfo{$Version}{"info"}}))
2270 if($LibInfo{$Version}{"info_type"}{$InfoId} eq "type_decl")
2281 foreach (keys(%{$LibInfo{$Version}{"info"}}))
2283 if($LibInfo{$Version}{"info_type"}{$_} eq "template_decl") {
2292 if(my $Info = $LibInfo{$Version}{"info"}{$_[0]})
2303 $BasicTemplate{$Version}{$Tid} = $_[0];
2316 $TemplateArg{$Version}{$_[0]}{$Pos} = $Name;
2317 if($LibInfo{$Version}{"info_type"}{$Val} eq "parm_decl") {
2318 $TemplateInstance{$Version}{"Type"}{$Tid}{$Pos} = $Val;
2321 … $TemplateInstance{$Version}{"Type"}{$Tid}{$Pos} = getTreeAttr_Type($Val);
2331 if(my $IType = $LibInfo{$Version}{"info_type"}{$TypeId})
2334 $TemplateDecl{$Version}{$TypeId} = 1;
2344 if(my $Info = $LibInfo{$Version}{"info"}{$Inst})
2355 my $Params_Info = $LibInfo{$Version}{"info"}{$Params_InfoId};
2359 if(my $PType = $LibInfo{$Version}{"info_type"}{$PTypeId})
2362 $TemplateDecl{$Version}{$ElemId} = 1;
2365 if($LibInfo{$Version}{"info_type"}{$ElemId} eq "function_decl")
2367 $TemplateInstance{$Version}{"Func"}{$ElemId}{$PPos} = $PTypeId;
2368 $BasicTemplate{$Version}{$ElemId} = $Tmpl;
2372 $TemplateInstance{$Version}{"Type"}{$ElemId}{$PPos} = $PTypeId;
2373 $BasicTemplate{$Version}{$ElemId} = $Tmpl;
2384 if(defined $Cache{"getTypeDeclId"}{$Version}{$_[0]}) {
2385 return $Cache{"getTypeDeclId"}{$Version}{$_[0]};
2387 if(my $Info = $LibInfo{$Version}{"info"}{$_[0]})
2390 return ($Cache{"getTypeDeclId"}{$Version}{$_[0]} = $1);
2394 return ($Cache{"getTypeDeclId"}{$Version}{$_[0]} = 0);
2407 foreach (sort {int($a)<=>int($b)} keys(%{$LibInfo{$Version}{"info"}}))
2409 my $IType = $LibInfo{$Version}{"info_type"}{$_};
2417 $TypeInfo{$Version}{"-1"} = {
2422 $TName_Tid{$Version}{"..."} = "-1";
2432 foreach my $Tid (sort {int($a)<=>int($b)} keys(%{$TypeInfo{$Version}}))
2434 if(defined $TemplateMap{$Version}{$Tid}
2435 and not defined $TypeInfo{$Version}{$Tid}{"Template"})
2437 if(defined $TypeInfo{$Version}{$Tid}{"Memb"})
2439 … foreach my $Pos (sort {int($a)<=>int($b)} keys(%{$TypeInfo{$Version}{$Tid}{"Memb"}}))
2441 if(my $MembTypeId = $TypeInfo{$Version}{$Tid}{"Memb"}{$Pos}{"type"})
2445 $TypeInfo{$Version}{$Tid}{"Memb"}{$Pos}{"algn"} = $MAttr{"Algn"};
2446 …$MembTypeId = $TypeInfo{$Version}{$Tid}{"Memb"}{$Pos}{"type"} = instType($TemplateMap{$Version}{$T…
2451 if(defined $TypeInfo{$Version}{$Tid}{"Base"})
2453 … foreach my $Bid (sort {int($a)<=>int($b)} keys(%{$TypeInfo{$Version}{$Tid}{"Base"}}))
2455 my $NBid = instType($TemplateMap{$Version}{$Tid}, $Bid, $Version);
2460 … %{$TypeInfo{$Version}{$Tid}{"Base"}{$NBid}} = %{$TypeInfo{$Version}{$Tid}{"Base"}{$Bid}};
2461 delete($TypeInfo{$Version}{$Tid}{"Base"}{$Bid});
2476 $TypeInfo{$Version}{$NewId} = $Attr;
2477 $TName_Tid{$Version}{formatName($Attr->{"Name"}, "T")} = $NewId;
2610 foreach my $MissedTDid (sort {int($a)<=>int($b)} keys(%{$LibInfo{$Version}{"info"}}))
2612 if($LibInfo{$Version}{"info_type"}{$MissedTDid} eq "type_decl")
2629 $MissedTypes{$Version}{$TypeId}{$MissedTDid} = 1;
2634 foreach my $Tid (keys(%{$MissedTypes{$Version}}))
2636 my @Missed = keys(%{$MissedTypes{$Version}{$Tid}});
2687 $MissedTypedef{$Version}{$Tid}{"Tid"} = $MissedInfo{"Tid"};
2688 $MissedTypedef{$Version}{$Tid}{"TDid"} = $MissedTDid;
2689 $TName_Tid{$Version}{$TypedefName} = $MissedInfo{"Tid"};
2693 $TypeInfo{$Version} = \%AddTypes;
2694 delete($Cache{"getTypeAttr"}{$Version});
2699 foreach my $BaseId (keys(%{$MissedTypedef{$Version}}))
2701 if(my $Tid = $MissedTypedef{$Version}{$BaseId}{"Tid"})
2703 $TypeInfo{$Version}{$Tid}{"Size"} = $TypeInfo{$Version}{$BaseId}{"Size"};
2704 if(my $TName = $TypeInfo{$Version}{$Tid}{"Name"}) {
2705 $Typedef_BaseName{$Version}{$TName} = $TypeInfo{$Version}{$BaseId}{"Name"};
2714 %{$TypeInfo{$Version}{$TypeId}} = getTypeAttr($TypeId);
2715 my $TName = $TypeInfo{$Version}{$TypeId}{"Name"};
2717 delete($TypeInfo{$Version}{$TypeId});
2730 if(my $BasicId = $TName_Tid{$Version}{$BaseName})
2732 if(my $BasicSize = $TypeInfo{$Version}{$BasicId}{"Size"}) {
2745 my @Positions = sort {int($a)<=>int($b)} keys(%{$TemplateInstance{$Version}{$Kind}{$TypeId}});
2748 my $Param_TypeId = $TemplateInstance{$Version}{$Kind}{$TypeId}{$Pos};
2749 my $NodeType = $LibInfo{$Version}{"info_type"}{$Param_TypeId};
2779 if(defined $TypeInfo{$Version}{$TypeId}
2780 and $TypeInfo{$Version}{$TypeId}{"Name"})
2782 return %{$TypeInfo{$Version}{$TypeId}};
2784 elsif($Cache{"getTypeAttr"}{$Version}{$TypeId})
2788 $Cache{"getTypeAttr"}{$Version}{$TypeId} = 1;
2793 if(not $MissedBase{$Version}{$TypeId} and isTypedef($TypeId))
2795 if(my $Info = $LibInfo{$Version}{"info"}{$TypeId})
2801 $MissedBase{$Version}{$TypeId} = "$NewId";
2802 $MissedBase_R{$Version}{$NewId} = $TypeId;
2803 $LibInfo{$Version}{"info"}{$NewId} = $LibInfo{$Version}{"info"}{$TypeId};
2804 $LibInfo{$Version}{"info_type"}{$NewId} = $LibInfo{$Version}{"info_type"}{$TypeId};
2815 if($LibInfo{$Version}{"info_type"}{$ScopeId} eq "function_decl")
2829 %{$TypeInfo{$Version}{$TypeId}} = %TypeAttr;
2830 $TName_Tid{$Version}{$TName} = $TypeId;
2866 $TypeAttr{"Size"} = $WORD_SIZE{$Version}; # pointer
2878 %{$TypeInfo{$Version}{$TypeId}} = %TypeAttr;
2879 $TName_Tid{$Version}{$TypeAttr{"Name"}} = $TypeId;
2889 %{$TypeInfo{$Version}{$TypeId}} = %TypeAttr;
2894 if(not $TName_Tid{$Version}{$TypeAttr{"Name"}}) {
2895 $TName_Tid{$Version}{$TypeAttr{"Name"}} = $TypeId;
2909 %{$TypeInfo{$Version}{$TypeId}} = %TypeAttr;
2910 if(not $TName_Tid{$Version}{$TypeAttr{"Name"}}) {
2911 $TName_Tid{$Version}{$TypeAttr{"Name"}} = $TypeId;
2926 %{$TypeInfo{$Version}{$TypeId}} = %TypeAttr;
2940 if(defined $MissedTypedef{$Version}{$BTid})
2942 if(my $MissedTDid = $MissedTypedef{$Version}{$BTid}{"TDid"})
2945 $TypeAttr{"BaseType"} = $MissedTypedef{$Version}{$BTid}{"Tid"};
2956 my %BaseBase = get_Type($BTAttr{"BaseType"}, $Version);
2989 if($LibInfo{$Version}{"info"}{$TypeDeclId}=~/ artificial /i)
3016 $StdCxxTypedef{$Version}{$BTAttr{"Name"}}{$TypeAttr{"Name"}} = 1;
3021 $Typedef_Eq{$Version}{$BTAttr{"Name"}} = $TypeAttr{"Name"};
3031 if(not defined $Typedef_BaseName{$Version}{$TypeAttr{"Name"}})
3034 $Typedef_BaseName{$Version}{$TypeAttr{"Name"}} = $BTAttr{"Name"};
3038 $Typedef_Tr{$Version}{$BTAttr{"Name"}}{$TypeAttr{"Name"}} = 1;
3048 $TypeAttr{"Size"} = $WORD_SIZE{$Version};
3061 %{$TypeInfo{$Version}{$TypeId}} = %TypeAttr;
3065 if(not $TName_Tid{$Version}{$TypeAttr{"Name"}}) {
3066 $TName_Tid{$Version}{$TypeAttr{"Name"}} = $TypeId;
3076 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
3090 my $NodeType = $LibInfo{$Version}{"info_type"}{$Type_Id};
3154 sort keys(%{$StdCxxTypedef{$Version}{$TypeName}}))
3162 … if(my @Covers = sort {length($a)<=>length($b)} sort keys(%{$StdCxxTypedef{$Version}{$TypeName}}))
3177 if($EnumMembName_Id{$Version}{$CstId}) {
3178 return $EnumMembName_Id{$Version}{$CstId};
3184 if($LibInfo{$Version}{"info_type"}{$CstTypeId} eq "boolean_type") {
3193 if($LibInfo{$Version}{"info_type"}{$CstTypeId} eq "boolean_type") {
3209 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
3213 if($LibInfo{$Version}{"info_type"}{$_[0]} eq "string_cst")
3229 my $MemInfo = $LibInfo{$Version}{"info"}{$PtrId};
3231 $MemInfo = $LibInfo{$Version}{"info"}{$TypeId};
3233 my $MemInfo_Type = $LibInfo{$Version}{"info_type"}{$PtrId};
3235 my %TypeAttr = ("Size"=>$WORD_SIZE{$Version}, "Type"=>$Type, "Tid"=>$TypeId);
3296 my $PTypeInfo = $LibInfo{$Version}{"info"}{$PTypeInfoId};
3334 if(my $Info = $LibInfo{$Version}{"info"}{$TypeId})
3336 if($LibInfo{$Version}{"info_type"}{$_[0]} eq "integer_type")
3360 if(my $Info = $LibInfo{$Version}{"info"}{$_[0]})
3366 if(my $InfoT1 = $LibInfo{$Version}{"info_type"}{$_[0]}
3367 and my $InfoT2 = $LibInfo{$Version}{"info_type"}{$Ptd})
3381 if(my $Info = $LibInfo{$Version}{"info"}{$_[0]})
3383 if($LibInfo{$Version}{"info_type"}{$_[0]} eq "record_type"
3384 and $LibInfo{$Version}{"info_type"}{$Ptd} eq "method_type"
3394 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
3396 if($LibInfo{$Version}{"info_type"}{$_[0]} eq "offset_type"
3406 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
3418 if(my $TType = $LibInfo{$Version}{"info_type"}{$TypeId})
3450 if(my $Info = $LibInfo{$Version}{"info"}{$TypeId})
3478 if(defined $MissedTypedef{$Version}{$TypeId})
3480 if($MissedTypedef{$Version}{$TypeId}{"TDid"} eq $TypeDeclId) {
3484 my $Info = $LibInfo{$Version}{"info"}{$TypeId};
3491 elsif(not $MissedBase_R{$Version}{$TypeId}
3502 $TypeTypedef{$Version}{$TypeId} = $1;
3509 and $LibInfo{$Version}{"info_type"}{$TypeDeclId} eq "template_decl") {
3520 if($LibInfo{$Version}{"info_type"}{$_[0]} eq "vector_type")
3524 if(my $Info = $LibInfo{$Version}{"info"}{$_[0]})
3544 if(defined $MissedTypedef{$Version}{$TypeId})
3546 if($MissedTypedef{$Version}{$TypeId}{"TDid"} eq getTypeDeclId($TypeId)) {
3550 my $Info = $LibInfo{$Version}{"info"}{$TypeId};
3551 my $InfoType = $LibInfo{$Version}{"info_type"}{$TypeId};
3553 my $MB_R = $MissedBase_R{$Version}{$TypeId};
3554 my $MB = $MissedBase{$Version}{$TypeId};
3599 foreach (sort {int($b)<=>int($a)} keys(%{$LibInfo{$Version}{"info"}}))
3601 if($LibInfo{$Version}{"info_type"}{$_} eq "function_decl") {
3609 foreach my $Sid (sort {int($a)<=>int($b)} keys(%{$SymbolInfo{$Version}}))
3613 if(my $ClassId = $SymbolInfo{$Version}{$Sid}{"Class"})
3615 if(defined $TemplateMap{$Version}{$ClassId})
3617 foreach (keys(%{$TemplateMap{$Version}{$ClassId}})) {
3618 $Map{$_} = $TemplateMap{$Version}{$ClassId}{$_};
3623 if(defined $TemplateMap{$Version}{$Sid})
3625 foreach (keys(%{$TemplateMap{$Version}{$Sid}})) {
3626 $Map{$_} = $TemplateMap{$Version}{$Sid}{$_};
3630 if(defined $SymbolInfo{$Version}{$Sid}{"Param"})
3632 foreach (keys(%{$SymbolInfo{$Version}{$Sid}{"Param"}}))
3634 my $PTid = $SymbolInfo{$Version}{$Sid}{"Param"}{$_}{"type"};
3635 … $SymbolInfo{$Version}{$Sid}{"Param"}{$_}{"type"} = instType(\%Map, $PTid, $Version);
3638 if(my $Return = $SymbolInfo{$Version}{$Sid}{"Return"}) {
3639 $SymbolInfo{$Version}{$Sid}{"Return"} = instType(\%Map, $Return, $Version);
3647 foreach (sort {int($b)<=>int($a)} keys(%{$LibInfo{$Version}{"info"}}))
3649 if($LibInfo{$Version}{"info_type"}{$_} eq "var_decl") {
3664 my $NSInfoType = $LibInfo{$Version}{"info_type"}{$NSid};
3669 …($SymbolInfo{$Version}{$InfoId}{"Header"}, $SymbolInfo{$Version}{$InfoId}{"Line"}) = getLocation($…
3670 if(not $SymbolInfo{$Version}{$InfoId}{"Header"}
3671 or isBuiltIn($SymbolInfo{$Version}{$InfoId}{"Header"})) {
3672 delete($SymbolInfo{$Version}{$InfoId});
3677 delete($SymbolInfo{$Version}{$InfoId});
3681 delete($SymbolInfo{$Version}{$InfoId});
3684 $SymbolInfo{$Version}{$InfoId}{"ShortName"} = $ShortName;
3691 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $MnglName;
3693 if($SymbolInfo{$Version}{$InfoId}{"MnglName"}
3694 and index($SymbolInfo{$Version}{$InfoId}{"MnglName"}, "_Z")!=0)
3696 delete($SymbolInfo{$Version}{$InfoId});
3699 if(not $SymbolInfo{$Version}{$InfoId}{"MnglName"}
3702 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $ShortName;
3704 if(isPrivateData($SymbolInfo{$Version}{$InfoId}{"MnglName"}))
3706 delete($SymbolInfo{$Version}{$InfoId});
3709 $SymbolInfo{$Version}{$InfoId}{"Data"} = 1;
3712 if(not defined $TypeInfo{$Version}{$Rid}
3713 or not $TypeInfo{$Version}{$Rid}{"Name"})
3715 delete($SymbolInfo{$Version}{$InfoId});
3718 $SymbolInfo{$Version}{$InfoId}{"Return"} = $Rid;
3721 $SymbolInfo{$Version}{$InfoId}{"Value"} = $Val;
3725 if(my $ClassId = $SymbolInfo{$Version}{$InfoId}{"Class"})
3727 if(not defined $TypeInfo{$Version}{$ClassId}
3728 or not $TypeInfo{$Version}{$ClassId}{"Name"})
3730 delete($SymbolInfo{$Version}{$InfoId});
3734 if($LibInfo{$Version}{"info"}{$InfoId}=~/ lang:[ ]*C /i)
3736 $SymbolInfo{$Version}{$InfoId}{"Lang"} = "C";
3737 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $ShortName;
3741 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $ShortName;
3745 if(not $SymbolInfo{$Version}{$InfoId}{"Class"})
3747 if(not $SymbolInfo{$Version}{$InfoId}{"MnglName"}
3748 or not link_symbol($SymbolInfo{$Version}{$InfoId}{"MnglName"}, $Version, "-Deps"))
3750 if(link_symbol($ShortName, $Version, "-Deps"))
3753 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $ShortName;
3758 if($COMMON_LANGUAGE{$Version} eq "C++")
3760 if(not $SymbolInfo{$Version}{$InfoId}{"MnglName"})
3763 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $ShortName;
3766 if(not $SymbolInfo{$Version}{$InfoId}{"MnglName"})
3768 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = linkSymbol($InfoId);
3772 if(my $Mangled = $mangled_name{$Version}{modelUnmangled($InfoId, "MSVC")})
3774 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $Mangled;
3778 if(not $SymbolInfo{$Version}{$InfoId}{"MnglName"}) {
3779 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $ShortName;
3781 if(my $Symbol = $SymbolInfo{$Version}{$InfoId}{"MnglName"})
3783 if(not selectSymbol($Symbol, $SymbolInfo{$Version}{$InfoId}, "Dump", $Version))
3785 delete($SymbolInfo{$Version}{$InfoId});
3789 if(my $Rid = $SymbolInfo{$Version}{$InfoId}{"Return"})
3791 if(defined $MissedTypedef{$Version}{$Rid})
3793 if(my $AddedTid = $MissedTypedef{$Version}{$Rid}{"Tid"}) {
3794 $SymbolInfo{$Version}{$InfoId}{"Return"} = $AddedTid;
3799 if(index($SymbolInfo{$Version}{$InfoId}{"MnglName"}, "_ZTV")==0) {
3800 delete($SymbolInfo{$Version}{$InfoId}{"Return"});
3803 delete($SymbolInfo{$Version}{$InfoId}{"ShortName"});
3807 $SymbolInfo{$Version}{$InfoId}{"Header"} = guessHeader($InfoId);
3872 if(defined $TemplateInstance{$Version}{"Type"}{$TypeId}
3892 if($TemplateDecl{$Version}{$TypeId})
3928 if(defined $TemplateInstance{$Version}{"Type"}{$TypeId})
3930 $Tmpl = $BasicTemplate{$Version}{$TypeId};
3941 … my %Base = get_BaseType($TemplateInstance{$Version}{"Type"}{$TypeId}{$Pos}, $Version);
3951 if(my $Arg = $TemplateArg{$Version}{$Tmpl}{$Pos})
3953 $TemplateMap{$Version}{$TypeId}{$Arg} = $Val;
3964 foreach my $Pos (sort {int($a)<=>int($b)} keys(%{$TemplateArg{$Version}{$Tmpl}}))
3968 my $Arg = $TemplateArg{$Version}{$Tmpl}{$Pos};
3969 $TemplateMap{$Version}{$TypeId}{$Arg} = "";
3984 $LibInfo{$Version}{"info"}{$TypeId} .= " flds: \@$Flds ";
3990 $LibInfo{$Version}{"info"}{$TypeId} .= " binf: \@$Binf ";
4039 and not defined $TemplateInstance{$Version}{"Type"}{$TypeId})
4048 if(my $VTable = $ClassVTable_Content{$Version}{$TypeAttr{"Name"}})
4068 $EnumConstants{$Version}{$MName} = {
4075 or is_target_header($TypeAttr{"Header"}, $Version))
4077 %{$Constants{$Version}{$MName}} = (
4126 my $Info = $LibInfo{$Version}{"info"}{$TypeId};
4136 if($LibInfo{$Version}{"info"}{$Fncs}!~/artificial/) {
4148 my $Info = $LibInfo{$Version}{"info"}{$TypeId};
4157 my $Info = $LibInfo{$Version}{"info"}{$TypeId};
4160 my $Info = $LibInfo{$Version}{"info"}{$Binf};
4172 my $CType = $LibInfo{$Version}{"info_type"}{$ClassId};
4178 my $BaseInfo = $LibInfo{$Version}{"info"}{$BInfoId};
4190 $Class_SubClasses{$Version}{$ClassId}{$TypeId}=1;
4199 my $Info = $LibInfo{$Version}{"info"}{$_[0]};
4219 if($Cache{"modelUnmangled"}{$Version}{$Compiler}{$InfoId}) {
4220 return $Cache{"modelUnmangled"}{$Version}{$Compiler}{$InfoId};
4222 my $PureSignature = $SymbolInfo{$Version}{$InfoId}{"ShortName"};
4223 if($SymbolInfo{$Version}{$InfoId}{"Destructor"}) {
4226 if(not $SymbolInfo{$Version}{$InfoId}{"Data"})
4229 if(defined $SymbolInfo{$Version}{$InfoId}{"Param"}
4230 and not $SymbolInfo{$Version}{$InfoId}{"Destructor"}) {
4231 @Params = keys(%{$SymbolInfo{$Version}{$InfoId}{"Param"}});
4235 my $PId = $SymbolInfo{$Version}{$InfoId}{"Param"}{$ParamPos}{"type"};
4236 my $PName = $SymbolInfo{$Version}{$InfoId}{"Param"}{$ParamPos}{"name"};
4237 my %PType = get_PureType($PId, $TypeInfo{$Version});
4238 my $PTName = unmangledFormat($PType{"Name"}, $Version);
4241 and $SymbolInfo{$Version}{$InfoId}{"Type"} eq "Method")
4268 if(my $ClassId = $SymbolInfo{$Version}{$InfoId}{"Class"})
4270 my $ClassName = unmangledFormat($TypeInfo{$Version}{$ClassId}{"Name"}, $Version);
4273 elsif(my $NS = $SymbolInfo{$Version}{$InfoId}{"NameSpace"}) {
4276 if($SymbolInfo{$Version}{$InfoId}{"Const"}) {
4279 if($SymbolInfo{$Version}{$InfoId}{"Volatile"}) {
4284 and $SymbolInfo{$Version}{$InfoId}{"Data"})
4288 elsif(defined $TemplateInstance{$Version}{"Func"}{$InfoId}
4289 and keys(%{$TemplateInstance{$Version}{"Func"}{$InfoId}}))
4295 if(my $ReturnId = $SymbolInfo{$Version}{$InfoId}{"Return"})
4297 my %RType = get_PureType($ReturnId, $TypeInfo{$Version});
4298 my $ReturnName = unmangledFormat($RType{"Name"}, $Version);
4302 … return ($Cache{"modelUnmangled"}{$Version}{$Compiler}{$InfoId} = formatName($PureSignature, "S"));
4854 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
4858 if($LibInfo{$Version}{"info"}{$1}=~/\*[ ]*INTERNAL[ ]*\*/)
4870 if(my $Info = $LibInfo{$Version}{"info"}{$InfoId})
4874 if(defined $LibInfo{$Version}{"info_type"}{$1}
4875 and $LibInfo{$Version}{"info_type"}{$1} eq "nop_expr")
4879 if(defined $LibInfo{$Version}{"info_type"}{$Nop}
4880 and $LibInfo{$Version}{"info_type"}{$Nop} eq "addr_expr")
4899 if(my $Info = $LibInfo{$Version}{"info"}{$InfoId})
4901 if(my $InfoType = $LibInfo{$Version}{"info_type"}{$InfoId})
4906 if($TypeId and $TypeInfo{$Version}{$TypeId}{"Name"}=~/\Achar(| const)\Z/)
4929 if(my $Info = $LibInfo{$Version}{"info"}{$InfoId})
4934 if(my $InfoType = $LibInfo{$Version}{"info_type"}{$NSInfoId})
4937 $SymbolInfo{$Version}{$InfoId}{"NameSpace"} = getNameSpace($InfoId);
4940 $SymbolInfo{$Version}{$InfoId}{"Class"} = $NSInfoId;
4945 if($SymbolInfo{$Version}{$InfoId}{"Class"}
4946 or $SymbolInfo{$Version}{$InfoId}{"NameSpace"})
4948 if($COMMON_LANGUAGE{$Version} ne "C++")
4986 if((not check_gcc($GCC_PATH, "4") and $SymbolInfo{$Version}{$InfoId}{"Class"})
4987 or (check_gcc($GCC_PATH, "4") and not $SymbolInfo{$Version}{$InfoId}{"Class"})
4995 return correct_incharge($InfoId, $Version, $Mangled);
5003 if(my $Mangled = mangle_symbol($InfoId, $Version, "GCC")) {
5025 …($SymbolInfo{$Version}{$InfoId}{"Header"}, $SymbolInfo{$Version}{$InfoId}{"Line"}) = getLocation($…
5026 if(not $SymbolInfo{$Version}{$InfoId}{"Header"}
5027 or isBuiltIn($SymbolInfo{$Version}{$InfoId}{"Header"}))
5029 delete($SymbolInfo{$Version}{$InfoId});
5034 if($SymbolInfo{$Version}{$InfoId}{"PseudoTemplate"})
5036 delete($SymbolInfo{$Version}{$InfoId});
5040 $SymbolInfo{$Version}{$InfoId}{"Type"} = getFuncType($InfoId);
5043 if(not defined $TypeInfo{$Version}{$Return}
5044 or not $TypeInfo{$Version}{$Return}{"Name"})
5046 delete($SymbolInfo{$Version}{$InfoId});
5049 $SymbolInfo{$Version}{$InfoId}{"Return"} = $Return;
5051 if(my $Rid = $SymbolInfo{$Version}{$InfoId}{"Return"})
5053 if(defined $MissedTypedef{$Version}{$Rid})
5055 if(my $AddedTid = $MissedTypedef{$Version}{$Rid}{"Tid"}) {
5056 $SymbolInfo{$Version}{$InfoId}{"Return"} = $AddedTid;
5060 if(not $SymbolInfo{$Version}{$InfoId}{"Return"}) {
5061 delete($SymbolInfo{$Version}{$InfoId}{"Return"});
5064 $SymbolInfo{$Version}{$InfoId}{"ShortName"} = getFuncShortName($Orig);
5065 if(index($SymbolInfo{$Version}{$InfoId}{"ShortName"}, "\._")!=-1)
5067 delete($SymbolInfo{$Version}{$InfoId});
5071 if(index($SymbolInfo{$Version}{$InfoId}{"ShortName"}, "tmp_add_func")==0)
5073 delete($SymbolInfo{$Version}{$InfoId});
5077 if(defined $TemplateInstance{$Version}{"Func"}{$Orig})
5079 my $Tmpl = $BasicTemplate{$Version}{$InfoId};
5084 delete($SymbolInfo{$Version}{$InfoId});
5090 $SymbolInfo{$Version}{$InfoId}{"TParam"}{$Pos}{"name"} = $Val;
5094 if(my $Arg = $TemplateArg{$Version}{$Tmpl}{$Pos})
5096 $TemplateMap{$Version}{$InfoId}{$Arg} = $Val;
5103 foreach my $Pos (sort {int($a)<=>int($b)} keys(%{$TemplateArg{$Version}{$Tmpl}}))
5107 my $Arg = $TemplateArg{$Version}{$Tmpl}{$Pos};
5108 $TemplateMap{$Version}{$InfoId}{$Arg} = "";
5113 if($SymbolInfo{$Version}{$InfoId}{"ShortName"}=~/\Aoperator\W+\Z/)
5115 $SymbolInfo{$Version}{$InfoId}{"ShortName"} .= " ";
5118 $SymbolInfo{$Version}{$InfoId}{"ShortName"} .= "<".join(", ", @TParams).">";
5121 $SymbolInfo{$Version}{$InfoId}{"ShortName"} .= "<...>";
5123 …$SymbolInfo{$Version}{$InfoId}{"ShortName"} = formatName($SymbolInfo{$Version}{$InfoId}{"ShortName…
5127 $SymbolInfo{$Version}{$InfoId}{"ShortName"}=~s/<.+>\Z//;
5135 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $MnglName;
5142 if($SymbolInfo{$Version}{$InfoId}{"MnglName"}
5143 and index($SymbolInfo{$Version}{$InfoId}{"MnglName"}, "_Z")!=0)
5145 delete($SymbolInfo{$Version}{$InfoId});
5148 if(not $SymbolInfo{$Version}{$InfoId}{"Destructor"})
5153 delete($SymbolInfo{$Version}{$InfoId});
5157 if($LibInfo{$Version}{"info"}{$InfoId}=~/ artificial /i) {
5158 $SymbolInfo{$Version}{$InfoId}{"Artificial"} = 1;
5163 delete($SymbolInfo{$Version}{$InfoId});
5167 if(my $ClassId = $SymbolInfo{$Version}{$InfoId}{"Class"})
5169 if(not defined $TypeInfo{$Version}{$ClassId}
5170 or not $TypeInfo{$Version}{$ClassId}{"Name"})
5172 delete($SymbolInfo{$Version}{$InfoId});
5176 if($LibInfo{$Version}{"info"}{$InfoId}=~/ lang:[ ]*C /i)
5178 $SymbolInfo{$Version}{$InfoId}{"Lang"} = "C";
5179 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $SymbolInfo{$Version}{$InfoId}{"ShortName"};
5183 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $SymbolInfo{$Version}{$InfoId}{"ShortName"};
5185 if($COMMON_LANGUAGE{$Version} eq "C++")
5188 if($SymbolInfo{$Version}{$InfoId}{"ShortName"}=~/\A__(comp|base|deleting)_(c|d)tor\Z/)
5190 …$SymbolInfo{$Version}{$InfoId}{"ShortName"} = getNameByInfo(getTypeDeclId($SymbolInfo{$Version}{$I…
5191 $SymbolInfo{$Version}{$InfoId}{"ShortName"}=~s/<.+>\Z//;
5193 if(not $SymbolInfo{$Version}{$InfoId}{"MnglName"})
5196 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $Mangled;
5201 if(my $Mangled1 = $mangled_name{$Version}{modelUnmangled($InfoId, "MSVC")})
5203 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $Mangled1;
5205 elsif(my $Mangled2 = mangle_symbol($InfoId, $Version, "MSVC"))
5207 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $Mangled2;
5213 $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $SymbolInfo{$Version}{$InfoId}{"ShortName"};
5216 and $SymbolInfo{$Version}{$InfoId}{"Type"} eq "Function"
5217 and not $SymbolInfo{$Version}{$InfoId}{"Class"})
5221 if($SymbolInfo{$Version}{$InfoId}{"MnglName"})
5223 if(index($SymbolInfo{$Version}{$InfoId}{"MnglName"}, "_Z")==0
5224 and not link_symbol($SymbolInfo{$Version}{$InfoId}{"MnglName"}, $Version, "-Deps"))
5231 if($SymbolInfo{$Version}{$InfoId}{"Lang"} ne "C")
5238 if(link_symbol($SymbolInfo{$Version}{$InfoId}{"ShortName"}, $Version, "-Deps")) {
5239 … $SymbolInfo{$Version}{$InfoId}{"MnglName"} = $SymbolInfo{$Version}{$InfoId}{"ShortName"};
5243 if(not $SymbolInfo{$Version}{$InfoId}{"MnglName"})
5245 delete($SymbolInfo{$Version}{$InfoId});
5248 if(not $SymbolInfo{$Version}{$InfoId}{"Constructor"}
5254 if(not ($SymbolInfo{$Version}{$InfoId}{"Destructor"}
5255 and $SymbolInfo{$Version}{$InfoId}{"MnglName"}=~/D2E/))
5257 $SymbolInfo{$Version}{$InfoId}{$Spec} = 1;
5261 $SymbolInfo{$Version}{$InfoId}{"InLine"} = 1;
5264 $SymbolInfo{$Version}{$InfoId}{"Throw"} = 1;
5266 if($SymbolInfo{$Version}{$InfoId}{"Constructor"}
5267 and my $ClassId = $SymbolInfo{$Version}{$InfoId}{"Class"})
5269 if(not $SymbolInfo{$Version}{$InfoId}{"InLine"}
5270 and not $SymbolInfo{$Version}{$InfoId}{"Artificial"})
5272 delete($TypeInfo{$Version}{$ClassId}{"Copied"});
5275 if(my $Symbol = $SymbolInfo{$Version}{$InfoId}{"MnglName"})
5279 if(not selectSymbol($Symbol, $SymbolInfo{$Version}{$InfoId}, "Dump", $Version))
5281 delete($SymbolInfo{$Version}{$InfoId});
5286 if($SymbolInfo{$Version}{$InfoId}{"Type"} eq "Method"
5287 or $SymbolInfo{$Version}{$InfoId}{"Constructor"}
5288 or $SymbolInfo{$Version}{$InfoId}{"Destructor"}
5289 or $SymbolInfo{$Version}{$InfoId}{"Class"})
5291 if($SymbolInfo{$Version}{$InfoId}{"MnglName"}!~/\A(_Z|\?)/)
5293 delete($SymbolInfo{$Version}{$InfoId});
5297 if($SymbolInfo{$Version}{$InfoId}{"MnglName"})
5299 if($MangledNames{$Version}{$SymbolInfo{$Version}{$InfoId}{"MnglName"}})
5301 delete($SymbolInfo{$Version}{$InfoId});
5305 $MangledNames{$Version}{$SymbolInfo{$Version}{$InfoId}{"MnglName"}} = 1;
5308 if($SymbolInfo{$Version}{$InfoId}{"Constructor"}
5309 or $SymbolInfo{$Version}{$InfoId}{"Destructor"}) {
5310 delete($SymbolInfo{$Version}{$InfoId}{"Return"});
5312 if($SymbolInfo{$Version}{$InfoId}{"MnglName"}=~/\A(_Z|\?)/
5313 and $SymbolInfo{$Version}{$InfoId}{"Class"})
5315 if($SymbolInfo{$Version}{$InfoId}{"Type"} eq "Function")
5317 $SymbolInfo{$Version}{$InfoId}{"Static"} = 1;
5321 $SymbolInfo{$Version}{$InfoId}{"Static"} = 1;
5323 if($SymbolInfo{$Version}{$InfoId}{"MnglName"}=~/\A(_Z|\?)/)
5325 if(my $Unmangled = $tr_name{$SymbolInfo{$Version}{$InfoId}{"MnglName"}})
5329 delete($SymbolInfo{$Version}{$InfoId});
5335 if($SymbolInfo{$Version}{$InfoId}{"MnglName"}=~/\A_ZN(V|)K/) {
5336 $SymbolInfo{$Version}{$InfoId}{"Const"} = 1;
5338 if($SymbolInfo{$Version}{$InfoId}{"MnglName"}=~/\A_ZN(K|)V/) {
5339 $SymbolInfo{$Version}{$InfoId}{"Volatile"} = 1;
5342 if($WeakSymbols{$Version}{$SymbolInfo{$Version}{$InfoId}{"MnglName"}}) {
5343 $SymbolInfo{$Version}{$InfoId}{"Weak"} = 1;
5347 $SymbolInfo{$Version}{$InfoId}{"Header"} = guessHeader($InfoId);
5354 my $ShortName = $SymbolInfo{$Version}{$InfoId}{"ShortName"};
5355 my $ClassId = $SymbolInfo{$Version}{$InfoId}{"Class"};
5356 my $ClassName = $ClassId?get_ShortClass($ClassId, $Version):"";
5357 my $Header = $SymbolInfo{$Version}{$InfoId}{"Header"};
5358 if(my $HPath = $SymbolHeader{$Version}{$ClassName}{$ShortName})
5375 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5386 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5397 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5420 …$EnumMembName_Id{$Version}{getTreeAttr_Valu($MInfoId)} = ($TypeAttr->{"NameSpace"})?$TypeAttr->{"N…
5430 my $IType = $LibInfo{$Version}{"info_type"}{$MInfoId};
5431 my $MInfo = $LibInfo{$Version}{"info"}{$MInfoId};
5466 if(defined $MissedTypedef{$Version}{$MembTypeId})
5468 if(my $AddedTid = $MissedTypedef{$Version}{$MembTypeId}{"Tid"}) {
5519 if(my $ObjectName = $TypeInfo{$Version}{$ObjectTypeId}{"Name"})
5522 $SymbolInfo{$Version}{$InfoId}{"Const"} = 1;
5525 $SymbolInfo{$Version}{$InfoId}{"Volatile"} = 1;
5544 if(defined $MissedTypedef{$Version}{$ParamTypeId})
5546 if(my $AddedTid = $MissedTypedef{$Version}{$ParamTypeId}{"Tid"}) {
5550 my $PType = $TypeInfo{$Version}{$ParamTypeId}{"Type"};
5554 my $PTName = $TypeInfo{$Version}{$ParamTypeId}{"Name"};
5562 and $TypeInfo{$Version}{$ParamTypeId}{"Name"} eq "void const**")
5568 $SymbolInfo{$Version}{$InfoId}{"Param"}{$Pos}{"type"} = $ParamTypeId;
5570 if(my %Base = get_BaseType($ParamTypeId, $Version))
5577 $SymbolInfo{$Version}{$InfoId}{"Param"}{$Pos}{"name"} = $ParamName;
5579 $SymbolInfo{$Version}{$InfoId}{"Param"}{$Pos}{"algn"} = $Algn/$BYTE_SIZE;
5581 if($LibInfo{$Version}{"info"}{$ParamInfoId}=~/spec:\s*register /)
5583 $SymbolInfo{$Version}{$InfoId}{"Param"}{$Pos}{"reg"} = 1;
5592 $SymbolInfo{$Version}{$InfoId}{"Param"}{$Pos}{"type"} = "-1";
5626 if($TypeInfo{$Version}{$ParamTypeId}{"Name"} eq "void")
5633 if(not defined $SymbolInfo{$Version}{$InfoId}{"Param"}{$Pos}{"type"})
5635 $SymbolInfo{$Version}{$InfoId}{"Param"}{$Pos}{"type"} = $ParamTypeId;
5636 if(not $SymbolInfo{$Version}{$InfoId}{"Param"}{$Pos}{"name"})
5638 $SymbolInfo{$Version}{$InfoId}{"Param"}{$Pos}{"name"} = "p".($PPos+1);
5641 elsif(my $OldId = $SymbolInfo{$Version}{$InfoId}{"Param"}{$Pos}{"type"})
5647 my %Old_Pure = get_PureType($OldId, $TypeInfo{$Version});
5648 my %New_Pure = get_PureType($ParamTypeId, $TypeInfo{$Version});
5651 $SymbolInfo{$Version}{$InfoId}{"Param"}{$Pos}{"type"} = $ParamTypeId;
5659 if(my $PurpType = $LibInfo{$Version}{"info_type"}{$PurpId})
5667 $SymbolInfo{$Version}{$InfoId}{"Param"}{$Pos}{"default"} = $Val;
5682 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5693 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5704 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5715 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5726 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5737 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5748 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5759 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5770 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5781 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5792 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5803 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5814 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5825 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5836 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5847 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5858 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5869 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5897 $SymbolInfo{$Version}{$_[0]}{"Protected"} = 1;
5900 $SymbolInfo{$Version}{$_[0]}{"Private"} = 1;
5918 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5921 $SymbolInfo{$Version}{$_[0]}{"PseudoTemplate"} = 1;
5924 $SymbolInfo{$Version}{$_[0]}{"Constructor"} = 1;
5927 $SymbolInfo{$Version}{$_[0]}{"Destructor"} = 1;
5934 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
5956 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
6025 if(my $InfoType = $LibInfo{$Version}{"info_type"}{$NSInfoId})
6029 if($LibInfo{$Version}{"info"}{$NSInfoId}=~/name[ ]*:[ ]*@(\d+) /)
6039 $NestedNameSpaces{$Version}{$NameSpace} = 1;
6058 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
6062 if(my $VInfo = $LibInfo{$Version}{"info"}{$1})
6080 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
6091 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
6102 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
7258 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
7269 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
7273 if(my $NInfo = $LibInfo{$Version}{"info"}{$1})
7278 if($CppMode{$Version}
7295 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
7300 if($CppMode{$Version}
7315 if(my $Info = $LibInfo{$Version}{"info"}{$_[0]})
7321 if(my $Rid = $SymbolInfo{$Version}{$_[0]}{"Return"})
7323 if(my $RName = $TypeInfo{$Version}{$Rid}{"Name"}) {
7355 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
7359 if($LibInfo{$Version}{"info"}{$1}=~/retn[ ]*:[ ]*@(\d+) /) {
7369 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
7645 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
7649 if(my $Type = $LibInfo{$Version}{"info_type"}{$1})
7668 if($_[0] and my $Info = $LibInfo{$Version}{"info"}{$_[0]})
7830 next if($SkipNameSpaces{$Version}{$NS});
7835 $NestedNameSpaces{$Version}{$NS} = 1; # for future use in reports
8074 if(my $Opts = platformSpecs($Version))
8087 if(my $Opts_GCC = getGCC_Opts($Version))
8195 copy($Out, $DEBUG_PATH{$Version}."/ctags.txt");
8220 $TUnit_NameSpaces{$Version}{$Name} = 1;
8225 $TUnit_Funcs{$Version}{$Name} = 1;
8231 $TUnit_Vars{$Version}{$Name} = 1;
8247 and $MinGWMode{$Version}!=-1)
8255 $MinGWMode{$Version}=1;
8259 $MinGWMode{$Version}=1;
8263 $MinGWMode{$Version}=1;
8266 if($MinGWMode{$Version}) {
8271 if(defined $CxxIncompat and ($COMMON_LANGUAGE{$Version} eq "C" or $CheckHeadersOnly)
8272 and $CppMode{$Version}!=-1 and not $CPP_HEADERS)
8308 $CppMode{$Version} = 1;
8320 $CppMode{$Version} = 1;
8330 $CppMode{$Version} = 1;
8338 $CppMode{$Version} = 1;
8347 $CppMode{$Version} = 1;
8355 $CppMode{$Version} = 1;
8365 $CppMode{$Version} = 1;
8372 $CppMode{$Version} = 1;
8376 if($CppMode{$Version} == 1)
8394 $CppMode{$Version} = 1;
8403 if($CppMode{$Version}==1) {
8411 if($CppMode{$Version}==1
8412 or $MinGWMode{$Version}==1)
8414 my $IPath = $TMP_DIR."/dump$Version.i";
8428 my @Headers = keys(%{$Registered_Headers{$Version}});
8429 …@Headers = sort {int($Registered_Headers{$Version}{$a}{"Pos"})<=>int($Registered_Headers{$Version}…
8431 my $IncludeString = getIncString(getIncPaths(@{$Include_Preamble{$Version}}, @Headers), "GCC");
8433 my $TmpHeaderPath = $TMP_DIR."/dump".$Version.".h";
8438 if(my $AddDefines = $Descriptor{$Version}{"Defines"})
8444 foreach my $HPath (@{$Include_Preamble{$Version}}) {
8449 if(not grep {$HPath eq $_} (@{$Include_Preamble{$Version}})) {
8460 writeFile($ExtraInfo."/recursive-includes", Dumper($RecursiveIncludes{$Version}));
8461 writeFile($ExtraInfo."/direct-includes", Dumper($Header_Includes{$Version}));
8463 if(my @Redirects = keys(%{$Header_ErrorRedirect{$Version}}))
8467 $REDIR .= $P1.";".$Header_ErrorRedirect{$Version}{$P1}."\n";
8473 if(not keys(%{$TargetHeaders{$Version}}))
8475 addTargetHeaders($Version);
8489 my $Pre = callPreprocessor($TmpHeaderPath, $IncludeString, $Version);
8494 … writeFile($ExtraInfo."/header-paths", join("\n", sort keys(%{$PreprocessedHeaders{$Version}})));
8498 delete($Include_Neighbors{$Version});
8499 delete($PreprocessedHeaders{$Version});
8501 if($COMMON_LANGUAGE{$Version} eq "C++") {
8510 if($COMMON_LANGUAGE{$Version} eq "C++")
8513 if($CppMode{$Version}==1
8514 or $MinGWMode{$Version}==1) {
8530 $TUnit_NameSpaces{$Version}{$CName} = -1;
8533 $TUnit_Classes{$Version}{$CName} = 1;
8538 if(not defined $TUnit_NameSpaces{$Version}{$NS}) {
8539 $TUnit_NameSpaces{$Version}{$NS} = 1;
8546 $ClassVTable_Content{$Version}{$CName} = $VTable;
8549 foreach my $NS (keys(%{$AddNameSpaces{$Version}}))
8551 $TUnit_NameSpaces{$Version}{$NS} = 1;
8555 mkpath($DEBUG_PATH{$Version});
8556 copy($ClassDump, $DEBUG_PATH{$Version}."/class-hierarchy-dump.txt");
8562 if(my $NS_Add = get_namespace_additions($TUnit_NameSpaces{$Version}))
8569 foreach my $CName (sort keys(%{$TUnit_Classes{$Version}}))
8573 next if($SkipTypes{$Version}{$CName});
8586 and $TUnit_Classes{$Version}{$1})
8591 if(defined $TUnit_Funcs{$Version}{$CName})
8595 if(defined $TUnit_Vars{$Version}{$CName})
8605 …writeLog($Version, "Temporary header file \'$TmpHeaderPath\' with the following content will be co…
8611 if($CppMode{$Version}==1
8612 or $MinGWMode{$Version}==1) {
8616 writeLog($Version, "The GCC parameters:\n $SyntaxTreeCmd\n\n");
8625 if($AutoPreambleMode{$Version}!=-1
8626 and my $AddHeaders = detectPreamble($Errors, $Version))
8628 $AutoPreambleMode{$Version}=-1;
8633 if(not grep {$Path eq $_} (@{$Include_Preamble{$Version}}))
8635 push_U($Include_Preamble{$Version}, $Path);
8639 resetLogging($Version);
8643 elsif($Cpp0xMode{$Version}!=-1
8649 $Cpp0xMode{$Version}=-1;
8651 resetLogging($Version);
8653 $CompilerOptions{$Version} .= " -std=c++0x";
8668 writeLog($Version, $Errors);
8671 writeLog($Version, "$!: $?\n");
8674 printErrorLog($Version);
8676 writeLog($Version, "\n"); # new line
8719 my @IncPaths = @{$Add_Include_Paths{$Version}};
8720 if($INC_PATH_AUTODETECT{$Version})
8725 foreach my $Dir (get_HeaderDeps($HPath, $Version))
8727 if($Skip_Include_Paths{$Version}{$Dir}) {
8732 if($Skip_Include_Paths{$Version}{$SystemRoot.$Dir}) {
8739 foreach my $Dir (@{sortIncPaths([keys(%Includes)], $Version)}) {
8745 @IncPaths = @{$Include_Paths{$Version}};
9151 $Version = $_[0];
9152 printMsg("INFO", "checking header(s) ".$Descriptor{$Version}{"Version"}." ...");
9156 mkpath($DEBUG_PATH{$Version});
9157 copy($DumpPath, $DEBUG_PATH{$Version}."/translation-unit-dump.txt");
18123 $PreprocessedHeaders{$Version}{$CurHeader} = 1;
18131 if(not $Include_Neighbors{$Version}{$CurHeaderName}
18132 and not $Registered_Headers{$Version}{$CurHeader})
18147 if(not $Constants{$Version}{$Name}{"Access"})
18149 $Constants{$Version}{$Name}{"Access"} = "public";
18150 $Constants{$Version}{$Name}{"Value"} = $Value;
18152 $Constants{$Version}{$Name}{"Header"} = $CurHeaderName;
18157 $Constants{$Version}{$1}{"Access"} = "private";
18166 $SymbolHeader{$Version}{$CurClass}{$1} = $CurHeader;
18179 foreach my $Constant (keys(%{$Constants{$Version}}))
18181 if($Constants{$Version}{$Constant}{"Access"} eq "private")
18183 delete($Constants{$Version}{$Constant});
18187 or isBuiltIn($Constants{$Version}{$Constant}{"Header"})))
18189 delete($Constants{$Version}{$Constant});
18192 delete($Constants{$Version}{$Constant}{"Access"});
18197 mkpath($DEBUG_PATH{$Version});
18198 copy($Path, $DEBUG_PATH{$Version}."/preprocessor.txt");