diff --git a/facebook-clang-plugins/clang-ocaml/clang_ast_proj_test.ml b/facebook-clang-plugins/clang-ocaml/clang_ast_proj_test.ml index 308f6a37e..a34324cb6 100644 --- a/facebook-clang-plugins/clang-ocaml/clang_ast_proj_test.ml +++ b/facebook-clang-plugins/clang-ocaml/clang_ast_proj_test.ml @@ -43,7 +43,7 @@ let var_decl_info ~is_global = ; vdi_is_extern= false ; vdi_is_static_local= false ; vdi_is_static_data_member= false - ; vdi_is_const_expr= false + ; vdi_is_constexpr= false ; vdi_is_init_ice= false ; vdi_is_init_expr_cxx11_constant= false ; vdi_init_expr= None diff --git a/facebook-clang-plugins/libtooling/ASTExporter.h b/facebook-clang-plugins/libtooling/ASTExporter.h index 76416765f..40a423bbb 100644 --- a/facebook-clang-plugins/libtooling/ASTExporter.h +++ b/facebook-clang-plugins/libtooling/ASTExporter.h @@ -1524,6 +1524,7 @@ int ASTExporter::FunctionDeclTupleSize() { //@atd ~is_pure : bool; //@atd ~is_delete_as_written : bool; //@atd ~is_no_return : bool; +//@atd ~is_constexpr : bool; //@atd ~is_variadic : bool; //@atd ~is_static : bool; //@atd ~parameters : decl list; @@ -1551,6 +1552,7 @@ void ASTExporter::VisitFunctionDecl(const FunctionDecl *D) { IsStatic = true; } auto IsNoReturn = D->isNoReturn(); + bool IsConstexpr = D->isConstexpr(); bool HasParameters = !D->param_empty(); const FunctionDecl *DeclWithBody = D; // FunctionDecl::hasBody() will set DeclWithBody pointer to decl that @@ -1562,8 +1564,8 @@ void ASTExporter::VisitFunctionDecl(const FunctionDecl *D) { bool HasDeclarationBody = D->doesThisDeclarationHaveABody(); FunctionTemplateDecl *TemplateDecl = D->getPrimaryTemplate(); int size = ShouldMangleName + IsCpp + IsInlineSpecified + IsModulePrivate + - IsPure + IsDeletedAsWritten + IsNoReturn + IsVariadic + - IsStatic + HasParameters + (bool)DeclWithBody + + IsPure + IsDeletedAsWritten + IsNoReturn + IsConstexpr + + IsVariadic + IsStatic + HasParameters + (bool)DeclWithBody + HasDeclarationBody + (bool)TemplateDecl; ObjectScope Scope(OF, size); @@ -1590,6 +1592,7 @@ void ASTExporter::VisitFunctionDecl(const FunctionDecl *D) { OF.emitFlag("is_pure", IsPure); OF.emitFlag("is_delete_as_written", IsDeletedAsWritten); OF.emitFlag("is_no_return", IsNoReturn); + OF.emitFlag("is_constexpr", IsConstexpr); OF.emitFlag("is_variadic", IsVariadic); OF.emitFlag("is_static", IsStatic); @@ -1694,7 +1697,7 @@ int ASTExporter::VarDeclTupleSize() { //@atd ~is_static : bool; //@atd ~is_static_local : bool; //@atd ~is_static_data_member : bool; -//@atd ~is_const_expr : bool; +//@atd ~is_constexpr : bool; //@atd ~is_init_ice : bool; //@atd ?init_expr : stmt option; //@atd ~is_init_expr_cxx11_constant: bool; @@ -1712,7 +1715,7 @@ void ASTExporter::VisitVarDecl(const VarDecl *D) { } bool IsStaticLocal = D->isStaticLocal(); // static function variables bool IsStaticDataMember = D->isStaticDataMember(); - bool IsConstExpr = D->isConstexpr(); + bool IsConstexpr = D->isConstexpr(); bool IsInitICE = D->isInitKnownICE() && D->isInitICE(); bool HasInit = D->hasInit(); const ParmVarDecl *ParmDecl = dyn_cast(D); @@ -1720,7 +1723,7 @@ void ASTExporter::VisitVarDecl(const VarDecl *D) { bool isInitExprCXX11ConstantExpr = false; ObjectScope Scope(OF, IsGlobal + IsExtern + IsStatic + IsStaticLocal + - IsStaticDataMember + IsConstExpr + IsInitICE + HasInit + + IsStaticDataMember + IsConstexpr + IsInitICE + HasInit + HasParmIndex + isInitExprCXX11ConstantExpr); OF.emitFlag("is_global", IsGlobal); @@ -1728,7 +1731,7 @@ void ASTExporter::VisitVarDecl(const VarDecl *D) { OF.emitFlag("is_static", IsStatic); OF.emitFlag("is_static_local", IsStaticLocal); OF.emitFlag("is_static_data_member", IsStaticDataMember); - OF.emitFlag("is_const_expr", IsConstExpr); + OF.emitFlag("is_constexpr", IsConstexpr); OF.emitFlag("is_init_ice", IsInitICE); if (HasInit) { OF.emitTag("init_expr"); @@ -2088,7 +2091,6 @@ int ASTExporter::CXXMethodDeclTupleSize() { //@atd type cxx_method_decl_info = { //@atd ~is_virtual : bool; //@atd ~is_static : bool; -//@atd ~is_constexpr : bool; //@atd ~cxx_ctor_initializers : cxx_ctor_initializer list; //@atd ~overriden_methods : decl_ref list; //@atd } @@ -2099,15 +2101,13 @@ void ASTExporter::VisitCXXMethodDecl(const CXXMethodDecl *D) { bool IsStatic = D->isStatic(); const CXXConstructorDecl *C = dyn_cast(D); bool HasCtorInitializers = C && C->init_begin() != C->init_end(); - bool IsConstexpr = D->isConstexpr(); auto OB = D->begin_overridden_methods(); auto OE = D->end_overridden_methods(); ObjectScope Scope( OF, - IsVirtual + IsStatic + IsConstexpr + HasCtorInitializers + (OB != OE)); + IsVirtual + IsStatic + HasCtorInitializers + (OB != OE)); OF.emitFlag("is_virtual", IsVirtual); OF.emitFlag("is_static", IsStatic); - OF.emitFlag("is_constexpr", IsConstexpr); if (HasCtorInitializers) { OF.emitTag("cxx_ctor_initializers"); ArrayScope Scope(OF, std::distance(C->init_begin(), C->init_end())); diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/bind_temporary.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/bind_temporary.cpp.exp index 96f771276..1073a17c1 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/bind_temporary.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/bind_temporary.cpp.exp @@ -140,6 +140,7 @@ #d2e9b40c: "1652559256541304523", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -151,7 +152,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/class_template.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/class_template.cpp.exp index aa1ab1ed7..8f92429dd 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/class_template.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/class_template.cpp.exp @@ -200,6 +200,7 @@ #d2e9b40c: "8283222246682784723", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -212,7 +213,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 23, @@ -231,6 +232,7 @@ #d2e9b40c: "6839343167991811455", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -243,7 +245,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, @@ -415,6 +417,7 @@ #d2e9b40c: "8232226518557505494", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -427,7 +430,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 46, @@ -442,6 +445,7 @@ #d2e9b40c: "10012197224398183680", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -454,7 +458,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#29ca61ce: ({ #d121c0bd: 50, @@ -474,6 +478,7 @@ #d2e9b40c: "16979568942442152295", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -676,7 +681,7 @@ ])> ])> }, - { #fe288443: true })>, + { })>, <#29ca61ce: ({ #d121c0bd: 63, @@ -694,6 +699,7 @@ #d2e9b40c: "12620087123913755403", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -706,7 +712,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/const_cast.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/const_cast.cpp.exp index fa1673453..c156303c2 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/const_cast.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/const_cast.cpp.exp @@ -315,7 +315,7 @@ { #c1127ea9: 30, #ea1a680e: true }, { #ccd69858: true, - #e45abe46: true, + #fe288443: true, #dd3d1991: true, #fe93c404: <#0fb8fb71: diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/dynamic_cast.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/dynamic_cast.cpp.exp index 2a06bab81..0c1ee32a1 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/dynamic_cast.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/dynamic_cast.cpp.exp @@ -107,6 +107,7 @@ #d2e9b40c: "4916027756641681778", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -118,7 +119,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#29ca61ce: ({ #d121c0bd: 17, @@ -133,6 +134,7 @@ #d2e9b40c: "1130122404358677750", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -144,7 +146,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cfe47fa6: ({ #d121c0bd: 21, @@ -177,6 +179,7 @@ #d2e9b40c: "16649858826465904026", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 23, #c11b7aa2: <#d394bb73: @@ -186,7 +189,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 26, @@ -201,6 +204,7 @@ #d2e9b40c: "6367731417382615745", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -212,7 +216,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 29, @@ -227,6 +231,7 @@ #d2e9b40c: "17956886967408801671", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -238,7 +243,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, @@ -290,6 +295,7 @@ #d2e9b40c: "12683202677887858481", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -301,7 +307,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#29ca61ce: ({ #d121c0bd: 39, @@ -316,6 +322,7 @@ #d2e9b40c: "4655428711165100535", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -327,7 +334,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cfe47fa6: ({ #d121c0bd: 43, @@ -360,6 +367,7 @@ #d2e9b40c: "8928078380412315851", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 45, #c11b7aa2: <#d394bb73: @@ -370,7 +378,6 @@ [])> }, { - #fe288443: true, #ef684b00: [ { #298801ac: <#fa100247: (8, false)>, @@ -411,6 +418,7 @@ #d2e9b40c: "6925252787601137710", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -422,7 +430,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 51, @@ -437,6 +445,7 @@ #d2e9b40c: "17350102287109130674", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -448,7 +457,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/expr_with_cleanups.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/expr_with_cleanups.cpp.exp index 93d8366e6..c0c169016 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/expr_with_cleanups.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/expr_with_cleanups.cpp.exp @@ -276,6 +276,7 @@ #d2e9b40c: "18119742553314115417", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -295,7 +296,7 @@ }, [])> }, - { #fe288443: true })> + { })> ], { }, <#01fae064>, diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/friend.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/friend.cpp.exp index 6d72e0e92..0401b208a 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/friend.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/friend.cpp.exp @@ -157,6 +157,7 @@ #d2e9b40c: "15291750046890212067", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 19, #c11b7aa2: <#d394bb73: @@ -167,7 +168,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 22, @@ -182,6 +183,7 @@ #d2e9b40c: "225939024662492936", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -194,7 +196,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 26, @@ -209,6 +211,7 @@ #d2e9b40c: "11375010590039767716", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -221,7 +224,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/inheriting_constructor.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/inheriting_constructor.cpp.exp index f9d956916..eb4dc09bd 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/inheriting_constructor.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/inheriting_constructor.cpp.exp @@ -141,6 +141,7 @@ #d2e9b40c: "6367731417382615745", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -152,7 +153,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 22, @@ -167,6 +168,7 @@ #d2e9b40c: "17956886967408801671", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -178,7 +180,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cfe47fa6: ({ #d121c0bd: 26, @@ -298,6 +300,7 @@ #d2e9b40c: "6925252787601137710", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -309,7 +312,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 41, @@ -324,6 +327,7 @@ #d2e9b40c: "17350102287109130674", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -335,7 +339,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 45, diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/lambda.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/lambda.cpp.exp index 47d767717..b63a433a4 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/lambda.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/lambda.cpp.exp @@ -474,6 +474,8 @@ true, #3e64314e: true, + #fe288443: + true, #d17ebeaa: [ <#fd75cc45: ( @@ -508,10 +510,7 @@ })> ] }, - { - #fe288443: - true - })>, + { })>, <#cc498dc1: ({ #d121c0bd: 36, @@ -552,6 +551,8 @@ true, #3e64314e: true, + #fe288443: + true, #d17ebeaa: [ <#fd75cc45: ( @@ -605,10 +606,7 @@ }, [])> }, - { - #fe288443: - true - })> + { })> ], { }, <#01fae064>, @@ -1118,6 +1116,8 @@ true, #3e64314e: true, + #fe288443: + true, #d17ebeaa: [ <#fd75cc45: ({ @@ -1151,10 +1151,7 @@ })> ] }, - { - #fe288443: - true - })>, + { })>, <#cc498dc1: ( { @@ -1201,6 +1198,8 @@ true, #3e64314e: true, + #fe288443: + true, #d17ebeaa: [ <#fd75cc45: ({ @@ -1255,10 +1254,7 @@ }, [])> }, - { - #fe288443: - true - })> + { })> ], { }, <#01fae064>, @@ -1917,6 +1913,8 @@ true, #3e64314e: true, + #fe288443: + true, #d17ebeaa: [ <#fd75cc45: ( @@ -1951,10 +1949,7 @@ })> ] }, - { - #fe288443: - true - })>, + { })>, <#cc498dc1: ({ #d121c0bd: 68, @@ -1995,6 +1990,8 @@ true, #3e64314e: true, + #fe288443: + true, #d17ebeaa: [ <#fd75cc45: ( @@ -2053,8 +2050,6 @@ [])> }, { - #fe288443: - true, #ef684b00: [ { #298801ac: @@ -3211,6 +3206,8 @@ true, #3e64314e: true, + #fe288443: + true, #d17ebeaa: [ <#fd75cc45: ({ @@ -3244,10 +3241,7 @@ })> ] }, - { - #fe288443: - true - })>, + { })>, <#cc498dc1: ( { @@ -3294,6 +3288,8 @@ true, #3e64314e: true, + #fe288443: + true, #d17ebeaa: [ <#fd75cc45: ({ @@ -3353,8 +3349,6 @@ [])> }, { - #fe288443: - true, #ef684b00: [ { #298801ac: @@ -4325,6 +4319,8 @@ true, #3e64314e: true, + #fe288443: + true, #d17ebeaa: [ <#fd75cc45: ( @@ -4359,10 +4355,7 @@ })> ] }, - { - #fe288443: - true - })>, + { })>, <#cc498dc1: ({ #d121c0bd: @@ -4405,6 +4398,8 @@ true, #3e64314e: true, + #fe288443: + true, #d17ebeaa: [ <#fd75cc45: ( @@ -4464,8 +4459,6 @@ [])> }, { - #fe288443: - true, #ef684b00: [ { #298801ac: @@ -5340,6 +5333,8 @@ true, #3e64314e: true, + #fe288443: + true, #d17ebeaa: [ <#fd75cc45: ({ @@ -5373,10 +5368,7 @@ })> ] }, - { - #fe288443: - true - })>, + { })>, <#cc498dc1: ( { @@ -5423,6 +5415,8 @@ true, #3e64314e: true, + #fe288443: + true, #d17ebeaa: [ <#fd75cc45: ({ @@ -5482,8 +5476,6 @@ [])> }, { - #fe288443: - true, #ef684b00: [ { #298801ac: diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/new.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/new.cpp.exp index 0ff994a7e..902632e67 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/new.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/new.cpp.exp @@ -115,6 +115,7 @@ #d2e9b40c: "12480848167264656407", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -126,7 +127,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 19, @@ -141,6 +142,7 @@ #d2e9b40c: "6070336924810484949", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -152,7 +154,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cfe47fa6: ({ #d121c0bd: 23, @@ -548,6 +550,7 @@ #d2e9b40c: "17833126256375871848", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -559,7 +562,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 50, @@ -574,6 +577,7 @@ #d2e9b40c: "16041718976592305524", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -585,7 +589,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cfe47fa6: ({ #d121c0bd: 54, diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/struct.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/struct.cpp.exp index 7e0fdae05..033b4b4c3 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/struct.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/struct.cpp.exp @@ -170,6 +170,7 @@ #d2e9b40c: "6288234584765134918", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 20, #c11b7aa2: <#d394bb73: @@ -181,7 +182,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 23, @@ -200,6 +201,7 @@ #d2e9b40c: "5359255322723102949", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -216,7 +218,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 27, @@ -235,6 +237,7 @@ #d2e9b40c: "18224946875082286891", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -251,7 +254,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/template_instantiations.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/template_instantiations.cpp.exp index 7fad5c70c..5641c10f6 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/template_instantiations.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/template_instantiations.cpp.exp @@ -119,6 +119,7 @@ #d2e9b40c: "15507823120941368224", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 14, #c11b7aa2: <#d394bb73: @@ -129,7 +130,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 17, @@ -147,6 +148,7 @@ #d2e9b40c: "651618469270041090", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -159,7 +161,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 21, @@ -177,6 +179,7 @@ #d2e9b40c: "14649822005097330172", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -189,7 +192,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, @@ -307,6 +310,7 @@ #d2e9b40c: "9282946488688737892", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 34, #c11b7aa2: <#d394bb73: @@ -317,7 +321,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 36, @@ -337,6 +341,7 @@ #d2e9b40c: "4835163870722214719", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -349,7 +354,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 40, @@ -369,6 +374,7 @@ #d2e9b40c: "14658047667100730153", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -381,7 +387,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, @@ -483,6 +489,7 @@ #d2e9b40c: "18054455536952808167", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 51, #c11b7aa2: <#d394bb73: @@ -493,7 +500,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 53, @@ -511,6 +518,7 @@ #d2e9b40c: "12602934757794480668", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -523,7 +531,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 57, @@ -541,6 +549,7 @@ #d2e9b40c: "3579925925305368200", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -553,7 +562,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, @@ -624,6 +633,7 @@ #d2e9b40c: "16721342488904302213", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 65, #c11b7aa2: <#d394bb73: @@ -634,7 +644,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 67, @@ -652,6 +662,7 @@ #d2e9b40c: "6201193260347400774", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -664,7 +675,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 71, @@ -682,6 +693,7 @@ #d2e9b40c: "17328475686832768154", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -694,7 +706,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, @@ -769,6 +781,7 @@ #d2e9b40c: "17996233516732688870", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 79, #c11b7aa2: <#d394bb73: @@ -779,7 +792,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 81, @@ -799,6 +812,7 @@ #d2e9b40c: "8170411964911509925", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -811,7 +825,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 85, @@ -831,6 +845,7 @@ #d2e9b40c: "16625409861663294039", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -843,7 +858,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, @@ -997,6 +1012,7 @@ #d2e9b40c: "7942647797612205972", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 102, #c11b7aa2: <#d394bb73: @@ -1007,7 +1023,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 104, @@ -1022,6 +1038,7 @@ #d2e9b40c: "13792914784228561871", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -1034,7 +1051,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 108, @@ -1049,6 +1066,7 @@ #d2e9b40c: "6395019852822673209", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -1061,7 +1079,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, @@ -1122,6 +1140,7 @@ #d2e9b40c: "16769433076588921314", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 117, #c11b7aa2: <#d394bb73: @@ -1131,7 +1150,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 119, @@ -1146,6 +1165,7 @@ #d2e9b40c: "18119742553314115417", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -1157,7 +1177,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 123, @@ -1172,6 +1192,7 @@ #d2e9b40c: "14901405322990444079", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -1183,7 +1204,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, @@ -1241,6 +1262,7 @@ #d2e9b40c: "499240077376103735", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 131, #c11b7aa2: <#d394bb73: @@ -1251,7 +1273,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 133, @@ -1266,6 +1288,7 @@ #d2e9b40c: "17768891565958800780", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -1278,7 +1301,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 137, @@ -1293,6 +1316,7 @@ #d2e9b40c: "5257127409284049912", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -1305,7 +1329,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, @@ -1395,6 +1419,7 @@ #d2e9b40c: "8268180592181082237", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 147, #c11b7aa2: <#d394bb73: @@ -1405,7 +1430,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 149, @@ -1420,6 +1445,7 @@ #d2e9b40c: "15184425556926585790", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -1432,7 +1458,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 153, @@ -1447,6 +1473,7 @@ #d2e9b40c: "2251022854406196514", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -1459,7 +1486,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, @@ -1554,6 +1581,7 @@ #d2e9b40c: "3162969511250741948", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #ebe3c415: 166, #c11b7aa2: <#d394bb73: @@ -1564,7 +1592,7 @@ }, [])> }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 168, @@ -1579,6 +1607,7 @@ #d2e9b40c: "943561519717330679", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -1591,7 +1620,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cc498dc1: ({ #d121c0bd: 172, @@ -1606,6 +1635,7 @@ #d2e9b40c: "16348915219842036529", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -1618,7 +1648,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })> + { })> ], { }, <#c5b1f8a9>, diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/type_trait.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/type_trait.cpp.exp index 266212327..00be383ce 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/type_trait.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/type_trait.cpp.exp @@ -105,6 +105,7 @@ #d2e9b40c: "3547081667308014059", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -116,7 +117,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#29ca61ce: ({ #d121c0bd: 17, @@ -131,6 +132,7 @@ #d2e9b40c: "13578800157532850793", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -142,7 +144,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#cfe47fa6: ({ #d121c0bd: 21, diff --git a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/virtual_bases.cpp.exp b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/virtual_bases.cpp.exp index 810a00af7..7e243e580 100644 --- a/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/virtual_bases.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/BiniouASTExporter/virtual_bases.cpp.exp @@ -133,6 +133,7 @@ #d2e9b40c: "6367731417382615745", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -144,7 +145,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#29ca61ce: ({ #d121c0bd: 20, @@ -449,6 +450,7 @@ #d2e9b40c: "7407813062435547771", #f1a45f0e: true, #3e64314e: true, + #fe288443: true, #d17ebeaa: [ <#fd75cc45: ({ @@ -460,7 +462,7 @@ { #0370b1b2: 0 })> ] }, - { #fe288443: true })>, + { })>, <#29ca61ce: ({ #d121c0bd: 49, diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/bind_temporary.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/bind_temporary.cpp.exp index 60d040c2b..c844e668c 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/bind_temporary.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/bind_temporary.cpp.exp @@ -320,6 +320,7 @@ "mangled_name" : "1652559256541304523", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -349,7 +350,6 @@ ] }, { - "is_constexpr" : true } ]] ], diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/class_template.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/class_template.cpp.exp index d5aed1816..1202edb11 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/class_template.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/class_template.cpp.exp @@ -396,6 +396,7 @@ "mangled_name" : "8283222246682784723", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -425,7 +426,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -458,6 +458,7 @@ "mangled_name" : "6839343167991811455", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -487,7 +488,6 @@ ] }, { - "is_constexpr" : true } ]] ], @@ -832,6 +832,7 @@ "mangled_name" : "8232226518557505494", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -861,7 +862,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -894,6 +894,7 @@ "mangled_name" : "10012197224398183680", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -923,7 +924,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXMethodDecl" , [ @@ -958,6 +958,7 @@ "mangled_name" : "16979568942442152295", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1266,7 +1267,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXMethodDecl" , [ @@ -1299,6 +1299,7 @@ "mangled_name" : "12620087123913755403", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1328,7 +1329,6 @@ ] }, { - "is_constexpr" : true } ]] ], diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/const_cast.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/const_cast.cpp.exp index 64f214741..e258abacf 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/const_cast.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/const_cast.cpp.exp @@ -630,7 +630,7 @@ }, { "is_global" : true, - "is_const_expr" : true, + "is_constexpr" : true, "is_init_ice" : true, "init_expr" : ["IntegerLiteral" , [ { diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/dynamic_cast.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/dynamic_cast.cpp.exp index 939327dd3..028ce1b12 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/dynamic_cast.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/dynamic_cast.cpp.exp @@ -255,6 +255,7 @@ "mangled_name" : "4916027756641681778", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -284,7 +285,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXMethodDecl" , [ @@ -316,6 +316,7 @@ "mangled_name" : "1130122404358677750", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -345,7 +346,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXDestructorDecl" , [ @@ -412,6 +412,7 @@ "mangled_name" : "16649858826465904026", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 23, "body" : ["CompoundStmt" , [ { @@ -430,7 +431,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -462,6 +462,7 @@ "mangled_name" : "6367731417382615745", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -491,7 +492,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -523,6 +523,7 @@ "mangled_name" : "17956886967408801671", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -552,7 +553,6 @@ ] }, { - "is_constexpr" : true } ]] ], @@ -666,6 +666,7 @@ "mangled_name" : "12683202677887858481", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -695,7 +696,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXMethodDecl" , [ @@ -727,6 +727,7 @@ "mangled_name" : "4655428711165100535", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -756,7 +757,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXDestructorDecl" , [ @@ -823,6 +823,7 @@ "mangled_name" : "8928078380412315851", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 45, "body" : ["CompoundStmt" , [ { @@ -841,7 +842,6 @@ ]] }, { - "is_constexpr" : true, "cxx_ctor_initializers" : [ { "subject" : ["BaseClass" , [ @@ -923,6 +923,7 @@ "mangled_name" : "6925252787601137710", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -952,7 +953,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -984,6 +984,7 @@ "mangled_name" : "17350102287109130674", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1013,7 +1014,6 @@ ] }, { - "is_constexpr" : true } ]] ], diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/expr_with_cleanups.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/expr_with_cleanups.cpp.exp index c59a85150..160a027ce 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/expr_with_cleanups.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/expr_with_cleanups.cpp.exp @@ -634,6 +634,7 @@ "mangled_name" : "18119742553314115417", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -679,7 +680,6 @@ ]] }, { - "is_constexpr" : true } ]] ], diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/friend.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/friend.cpp.exp index 81c535f01..36cb2270e 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/friend.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/friend.cpp.exp @@ -350,6 +350,7 @@ "mangled_name" : "15291750046890212067", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 19, "body" : ["CompoundStmt" , [ { @@ -368,7 +369,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -400,6 +400,7 @@ "mangled_name" : "225939024662492936", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -429,7 +430,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -461,6 +461,7 @@ "mangled_name" : "11375010590039767716", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -490,7 +491,6 @@ ] }, { - "is_constexpr" : true } ]] ], diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/inheriting_constructor.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/inheriting_constructor.cpp.exp index 76b6b872d..5d5c2c3e8 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/inheriting_constructor.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/inheriting_constructor.cpp.exp @@ -330,6 +330,7 @@ "mangled_name" : "6367731417382615745", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -359,7 +360,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -391,6 +391,7 @@ "mangled_name" : "17956886967408801671", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -420,7 +421,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXDestructorDecl" , [ @@ -691,6 +691,7 @@ "mangled_name" : "6925252787601137710", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -720,7 +721,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -752,6 +752,7 @@ "mangled_name" : "17350102287109130674", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -781,7 +782,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/lambda.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/lambda.cpp.exp index ab797418c..035a76bcf 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/lambda.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/lambda.cpp.exp @@ -601,6 +601,7 @@ "mangled_name" : "10693628329110131385", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -630,7 +631,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -665,6 +665,7 @@ "mangled_name" : "18362977156530360911", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -710,7 +711,6 @@ ]] }, { - "is_constexpr" : true } ]] ], @@ -1185,6 +1185,7 @@ "mangled_name" : "10693628329110131385", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1214,7 +1215,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -1249,6 +1249,7 @@ "mangled_name" : "18362977156530360911", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1294,7 +1295,6 @@ ]] }, { - "is_constexpr" : true } ]] ], @@ -1949,6 +1949,7 @@ "mangled_name" : "34143097794571044", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1978,7 +1979,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -2013,6 +2013,7 @@ "mangled_name" : "4775778177696808400", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -2060,7 +2061,6 @@ ]] }, { - "is_constexpr" : true, "cxx_ctor_initializers" : [ { "subject" : ["Member" , { @@ -3076,6 +3076,7 @@ "mangled_name" : "34143097794571044", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -3105,7 +3106,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -3140,6 +3140,7 @@ "mangled_name" : "4775778177696808400", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -3187,7 +3188,6 @@ ]] }, { - "is_constexpr" : true, "cxx_ctor_initializers" : [ { "subject" : ["Member" , { @@ -4070,6 +4070,7 @@ "mangled_name" : "7938324828555278899", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -4099,7 +4100,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -4134,6 +4134,7 @@ "mangled_name" : "4960955440766632321", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -4181,7 +4182,6 @@ ]] }, { - "is_constexpr" : true, "cxx_ctor_initializers" : [ { "subject" : ["Member" , { @@ -4958,6 +4958,7 @@ "mangled_name" : "7938324828555278899", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -4987,7 +4988,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -5022,6 +5022,7 @@ "mangled_name" : "4960955440766632321", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -5069,7 +5070,6 @@ ]] }, { - "is_constexpr" : true, "cxx_ctor_initializers" : [ { "subject" : ["Member" , { diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/new.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/new.cpp.exp index b8c089d6a..f32a208eb 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/new.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/new.cpp.exp @@ -283,6 +283,7 @@ "mangled_name" : "12480848167264656407", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -312,7 +313,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -344,6 +344,7 @@ "mangled_name" : "6070336924810484949", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -373,7 +374,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXDestructorDecl" , [ @@ -1158,6 +1158,7 @@ "mangled_name" : "17833126256375871848", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1187,7 +1188,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -1219,6 +1219,7 @@ "mangled_name" : "16041718976592305524", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1248,7 +1249,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXDestructorDecl" , [ diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/struct.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/struct.cpp.exp index 800af6e3e..3b22a092c 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/struct.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/struct.cpp.exp @@ -389,6 +389,7 @@ "mangled_name" : "6288234584765134918", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 20, "body" : ["CompoundStmt" , [ { @@ -407,7 +408,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -440,6 +440,7 @@ "mangled_name" : "5359255322723102949", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -469,7 +470,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -502,6 +502,7 @@ "mangled_name" : "18224946875082286891", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -531,7 +532,6 @@ ] }, { - "is_constexpr" : true } ]] ], diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/template_instantiations.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/template_instantiations.cpp.exp index 51de7430f..38057693f 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/template_instantiations.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/template_instantiations.cpp.exp @@ -269,6 +269,7 @@ "mangled_name" : "15507823120941368224", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 14, "body" : ["CompoundStmt" , [ { @@ -287,7 +288,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -319,6 +319,7 @@ "mangled_name" : "651618469270041090", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -348,7 +349,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -380,6 +380,7 @@ "mangled_name" : "14649822005097330172", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -409,7 +410,6 @@ ] }, { - "is_constexpr" : true } ]] ], @@ -634,6 +634,7 @@ "mangled_name" : "9282946488688737892", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 34, "body" : ["CompoundStmt" , [ { @@ -652,7 +653,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -684,6 +684,7 @@ "mangled_name" : "4835163870722214719", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -713,7 +714,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -745,6 +745,7 @@ "mangled_name" : "14658047667100730153", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -774,7 +775,6 @@ ] }, { - "is_constexpr" : true } ]] ], @@ -971,6 +971,7 @@ "mangled_name" : "18054455536952808167", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 51, "body" : ["CompoundStmt" , [ { @@ -989,7 +990,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -1021,6 +1021,7 @@ "mangled_name" : "12602934757794480668", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1050,7 +1051,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -1082,6 +1082,7 @@ "mangled_name" : "3579925925305368200", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1111,7 +1112,6 @@ ] }, { - "is_constexpr" : true } ]] ], @@ -1246,6 +1246,7 @@ "mangled_name" : "16721342488904302213", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 65, "body" : ["CompoundStmt" , [ { @@ -1264,7 +1265,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -1296,6 +1296,7 @@ "mangled_name" : "6201193260347400774", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1325,7 +1326,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -1357,6 +1357,7 @@ "mangled_name" : "17328475686832768154", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1386,7 +1387,6 @@ ] }, { - "is_constexpr" : true } ]] ], @@ -1521,6 +1521,7 @@ "mangled_name" : "17996233516732688870", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 79, "body" : ["CompoundStmt" , [ { @@ -1539,7 +1540,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -1571,6 +1571,7 @@ "mangled_name" : "8170411964911509925", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1600,7 +1601,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -1632,6 +1632,7 @@ "mangled_name" : "16625409861663294039", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1661,7 +1662,6 @@ ] }, { - "is_constexpr" : true } ]] ], @@ -1982,6 +1982,7 @@ "mangled_name" : "7942647797612205972", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 102, "body" : ["CompoundStmt" , [ { @@ -2000,7 +2001,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -2032,6 +2032,7 @@ "mangled_name" : "13792914784228561871", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -2061,7 +2062,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -2093,6 +2093,7 @@ "mangled_name" : "6395019852822673209", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -2122,7 +2123,6 @@ ] }, { - "is_constexpr" : true } ]] ], @@ -2263,6 +2263,7 @@ "mangled_name" : "16769433076588921314", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 117, "body" : ["CompoundStmt" , [ { @@ -2281,7 +2282,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -2313,6 +2313,7 @@ "mangled_name" : "18119742553314115417", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -2342,7 +2343,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -2374,6 +2374,7 @@ "mangled_name" : "14901405322990444079", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -2403,7 +2404,6 @@ ] }, { - "is_constexpr" : true } ]] ], @@ -2528,6 +2528,7 @@ "mangled_name" : "499240077376103735", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 131, "body" : ["CompoundStmt" , [ { @@ -2546,7 +2547,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -2578,6 +2578,7 @@ "mangled_name" : "17768891565958800780", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -2607,7 +2608,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -2639,6 +2639,7 @@ "mangled_name" : "5257127409284049912", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -2668,7 +2669,6 @@ ] }, { - "is_constexpr" : true } ]] ], @@ -2867,6 +2867,7 @@ "mangled_name" : "8268180592181082237", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 147, "body" : ["CompoundStmt" , [ { @@ -2885,7 +2886,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -2917,6 +2917,7 @@ "mangled_name" : "15184425556926585790", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -2946,7 +2947,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -2978,6 +2978,7 @@ "mangled_name" : "2251022854406196514", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -3007,7 +3008,6 @@ ] }, { - "is_constexpr" : true } ]] ], @@ -3226,6 +3226,7 @@ "mangled_name" : "3162969511250741948", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 166, "body" : ["CompoundStmt" , [ { @@ -3244,7 +3245,6 @@ ]] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -3276,6 +3276,7 @@ "mangled_name" : "943561519717330679", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -3305,7 +3306,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXConstructorDecl" , [ @@ -3337,6 +3337,7 @@ "mangled_name" : "16348915219842036529", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -3366,7 +3367,6 @@ ] }, { - "is_constexpr" : true } ]] ], diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/type_trait.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/type_trait.cpp.exp index 4796dcf98..b47a21b77 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/type_trait.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/type_trait.cpp.exp @@ -253,6 +253,7 @@ "mangled_name" : "3547081667308014059", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -282,7 +283,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXMethodDecl" , [ @@ -314,6 +314,7 @@ "mangled_name" : "13578800157532850793", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -343,7 +344,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXDestructorDecl" , [ diff --git a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/virtual_bases.cpp.exp b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/virtual_bases.cpp.exp index c00e54a51..e435f88e1 100644 --- a/facebook-clang-plugins/libtooling/tests/JsonASTExporter/virtual_bases.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/JsonASTExporter/virtual_bases.cpp.exp @@ -305,6 +305,7 @@ "mangled_name" : "6367731417382615745", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -334,7 +335,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXMethodDecl" , [ @@ -974,6 +974,7 @@ "mangled_name" : "7407813062435547771", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ ["ParmVarDecl" , [ { @@ -1003,7 +1004,6 @@ ] }, { - "is_constexpr" : true } ]], ["CXXMethodDecl" , [ diff --git a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/bind_temporary.cpp.exp b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/bind_temporary.cpp.exp index b0f852d01..58aeffce5 100644 --- a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/bind_temporary.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/bind_temporary.cpp.exp @@ -320,6 +320,7 @@ "mangled_name" : "1652559256541304523", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -349,7 +350,6 @@ ] }, { - "is_constexpr" : true } )> ], diff --git a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/class_template.cpp.exp b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/class_template.cpp.exp index ed2897477..f3297ce7a 100644 --- a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/class_template.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/class_template.cpp.exp @@ -396,6 +396,7 @@ "mangled_name" : "8283222246682784723", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -425,7 +426,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -458,6 +458,7 @@ "mangled_name" : "6839343167991811455", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -487,7 +488,6 @@ ] }, { - "is_constexpr" : true } )> ], @@ -832,6 +832,7 @@ "mangled_name" : "8232226518557505494", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -861,7 +862,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -894,6 +894,7 @@ "mangled_name" : "10012197224398183680", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -923,7 +924,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXMethodDecl" : ( @@ -958,6 +958,7 @@ "mangled_name" : "16979568942442152295", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1266,7 +1267,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXMethodDecl" : ( @@ -1299,6 +1299,7 @@ "mangled_name" : "12620087123913755403", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1328,7 +1329,6 @@ ] }, { - "is_constexpr" : true } )> ], diff --git a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/const_cast.cpp.exp b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/const_cast.cpp.exp index cb4aa4cd2..f3246b19f 100644 --- a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/const_cast.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/const_cast.cpp.exp @@ -630,7 +630,7 @@ }, { "is_global" : true, - "is_const_expr" : true, + "is_constexpr" : true, "is_init_ice" : true, "init_expr" : <"IntegerLiteral" : ( { diff --git a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/dynamic_cast.cpp.exp b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/dynamic_cast.cpp.exp index 07fcb647b..9310243e0 100644 --- a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/dynamic_cast.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/dynamic_cast.cpp.exp @@ -255,6 +255,7 @@ "mangled_name" : "4916027756641681778", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -284,7 +285,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXMethodDecl" : ( @@ -316,6 +316,7 @@ "mangled_name" : "1130122404358677750", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -345,7 +346,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXDestructorDecl" : ( @@ -412,6 +412,7 @@ "mangled_name" : "16649858826465904026", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 23, "body" : <"CompoundStmt" : ( { @@ -430,7 +431,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -462,6 +462,7 @@ "mangled_name" : "6367731417382615745", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -491,7 +492,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -523,6 +523,7 @@ "mangled_name" : "17956886967408801671", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -552,7 +553,6 @@ ] }, { - "is_constexpr" : true } )> ], @@ -666,6 +666,7 @@ "mangled_name" : "12683202677887858481", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -695,7 +696,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXMethodDecl" : ( @@ -727,6 +727,7 @@ "mangled_name" : "4655428711165100535", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -756,7 +757,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXDestructorDecl" : ( @@ -823,6 +823,7 @@ "mangled_name" : "8928078380412315851", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 45, "body" : <"CompoundStmt" : ( { @@ -841,7 +842,6 @@ )> }, { - "is_constexpr" : true, "cxx_ctor_initializers" : [ { "subject" : <"BaseClass" : ( @@ -923,6 +923,7 @@ "mangled_name" : "6925252787601137710", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -952,7 +953,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -984,6 +984,7 @@ "mangled_name" : "17350102287109130674", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1013,7 +1014,6 @@ ] }, { - "is_constexpr" : true } )> ], diff --git a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/expr_with_cleanups.cpp.exp b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/expr_with_cleanups.cpp.exp index 81c5c5979..9f4db0df8 100644 --- a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/expr_with_cleanups.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/expr_with_cleanups.cpp.exp @@ -634,6 +634,7 @@ "mangled_name" : "18119742553314115417", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -679,7 +680,6 @@ )> }, { - "is_constexpr" : true } )> ], diff --git a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/friend.cpp.exp b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/friend.cpp.exp index bd9e92554..1a5f55694 100644 --- a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/friend.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/friend.cpp.exp @@ -350,6 +350,7 @@ "mangled_name" : "15291750046890212067", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 19, "body" : <"CompoundStmt" : ( { @@ -368,7 +369,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -400,6 +400,7 @@ "mangled_name" : "225939024662492936", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -429,7 +430,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -461,6 +461,7 @@ "mangled_name" : "11375010590039767716", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -490,7 +491,6 @@ ] }, { - "is_constexpr" : true } )> ], diff --git a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/inheriting_constructor.cpp.exp b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/inheriting_constructor.cpp.exp index c54eafe02..8e81d94a1 100644 --- a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/inheriting_constructor.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/inheriting_constructor.cpp.exp @@ -330,6 +330,7 @@ "mangled_name" : "6367731417382615745", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -359,7 +360,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -391,6 +391,7 @@ "mangled_name" : "17956886967408801671", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -420,7 +421,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXDestructorDecl" : ( @@ -691,6 +691,7 @@ "mangled_name" : "6925252787601137710", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -720,7 +721,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -752,6 +752,7 @@ "mangled_name" : "17350102287109130674", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -781,7 +782,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( diff --git a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/lambda.cpp.exp b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/lambda.cpp.exp index 4207c0fa3..85877abd5 100644 --- a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/lambda.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/lambda.cpp.exp @@ -601,6 +601,7 @@ "mangled_name" : "10693628329110131385", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -630,7 +631,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -665,6 +665,7 @@ "mangled_name" : "18362977156530360911", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -710,7 +711,6 @@ )> }, { - "is_constexpr" : true } )> ], @@ -1185,6 +1185,7 @@ "mangled_name" : "10693628329110131385", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1214,7 +1215,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -1249,6 +1249,7 @@ "mangled_name" : "18362977156530360911", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1294,7 +1295,6 @@ )> }, { - "is_constexpr" : true } )> ], @@ -1949,6 +1949,7 @@ "mangled_name" : "34143097794571044", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1978,7 +1979,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -2013,6 +2013,7 @@ "mangled_name" : "4775778177696808400", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -2060,7 +2061,6 @@ )> }, { - "is_constexpr" : true, "cxx_ctor_initializers" : [ { "subject" : <"Member" : { @@ -3076,6 +3076,7 @@ "mangled_name" : "34143097794571044", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -3105,7 +3106,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -3140,6 +3140,7 @@ "mangled_name" : "4775778177696808400", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -3187,7 +3188,6 @@ )> }, { - "is_constexpr" : true, "cxx_ctor_initializers" : [ { "subject" : <"Member" : { @@ -4070,6 +4070,7 @@ "mangled_name" : "7938324828555278899", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -4099,7 +4100,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -4134,6 +4134,7 @@ "mangled_name" : "4960955440766632321", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -4181,7 +4182,6 @@ )> }, { - "is_constexpr" : true, "cxx_ctor_initializers" : [ { "subject" : <"Member" : { @@ -4958,6 +4958,7 @@ "mangled_name" : "7938324828555278899", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -4987,7 +4988,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -5022,6 +5022,7 @@ "mangled_name" : "4960955440766632321", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -5069,7 +5070,6 @@ )> }, { - "is_constexpr" : true, "cxx_ctor_initializers" : [ { "subject" : <"Member" : { diff --git a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/new.cpp.exp b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/new.cpp.exp index c35be42b0..14a08fe97 100644 --- a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/new.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/new.cpp.exp @@ -283,6 +283,7 @@ "mangled_name" : "12480848167264656407", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -312,7 +313,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -344,6 +344,7 @@ "mangled_name" : "6070336924810484949", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -373,7 +374,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXDestructorDecl" : ( @@ -1158,6 +1158,7 @@ "mangled_name" : "17833126256375871848", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1187,7 +1188,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -1219,6 +1219,7 @@ "mangled_name" : "16041718976592305524", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1248,7 +1249,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXDestructorDecl" : ( diff --git a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/struct.cpp.exp b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/struct.cpp.exp index b17e2fcf4..16f8e7f1b 100644 --- a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/struct.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/struct.cpp.exp @@ -389,6 +389,7 @@ "mangled_name" : "6288234584765134918", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 20, "body" : <"CompoundStmt" : ( { @@ -407,7 +408,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -440,6 +440,7 @@ "mangled_name" : "5359255322723102949", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -469,7 +470,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -502,6 +502,7 @@ "mangled_name" : "18224946875082286891", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -531,7 +532,6 @@ ] }, { - "is_constexpr" : true } )> ], diff --git a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/template_instantiations.cpp.exp b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/template_instantiations.cpp.exp index 7f2180459..3662cc76e 100644 --- a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/template_instantiations.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/template_instantiations.cpp.exp @@ -269,6 +269,7 @@ "mangled_name" : "15507823120941368224", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 14, "body" : <"CompoundStmt" : ( { @@ -287,7 +288,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -319,6 +319,7 @@ "mangled_name" : "651618469270041090", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -348,7 +349,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -380,6 +380,7 @@ "mangled_name" : "14649822005097330172", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -409,7 +410,6 @@ ] }, { - "is_constexpr" : true } )> ], @@ -634,6 +634,7 @@ "mangled_name" : "9282946488688737892", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 34, "body" : <"CompoundStmt" : ( { @@ -652,7 +653,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -684,6 +684,7 @@ "mangled_name" : "4835163870722214719", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -713,7 +714,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -745,6 +745,7 @@ "mangled_name" : "14658047667100730153", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -774,7 +775,6 @@ ] }, { - "is_constexpr" : true } )> ], @@ -971,6 +971,7 @@ "mangled_name" : "18054455536952808167", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 51, "body" : <"CompoundStmt" : ( { @@ -989,7 +990,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -1021,6 +1021,7 @@ "mangled_name" : "12602934757794480668", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1050,7 +1051,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -1082,6 +1082,7 @@ "mangled_name" : "3579925925305368200", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1111,7 +1112,6 @@ ] }, { - "is_constexpr" : true } )> ], @@ -1246,6 +1246,7 @@ "mangled_name" : "16721342488904302213", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 65, "body" : <"CompoundStmt" : ( { @@ -1264,7 +1265,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -1296,6 +1296,7 @@ "mangled_name" : "6201193260347400774", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1325,7 +1326,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -1357,6 +1357,7 @@ "mangled_name" : "17328475686832768154", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1386,7 +1387,6 @@ ] }, { - "is_constexpr" : true } )> ], @@ -1521,6 +1521,7 @@ "mangled_name" : "17996233516732688870", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 79, "body" : <"CompoundStmt" : ( { @@ -1539,7 +1540,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -1571,6 +1571,7 @@ "mangled_name" : "8170411964911509925", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1600,7 +1601,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -1632,6 +1632,7 @@ "mangled_name" : "16625409861663294039", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -1661,7 +1662,6 @@ ] }, { - "is_constexpr" : true } )> ], @@ -1982,6 +1982,7 @@ "mangled_name" : "7942647797612205972", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 102, "body" : <"CompoundStmt" : ( { @@ -2000,7 +2001,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -2032,6 +2032,7 @@ "mangled_name" : "13792914784228561871", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -2061,7 +2062,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -2093,6 +2093,7 @@ "mangled_name" : "6395019852822673209", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -2122,7 +2123,6 @@ ] }, { - "is_constexpr" : true } )> ], @@ -2263,6 +2263,7 @@ "mangled_name" : "16769433076588921314", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 117, "body" : <"CompoundStmt" : ( { @@ -2281,7 +2282,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -2313,6 +2313,7 @@ "mangled_name" : "18119742553314115417", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -2342,7 +2343,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -2374,6 +2374,7 @@ "mangled_name" : "14901405322990444079", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -2403,7 +2404,6 @@ ] }, { - "is_constexpr" : true } )> ], @@ -2528,6 +2528,7 @@ "mangled_name" : "499240077376103735", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 131, "body" : <"CompoundStmt" : ( { @@ -2546,7 +2547,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -2578,6 +2578,7 @@ "mangled_name" : "17768891565958800780", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -2607,7 +2608,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -2639,6 +2639,7 @@ "mangled_name" : "5257127409284049912", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -2668,7 +2669,6 @@ ] }, { - "is_constexpr" : true } )> ], @@ -2867,6 +2867,7 @@ "mangled_name" : "8268180592181082237", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 147, "body" : <"CompoundStmt" : ( { @@ -2885,7 +2886,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -2917,6 +2917,7 @@ "mangled_name" : "15184425556926585790", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -2946,7 +2947,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -2978,6 +2978,7 @@ "mangled_name" : "2251022854406196514", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -3007,7 +3008,6 @@ ] }, { - "is_constexpr" : true } )> ], @@ -3226,6 +3226,7 @@ "mangled_name" : "3162969511250741948", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "decl_ptr_with_body" : 166, "body" : <"CompoundStmt" : ( { @@ -3244,7 +3245,6 @@ )> }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -3276,6 +3276,7 @@ "mangled_name" : "943561519717330679", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -3305,7 +3306,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXConstructorDecl" : ( @@ -3337,6 +3337,7 @@ "mangled_name" : "16348915219842036529", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -3366,7 +3367,6 @@ ] }, { - "is_constexpr" : true } )> ], diff --git a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/type_trait.cpp.exp b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/type_trait.cpp.exp index 66148752d..2950e91fb 100644 --- a/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/type_trait.cpp.exp +++ b/facebook-clang-plugins/libtooling/tests/YojsonASTExporter/type_trait.cpp.exp @@ -253,6 +253,7 @@ "mangled_name" : "3547081667308014059", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -282,7 +283,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXMethodDecl" : ( @@ -314,6 +314,7 @@ "mangled_name" : "13578800157532850793", "is_cpp" : true, "is_inline" : true, + "is_constexpr" : true, "parameters" : [ <"ParmVarDecl" : ( { @@ -343,7 +344,6 @@ ] }, { - "is_constexpr" : true } )>, <"CXXDestructorDecl" : ( diff --git a/infer/src/IR/ProcAttributes.ml b/infer/src/IR/ProcAttributes.ml index 7af0b1970..ee9529c2a 100644 --- a/infer/src/IR/ProcAttributes.ml +++ b/infer/src/IR/ProcAttributes.ml @@ -76,7 +76,9 @@ type t = ; proc_name: Procname.t (** name of the procedure *) ; ret_type: Typ.t (** return type *) ; has_added_return_param: bool (** whether or not a return param was added *) - ; is_ret_type_pod: bool (** whether or not the return type is POD *) } + ; is_ret_type_pod: bool (** whether or not the return type is POD *) + ; is_ret_constexpr: bool (** whether the (C++) function or method is declared as [constexpr] *) + } let get_annotated_formals {method_annotation= {params}; formals} = let rec zip_params ial parl = @@ -139,7 +141,8 @@ let default translation_unit proc_name = ; objc_accessor= None ; proc_name ; ret_type= StdTyp.void - ; is_ret_type_pod= true } + ; is_ret_type_pod= true + ; is_ret_constexpr= false } let pp_parameters = @@ -186,7 +189,8 @@ let pp f ; objc_accessor ; proc_name ; ret_type - ; is_ret_type_pod }[@warning "+9"]) = + ; is_ret_type_pod + ; is_ret_constexpr }[@warning "+9"]) = let default = default translation_unit proc_name in let pp_bool_default ~default title b f () = if not (Bool.equal default b) then F.fprintf f "; %s= %b@," title b @@ -253,6 +257,7 @@ let pp f (* always print ret type *) F.fprintf f "; ret_type= %a @," (Typ.pp_full Pp.text) ret_type ; pp_bool_default ~default:default.is_ret_type_pod "is_ret_type_pod" is_ret_type_pod f () ; + pp_bool_default ~default:default.is_ret_constexpr "is_ret_constexpr" is_ret_constexpr f () ; F.fprintf f "; proc_id= %a }@]" Procname.pp_unique_id proc_name diff --git a/infer/src/IR/ProcAttributes.mli b/infer/src/IR/ProcAttributes.mli index 4198d194b..009468ac6 100644 --- a/infer/src/IR/ProcAttributes.mli +++ b/infer/src/IR/ProcAttributes.mli @@ -59,7 +59,9 @@ type t = ; proc_name: Procname.t (** name of the procedure *) ; ret_type: Typ.t (** return type *) ; has_added_return_param: bool (** whether or not a return param was added *) - ; is_ret_type_pod: bool (** whether or not the return type is POD *) } + ; is_ret_type_pod: bool (** whether or not the return type is POD *) + ; is_ret_constexpr: bool (** whether the (C++) function or method is declared as [constexpr] *) + } val default : SourceFile.t -> Procname.t -> t (** Create a proc_attributes with default values. *) diff --git a/infer/src/IR/Procname.ml b/infer/src/IR/Procname.ml index 659c0a9ef..6c97f9b42 100644 --- a/infer/src/IR/Procname.ml +++ b/infer/src/IR/Procname.ml @@ -320,7 +320,7 @@ end module ObjC_Cpp = struct type kind = | CPPMethod of {mangled: string option} - | CPPConstructor of {mangled: string option; is_constexpr: bool} + | CPPConstructor of {mangled: string option} | CPPDestructor of {mangled: string option} | ObjCClassMethod | ObjCInstanceMethod @@ -383,17 +383,13 @@ module ObjC_Cpp = struct is_destructor pname && String.is_prefix ~prefix:Config.clang_inner_destructor_prefix method_name - let is_constexpr = function {kind= CPPConstructor {is_constexpr= true}} -> true | _ -> false - let is_cpp_lambda {method_name} = String.is_substring ~substring:"operator()" method_name let pp_verbose_kind fmt = function | CPPMethod {mangled} | CPPDestructor {mangled} -> F.fprintf fmt "(%s)" (Option.value ~default:"" mangled) - | CPPConstructor {mangled; is_constexpr} -> - F.fprintf fmt "{%s%s}" - (Option.value ~default:"" mangled) - (if is_constexpr then "|constexpr" else "") + | CPPConstructor {mangled} -> + F.fprintf fmt "{%s}" (Option.value ~default:"" mangled) | ObjCClassMethod -> F.pp_print_string fmt "class" | ObjCInstanceMethod -> diff --git a/infer/src/IR/Procname.mli b/infer/src/IR/Procname.mli index 5675a9d08..b1a70f722 100644 --- a/infer/src/IR/Procname.mli +++ b/infer/src/IR/Procname.mli @@ -138,7 +138,7 @@ end module ObjC_Cpp : sig type kind = | CPPMethod of {mangled: string option} - | CPPConstructor of {mangled: string option; is_constexpr: bool} + | CPPConstructor of {mangled: string option} | CPPDestructor of {mangled: string option} | ObjCClassMethod | ObjCInstanceMethod @@ -178,9 +178,6 @@ module ObjC_Cpp : sig val is_inner_destructor : t -> bool (** Check if this is a frontend-generated "inner" destructor (see D5834555/D7189239) *) - - val is_constexpr : t -> bool - (** Check if this is a constexpr function. *) end module C : sig diff --git a/infer/src/al/cPredicates.ml b/infer/src/al/cPredicates.ml index b3dd76077..9c538730d 100644 --- a/infer/src/al/cPredicates.ml +++ b/infer/src/al/cPredicates.ml @@ -498,7 +498,7 @@ let is_extern_var an = let is_const_expr_var an = - match an with Ctl_parser_types.Decl d -> CAst_utils.is_const_expr_var d | _ -> false + match an with Ctl_parser_types.Decl d -> CAst_utils.is_constexpr_var d | _ -> false let is_init_integral_constant_expr an = @@ -566,8 +566,7 @@ let has_init_list_const_expr an = | _ -> false ) in - L.(debug Analysis Verbose) - "@\n\n[has_init_list_const_expr] EVALUATE EXP '%a' result = '%b'@\n" + L.debug Analysis Verbose "@\n\n[has_init_list_const_expr] EVALUATE EXP '%a' result = '%b'@\n" (Pp.of_string ~f:Clang_ast_proj.get_stmt_kind_string) exp res ; res diff --git a/infer/src/checkers/Siof.ml b/infer/src/checkers/Siof.ml index 28c78934b..e954c8f43 100644 --- a/infer/src/checkers/Siof.ml +++ b/infer/src/checkers/Siof.ml @@ -161,9 +161,14 @@ module TransferFunctions (CFG : ProcCfg.S) = struct else None ) in Domain.join astate (NonBottom SiofTrace.bottom, Domain.VarNames.of_list init) - | Call (_, Const (Cfun (ObjC_Cpp cpp_pname as callee_pname)), _ :: actuals_without_self, loc, _) - when Procname.is_constructor callee_pname && Procname.ObjC_Cpp.is_constexpr cpp_pname -> - add_actuals_globals analysis_data astate loc actuals_without_self + | Call (_, Const (Cfun callee_pname), actuals, loc, _) + when Attributes.load callee_pname + |> Option.exists ~f:(fun attrs -> attrs.ProcAttributes.is_ret_constexpr) -> + let actuals_without_this = + if Procname.is_constructor callee_pname then List.tl actuals |> Option.value ~default:[] + else actuals + in + add_actuals_globals analysis_data astate loc actuals_without_this | Call (_, Const (Cfun callee_pname), actuals, loc, _) -> let callee_astate = match analyze_dependency callee_pname with @@ -287,9 +292,7 @@ let checker ({InterproceduralAnalysis.proc_desc} as analysis_data) = to figure this out when analyzing the function, but we might as well use the user's specification if it's given to us. This also serves as an optimization as this skips the analysis of the function. *) - if - match pname with ObjC_Cpp cpp_pname -> Procname.ObjC_Cpp.is_constexpr cpp_pname | _ -> false - then Some initial + if (Procdesc.get_attributes proc_desc).is_ret_constexpr then Some initial else Analyzer.compute_post analysis_data ~initial proc_desc in ( match Procname.get_global_name_of_initializer pname with diff --git a/infer/src/clang/CMethodProperties.ml b/infer/src/clang/CMethodProperties.ml index 986110aee..9df1ba7a3 100644 --- a/infer/src/clang/CMethodProperties.ml +++ b/infer/src/clang/CMethodProperties.ml @@ -117,6 +117,14 @@ let is_cpp_virtual method_decl = false +let is_constexpr decl = + match Clang_ast_proj.get_function_decl_tuple decl with + | Some (_, _, _, {Clang_ast_t.fdi_is_constexpr}) -> + fdi_is_constexpr + | None -> + false + + let get_init_list_instrs method_decl = let open Clang_ast_t in match method_decl with diff --git a/infer/src/clang/CMethodProperties.mli b/infer/src/clang/CMethodProperties.mli index fdbb43fac..0f4f7d49f 100644 --- a/infer/src/clang/CMethodProperties.mli +++ b/infer/src/clang/CMethodProperties.mli @@ -23,6 +23,8 @@ val is_cpp_lambda_call_operator : Clang_ast_t.decl -> bool val is_cpp_virtual : Clang_ast_t.decl -> bool +val is_constexpr : Clang_ast_t.decl -> bool + val get_init_list_instrs : Clang_ast_t.decl -> CFrontend_config.instr_type list val get_pointer_to_property : Clang_ast_t.decl -> Clang_ast_t.pointer option diff --git a/infer/src/clang/CType_decl.ml b/infer/src/clang/CType_decl.ml index 6dd68beaa..212cdaebe 100644 --- a/infer/src/clang/CType_decl.ml +++ b/infer/src/clang/CType_decl.ml @@ -165,6 +165,7 @@ module BuildMethodSignature = struct let ret_type, return_param_typ, ret_typ_annot, has_added_return_param, is_ret_type_pod = get_return_val_and_param_types qual_type_to_sil_type tenv ~block_return_type method_decl in + let is_ret_constexpr = CMethodProperties.is_constexpr method_decl in let method_kind = CMethodProperties.get_method_kind method_decl in let pointer_to_parent = decl_info.di_parent_pointer in let class_param = get_class_param qual_type_to_sil_type tenv method_decl in @@ -181,6 +182,7 @@ module BuildMethodSignature = struct ; params ; ret_type= (ret_type, ret_typ_annot) ; is_ret_type_pod + ; is_ret_constexpr ; has_added_return_param ; attributes ; loc @@ -601,8 +603,8 @@ and mk_cpp_method ?tenv class_name method_name ?meth_decl mangled parameters = let open Clang_ast_t in let method_kind = match meth_decl with - | Some (Clang_ast_t.CXXConstructorDecl (_, _, _, _, {xmdi_is_constexpr})) -> - Procname.ObjC_Cpp.CPPConstructor {mangled; is_constexpr= xmdi_is_constexpr} + | Some (Clang_ast_t.CXXConstructorDecl (_, _, _, _, _)) -> + Procname.ObjC_Cpp.CPPConstructor {mangled} | Some (Clang_ast_t.CXXDestructorDecl _) -> Procname.ObjC_Cpp.CPPDestructor {mangled} | _ -> diff --git a/infer/src/clang/ast_expressions.ml b/infer/src/clang/ast_expressions.ml index 782d49b2f..6b1aec25f 100644 --- a/infer/src/clang/ast_expressions.ml +++ b/infer/src/clang/ast_expressions.ml @@ -65,7 +65,7 @@ let default_var_decl_info = ; vdi_is_static= false ; vdi_is_static_local= false ; vdi_is_static_data_member= false - ; vdi_is_const_expr= false + ; vdi_is_constexpr= false ; vdi_is_init_ice= false ; vdi_init_expr= None ; vdi_is_init_expr_cxx11_constant= false diff --git a/infer/src/clang/cAst_utils.ml b/infer/src/clang/cAst_utils.ml index f83c10e91..663b33423 100644 --- a/infer/src/clang/cAst_utils.ml +++ b/infer/src/clang/cAst_utils.ml @@ -306,8 +306,8 @@ let is_static_local_var decl = match decl with Clang_ast_t.VarDecl (_, _, _, vdi) -> vdi.vdi_is_static_local | _ -> false -let is_const_expr_var decl = - match decl with Clang_ast_t.VarDecl (_, _, _, vdi) -> vdi.vdi_is_const_expr | _ -> false +let is_constexpr_var decl = + match decl with Clang_ast_t.VarDecl (_, _, _, vdi) -> vdi.vdi_is_constexpr | _ -> false let full_name_of_decl_opt decl_opt = diff --git a/infer/src/clang/cAst_utils.mli b/infer/src/clang/cAst_utils.mli index 804e13254..ef3fd9366 100644 --- a/infer/src/clang/cAst_utils.mli +++ b/infer/src/clang/cAst_utils.mli @@ -93,7 +93,7 @@ val is_syntactically_global_var : Clang_ast_t.decl -> bool val is_static_local_var : Clang_ast_t.decl -> bool (** true if a declaration is a static local variable *) -val is_const_expr_var : Clang_ast_t.decl -> bool +val is_constexpr_var : Clang_ast_t.decl -> bool (** true if a declaration is a constexpr variable *) val generate_key_stmt : Clang_ast_t.stmt -> string diff --git a/infer/src/clang/cFrontend_decl.ml b/infer/src/clang/cFrontend_decl.ml index 89a24a9d1..41e2cfa65 100644 --- a/infer/src/clang/cFrontend_decl.ml +++ b/infer/src/clang/cFrontend_decl.ml @@ -418,7 +418,8 @@ module CFrontend_decl_funct (T : CModule_type.CTranslation) : CModule_type.CFron (Clang_ast_proj.get_decl_kind_string dec) | None -> () ) - | VarDecl (decl_info, named_decl_info, qt, ({vdi_is_global; vdi_init_expr} as vdi)) + | VarDecl + (decl_info, named_decl_info, qt, ({vdi_is_global; vdi_init_expr; vdi_is_constexpr} as vdi)) when String.is_prefix ~prefix:"__infer_" named_decl_info.ni_name || (vdi_is_global && Option.is_some vdi_init_expr) -> (* create a fake procedure that initializes the global variable so that the variable @@ -437,9 +438,9 @@ module CFrontend_decl_funct (T : CModule_type.CTranslation) : CModule_type.CFron ~set_objc_accessor_attr:false then ( let ms = - CMethodSignature.mk procname None [] (StdTyp.void, Annot.Item.empty) [] - decl_info.Clang_ast_t.di_source_range ClangMethodKind.C_FUNCTION None None None - `None + CMethodSignature.mk procname None [] (StdTyp.void, Annot.Item.empty) + ~is_ret_constexpr:vdi_is_constexpr [] decl_info.Clang_ast_t.di_source_range + ClangMethodKind.C_FUNCTION None None None `None in let stmt_info = { si_pointer= CAst_utils.get_fresh_pointer () diff --git a/infer/src/clang/cGeneral_utils.ml b/infer/src/clang/cGeneral_utils.ml index 59cb51a27..150e5837b 100644 --- a/infer/src/clang/cGeneral_utils.ml +++ b/infer/src/clang/cGeneral_utils.ml @@ -108,7 +108,8 @@ let is_type_pod qt = None ) |> Option.value_map ~default:true ~f:(function | Clang_ast_t.CXXRecordDecl (_, _, _, _, _, _, _, {xrdi_is_pod}) - | Clang_ast_t.ClassTemplateSpecializationDecl (_, _, _, _, _, _, _, {xrdi_is_pod}, _, _) -> + | ClassTemplateSpecializationDecl (_, _, _, _, _, _, _, {xrdi_is_pod}, _, _) + | ClassTemplatePartialSpecializationDecl (_, _, _, _, _, _, _, {xrdi_is_pod}, _, _) -> xrdi_is_pod | _ -> true ) diff --git a/infer/src/clang/cMethodSignature.ml b/infer/src/clang/cMethodSignature.ml index 4cc64891f..23869a4bb 100644 --- a/infer/src/clang/cMethodSignature.ml +++ b/infer/src/clang/cMethodSignature.ml @@ -32,6 +32,7 @@ type t = ; ret_type: Typ.t * Annot.Item.t ; has_added_return_param: bool ; is_ret_type_pod: bool + ; is_ret_constexpr: bool ; attributes: Clang_ast_t.attribute list ; loc: Clang_ast_t.source_range ; method_kind: ClangMethodKind.t @@ -57,9 +58,9 @@ let is_setter {pointer_to_property_opt; params} = let mk name class_param params ret_type ?(has_added_return_param = false) ?(is_ret_type_pod = true) - attributes loc method_kind ?(is_cpp_virtual = false) ?(passed_as_noescape_block_to = None) - ?(is_no_return = false) ?(is_variadic = false) pointer_to_parent pointer_to_property_opt - return_param_typ access = + ~is_ret_constexpr attributes loc method_kind ?(is_cpp_virtual = false) + ?(passed_as_noescape_block_to = None) ?(is_no_return = false) ?(is_variadic = false) + pointer_to_parent pointer_to_property_opt return_param_typ access = { name ; access ; class_param @@ -67,6 +68,7 @@ let mk name class_param params ret_type ?(has_added_return_param = false) ?(is_r ; ret_type ; has_added_return_param ; is_ret_type_pod + ; is_ret_constexpr ; attributes ; loc ; method_kind diff --git a/infer/src/clang/cMethodSignature.mli b/infer/src/clang/cMethodSignature.mli index 57e2f87fe..ed3df4738 100644 --- a/infer/src/clang/cMethodSignature.mli +++ b/infer/src/clang/cMethodSignature.mli @@ -25,6 +25,7 @@ type t = ; ret_type: Typ.t * Annot.Item.t ; has_added_return_param: bool ; is_ret_type_pod: bool + ; is_ret_constexpr: bool ; attributes: Clang_ast_t.attribute list ; loc: Clang_ast_t.source_range ; method_kind: ClangMethodKind.t @@ -48,6 +49,7 @@ val mk : -> Typ.t * Annot.Item.t -> ?has_added_return_param:bool -> ?is_ret_type_pod:bool + -> is_ret_constexpr:bool -> Clang_ast_t.attribute list -> Clang_ast_t.source_range -> ClangMethodKind.t diff --git a/infer/src/clang/cMethod_trans.ml b/infer/src/clang/cMethod_trans.ml index ffe8a9a00..3243f5ae3 100644 --- a/infer/src/clang/cMethod_trans.ml +++ b/infer/src/clang/cMethod_trans.ml @@ -265,6 +265,7 @@ let create_local_procdesc ?(set_objc_accessor_attr = false) ?(record_lambda_capt ; const_formals ; has_added_return_param ; is_ret_type_pod= ms.CMethodSignature.is_ret_type_pod + ; is_ret_constexpr= ms.CMethodSignature.is_ret_constexpr ; access ; is_defined= defined ; is_biabduction_model= Config.biabduction_models_mode diff --git a/infer/src/clang/cTrans_models.ml b/infer/src/clang/cTrans_models.ml index 8263ee951..e98829303 100644 --- a/infer/src/clang/cTrans_models.ml +++ b/infer/src/clang/cTrans_models.ml @@ -74,7 +74,7 @@ let get_predefined_ms_method condition class_name method_name method_kind mk_pro mk_procname class_name method_name method_kind in let ms = - CMethodSignature.mk procname None arguments return_type attributes + CMethodSignature.mk procname None arguments return_type ~is_ret_constexpr:false attributes (CAst_utils.dummy_source_range ()) ClangMethodKind.C_FUNCTION None None None `None in diff --git a/infer/src/clang/cVar_decl.ml b/infer/src/clang/cVar_decl.ml index 5bff5283f..46e3afabc 100644 --- a/infer/src/clang/cVar_decl.ml +++ b/infer/src/clang/cVar_decl.ml @@ -29,7 +29,7 @@ let mk_sil_global_var {CFrontend_config.source_file} ?(mk_name = fun _ x -> x) d | false, _ -> Some source_file in - let is_constexpr = var_decl_info.Clang_ast_t.vdi_is_const_expr in + let is_constexpr = var_decl_info.Clang_ast_t.vdi_is_constexpr in let is_ice = var_decl_info.Clang_ast_t.vdi_is_init_ice in let is_pod = CGeneral_utils.is_type_pod qt in let is_static_global = @@ -134,7 +134,7 @@ let add_var_to_locals procdesc var_decl typ pvar = if not vdi.Clang_ast_t.vdi_is_global then let modify_in_block = has_block_attribute decl_info in let is_constexpr = - vdi.Clang_ast_t.vdi_is_const_expr + vdi.Clang_ast_t.vdi_is_constexpr || (Typ.is_const typ.Typ.quals && vdi.Clang_ast_t.vdi_is_init_expr_cxx11_constant) in let is_declared_unused = diff --git a/infer/tests/codetoanalyze/cpp/biabduction/issues.exp b/infer/tests/codetoanalyze/cpp/biabduction/issues.exp index d184172aa..906769c43 100644 --- a/infer/tests/codetoanalyze/cpp/biabduction/issues.exp +++ b/infer/tests/codetoanalyze/cpp/biabduction/issues.exp @@ -115,10 +115,10 @@ codetoanalyze/cpp/biabduction/subtyping/implicit_cast_with_const.cpp, implicit_c codetoanalyze/cpp/biabduction/subtyping/implicit_cast_with_const.cpp, implicit_cast_with_const::DerivedDerefNPE, 2, NULL_DEREFERENCE, B1, ERROR, [start of procedure implicit_cast_with_const::DerivedDerefNPE(),start of procedure Derived,start of procedure Base,return from a call to implicit_cast_with_const::Base::Base,return from a call to implicit_cast_with_const::Derived::Derived,start of procedure implicit_cast_with_const::deref()] codetoanalyze/cpp/biabduction/subtyping/subtyping_check.cpp, B::setFG, 4, DIVIDE_BY_ZERO, no_bucket, ERROR, [start of procedure setFG,start of procedure setF,return from a call to A::setF,Taking true branch] codetoanalyze/cpp/biabduction/templates/dependent_parent.cpp, instantiate_class_bad, 2, DIVIDE_BY_ZERO, no_bucket, ERROR, [start of procedure instantiate_class_bad(),start of procedure X,return from a call to X::X,start of procedure x_y,start of procedure Y,start of procedure Z,return from a call to Z::Z,return from a call to X::Y::Y,start of procedure y,start of procedure z,return from a call to Z::z,return from a call to X::Y::y,return from a call to X::x_y] -codetoanalyze/cpp/biabduction/templates/mangling.cpp, bad_integral_types_templates, 4, DIVIDE_BY_ZERO, no_bucket, ERROR, [start of procedure bad_integral_types_templates(),start of procedure IntTemplate,return from a call to IntTemplate<0>::IntTemplate,start of procedure CharTemplate,return from a call to CharTemplate<99>::CharTemplate,start of procedure LongTemplate,return from a call to LongTemplate<1234567890>::LongTemplate] -codetoanalyze/cpp/biabduction/templates/mangling.cpp, bad_nullptr_templates, 2, DIVIDE_BY_ZERO, no_bucket, ERROR, [start of procedure bad_nullptr_templates(),start of procedure NullPtrTemplate,return from a call to NullPtrTemplate::NullPtrTemplate] -codetoanalyze/cpp/biabduction/templates/mangling.cpp, bad_packed_templates, 2, DIVIDE_BY_ZERO, no_bucket, ERROR, [start of procedure bad_packed_templates(),start of procedure Tuple,return from a call to Tuple>::Tuple] -codetoanalyze/cpp/biabduction/templates/mangling.cpp, bad_reference_and_pointer_templates, 5, DIVIDE_BY_ZERO, no_bucket, ERROR, [start of procedure bad_reference_and_pointer_templates(),start of procedure PointerTypeTemplate,return from a call to PointerTypeTemplate::PointerTypeTemplate,start of procedure PointerTypeTemplate2,return from a call to PointerTypeTemplate2::PointerTypeTemplate2,start of procedure FunctionPointerTemplate,return from a call to FunctionPointerTemplate::FunctionPointerTemplate,start of procedure ReferenceTypeTemplate,return from a call to ReferenceTypeTemplate::ReferenceTypeTemplate] +codetoanalyze/cpp/biabduction/templates/mangling.cpp, mangling::bad_integral_types_templates, 4, DIVIDE_BY_ZERO, no_bucket, ERROR, [start of procedure mangling::bad_integral_types_templates(),start of procedure IntTemplate,return from a call to mangling::IntTemplate<0>::IntTemplate,start of procedure CharTemplate,return from a call to mangling::CharTemplate<99>::CharTemplate,start of procedure LongTemplate,return from a call to mangling::LongTemplate<1234567890>::LongTemplate] +codetoanalyze/cpp/biabduction/templates/mangling.cpp, mangling::bad_nullptr_templates, 2, DIVIDE_BY_ZERO, no_bucket, ERROR, [start of procedure mangling::bad_nullptr_templates(),start of procedure NullPtrTemplate,return from a call to mangling::NullPtrTemplate::NullPtrTemplate] +codetoanalyze/cpp/biabduction/templates/mangling.cpp, mangling::bad_packed_templates, 2, DIVIDE_BY_ZERO, no_bucket, ERROR, [start of procedure mangling::bad_packed_templates(),start of procedure Tuple,return from a call to mangling::Tuple>::Tuple] +codetoanalyze/cpp/biabduction/templates/mangling.cpp, mangling::bad_reference_and_pointer_templates, 5, DIVIDE_BY_ZERO, no_bucket, ERROR, [start of procedure mangling::bad_reference_and_pointer_templates(),start of procedure PointerTypeTemplate,return from a call to mangling::PointerTypeTemplate::PointerTypeTemplate,start of procedure PointerTypeTemplate2,return from a call to mangling::PointerTypeTemplate2::PointerTypeTemplate2,start of procedure FunctionPointerTemplate,return from a call to mangling::FunctionPointerTemplate::FunctionPointerTemplate,start of procedure ReferenceTypeTemplate,return from a call to mangling::ReferenceTypeTemplate::ReferenceTypeTemplate] codetoanalyze/cpp/biabduction/types/typeid_expr.cpp, employee_typeid, 3, BIABDUCTION_MEMORY_LEAK, CPP, ERROR, [start of procedure employee_typeid(),start of procedure Employee,start of procedure Person,return from a call to Person::Person,return from a call to Employee::Employee] codetoanalyze/cpp/biabduction/types/typeid_expr.cpp, employee_typeid, 4, DIVIDE_BY_ZERO, no_bucket, ERROR, [start of procedure employee_typeid(),start of procedure Employee,start of procedure Person,return from a call to Person::Person,return from a call to Employee::Employee,Taking true branch] codetoanalyze/cpp/biabduction/types/typeid_expr.cpp, person_ptr_typeid, 2, BIABDUCTION_MEMORY_LEAK, CPP, ERROR, [start of procedure person_ptr_typeid(),start of procedure Person,return from a call to Person::Person] diff --git a/infer/tests/codetoanalyze/cpp/biabduction/templates/mangling.cpp b/infer/tests/codetoanalyze/cpp/biabduction/templates/mangling.cpp index f12fee0b0..ee95534a4 100644 --- a/infer/tests/codetoanalyze/cpp/biabduction/templates/mangling.cpp +++ b/infer/tests/codetoanalyze/cpp/biabduction/templates/mangling.cpp @@ -4,9 +4,12 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ + // test that templated types are sufficiently unique'd by the frontend, so that // it doesn't conflate different types +namespace mangling { + template struct Tuple {}; @@ -63,3 +66,5 @@ int bad_reference_and_pointer_templates() { ReferenceTypeTemplate b; return 1 / 0; } + +} // namespace mangling diff --git a/infer/tests/codetoanalyze/cpp/frontend/constructors.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/constructors.cpp.dot index 078d055bc..6983286c1 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/constructors.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/constructors.cpp.dot @@ -1,10 +1,10 @@ /* @generated */ digraph cfg { -"C#C#{6498547058331613817|constexpr}.c6432a8706f7b868374c16c40ff09340_1" [label="1: Start C::C\nFormals: this:C* __param_0:C&\nLocals: \n " color=yellow style=filled] +"C#C#{6498547058331613817}.b40f358b8c32f0e8e7178d239a328760_1" [label="1: Start C::C\nFormals: this:C* __param_0:C&\nLocals: \n " color=yellow style=filled] - "C#C#{6498547058331613817|constexpr}.c6432a8706f7b868374c16c40ff09340_1" -> "C#C#{6498547058331613817|constexpr}.c6432a8706f7b868374c16c40ff09340_2" ; -"C#C#{6498547058331613817|constexpr}.c6432a8706f7b868374c16c40ff09340_2" [label="2: Exit C::C \n " color=yellow style=filled] + "C#C#{6498547058331613817}.b40f358b8c32f0e8e7178d239a328760_1" -> "C#C#{6498547058331613817}.b40f358b8c32f0e8e7178d239a328760_2" ; +"C#C#{6498547058331613817}.b40f358b8c32f0e8e7178d239a328760_2" [label="2: Exit C::C \n " color=yellow style=filled] "D#D#{15354926930948875645}.d9099b8b7573ccbc6b1799f66ac91cbf_1" [label="1: Start D::D\nFormals: this:D*\nLocals: 0$?%__sil_tmp__temp_construct_n$3:C 0$?%__sil_tmpSIL_materialize_temp__n$2:C \n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/frontend/destructors/break_scope.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/destructors/break_scope.cpp.dot index a7061d617..7a4f650e6 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/destructors/break_scope.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/destructors/break_scope.cpp.dot @@ -492,18 +492,18 @@ digraph cfg { "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_13" -> "test_while3#break_scope#10134831914750033380.7cab458a264bff5f98e4df48e17e8d7d_5" ; -"X#X#break_scope#{4053540132469168612|constexpr}.c9ffba04b927de006fe23d98ce3b2d5b_1" [label="1: Start break_scope::X::X\nFormals: this:break_scope::X* __param_0:break_scope::X const &\nLocals: \n " color=yellow style=filled] +"X#X#break_scope#{4053540132469168612}.5757c11762d16a291cb722b76160c255_1" [label="1: Start break_scope::X::X\nFormals: this:break_scope::X* __param_0:break_scope::X const &\nLocals: \n " color=yellow style=filled] - "X#X#break_scope#{4053540132469168612|constexpr}.c9ffba04b927de006fe23d98ce3b2d5b_1" -> "X#X#break_scope#{4053540132469168612|constexpr}.c9ffba04b927de006fe23d98ce3b2d5b_2" ; -"X#X#break_scope#{4053540132469168612|constexpr}.c9ffba04b927de006fe23d98ce3b2d5b_2" [label="2: Exit break_scope::X::X \n " color=yellow style=filled] + "X#X#break_scope#{4053540132469168612}.5757c11762d16a291cb722b76160c255_1" -> "X#X#break_scope#{4053540132469168612}.5757c11762d16a291cb722b76160c255_2" ; +"X#X#break_scope#{4053540132469168612}.5757c11762d16a291cb722b76160c255_2" [label="2: Exit break_scope::X::X \n " color=yellow style=filled] -"X#X#break_scope#{4561406577910183503|constexpr}.d77af1d40f48b96452ba62e9e9c39c1a_1" [label="1: Start break_scope::X::X\nFormals: this:break_scope::X*\nLocals: \n " color=yellow style=filled] +"X#X#break_scope#{4561406577910183503}.fb2d51e3a77f24715f753692f3b31f65_1" [label="1: Start break_scope::X::X\nFormals: this:break_scope::X*\nLocals: \n " color=yellow style=filled] - "X#X#break_scope#{4561406577910183503|constexpr}.d77af1d40f48b96452ba62e9e9c39c1a_1" -> "X#X#break_scope#{4561406577910183503|constexpr}.d77af1d40f48b96452ba62e9e9c39c1a_2" ; -"X#X#break_scope#{4561406577910183503|constexpr}.d77af1d40f48b96452ba62e9e9c39c1a_2" [label="2: Exit break_scope::X::X \n " color=yellow style=filled] + "X#X#break_scope#{4561406577910183503}.fb2d51e3a77f24715f753692f3b31f65_1" -> "X#X#break_scope#{4561406577910183503}.fb2d51e3a77f24715f753692f3b31f65_2" ; +"X#X#break_scope#{4561406577910183503}.fb2d51e3a77f24715f753692f3b31f65_2" [label="2: Exit break_scope::X::X \n " color=yellow style=filled] "__infer_inner_destructor_~X#X#break_scope#(17520180356259547384).fa56341fa47a2c5b22d5af69667cafe8_1" [label="1: Start break_scope::X::__infer_inner_destructor_~X\nFormals: this:break_scope::X*\nLocals: \n " color=yellow style=filled] @@ -629,52 +629,52 @@ digraph cfg { "iterator#iterator#break_scope(class break_scope::vec)#{10700556332998750370}.ac576904898fa25037c8ca7380076caf_6" -> "iterator#iterator#break_scope(class break_scope::vec)#{10700556332998750370}.ac576904898fa25037c8ca7380076caf_3" ; -"iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_1" [label="1: Start break_scope::iterator::iterator\nFormals: this:break_scope::iterator* __param_0:break_scope::iterator const &\nLocals: \n " color=yellow style=filled] +"iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_1" [label="1: Start break_scope::iterator::iterator\nFormals: this:break_scope::iterator* __param_0:break_scope::iterator const &\nLocals: \n " color=yellow style=filled] - "iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_1" -> "iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_5" ; -"iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_2" [label="2: Exit break_scope::iterator::iterator \n " color=yellow style=filled] + "iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_1" -> "iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_5" ; +"iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_2" [label="2: Exit break_scope::iterator::iterator \n " color=yellow style=filled] -"iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_3" [label="3: Constructor Init \n n$1=*&this:break_scope::iterator* [line 16, column 8]\n " shape="box"] +"iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_3" [label="3: Constructor Init \n n$1=*&this:break_scope::iterator* [line 16, column 8]\n " shape="box"] - "iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_3" -> "iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_4" ; -"iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_4" [label="4: Constructor Init \n n$2=*&__param_0:break_scope::iterator const & [line 16, column 8]\n n$3=*n$2.vector:break_scope::vec const * [line 16, column 8]\n *n$1.vector:break_scope::vec const *=n$3 [line 16, column 8]\n " shape="box"] + "iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_3" -> "iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_4" ; +"iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_4" [label="4: Constructor Init \n n$2=*&__param_0:break_scope::iterator const & [line 16, column 8]\n n$3=*n$2.vector:break_scope::vec const * [line 16, column 8]\n *n$1.vector:break_scope::vec const *=n$3 [line 16, column 8]\n " shape="box"] - "iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_4" -> "iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_2" ; -"iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_5" [label="5: Constructor Init \n n$4=*&this:break_scope::iterator* [line 16, column 8]\n " shape="box"] + "iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_4" -> "iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_2" ; +"iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_5" [label="5: Constructor Init \n n$4=*&this:break_scope::iterator* [line 16, column 8]\n " shape="box"] - "iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_5" -> "iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_6" ; -"iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_6" [label="6: Constructor Init \n n$5=*&__param_0:break_scope::iterator const & [line 16, column 8]\n n$6=*n$5.position:int [line 16, column 8]\n *n$4.position:int=n$6 [line 16, column 8]\n " shape="box"] + "iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_5" -> "iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_6" ; +"iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_6" [label="6: Constructor Init \n n$5=*&__param_0:break_scope::iterator const & [line 16, column 8]\n n$6=*n$5.position:int [line 16, column 8]\n *n$4.position:int=n$6 [line 16, column 8]\n " shape="box"] - "iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_6" -> "iterator#iterator#break_scope#{15166647371046856559|constexpr}.5d1dc4e4a90597efa52c6bfcf5e11038_3" ; -"iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_1" [label="1: Start break_scope::iterator::iterator\nFormals: this:break_scope::iterator* __param_0:break_scope::iterator&\nLocals: \n " color=yellow style=filled] + "iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_6" -> "iterator#iterator#break_scope#{15166647371046856559}.baa36f876ed20a39a28bfbd448ef11f6_3" ; +"iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_1" [label="1: Start break_scope::iterator::iterator\nFormals: this:break_scope::iterator* __param_0:break_scope::iterator&\nLocals: \n " color=yellow style=filled] - "iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_1" -> "iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_5" ; -"iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_2" [label="2: Exit break_scope::iterator::iterator \n " color=yellow style=filled] + "iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_1" -> "iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_5" ; +"iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_2" [label="2: Exit break_scope::iterator::iterator \n " color=yellow style=filled] -"iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_3" [label="3: Constructor Init \n n$1=*&this:break_scope::iterator* [line 16, column 8]\n " shape="box"] +"iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_3" [label="3: Constructor Init \n n$1=*&this:break_scope::iterator* [line 16, column 8]\n " shape="box"] - "iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_3" -> "iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_4" ; -"iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_4" [label="4: Constructor Init \n n$2=*&__param_0:break_scope::iterator& [line 16, column 8]\n n$3=*n$2.vector:break_scope::vec const * [line 16, column 8]\n *n$1.vector:break_scope::vec const *=n$3 [line 16, column 8]\n " shape="box"] + "iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_3" -> "iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_4" ; +"iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_4" [label="4: Constructor Init \n n$2=*&__param_0:break_scope::iterator& [line 16, column 8]\n n$3=*n$2.vector:break_scope::vec const * [line 16, column 8]\n *n$1.vector:break_scope::vec const *=n$3 [line 16, column 8]\n " shape="box"] - "iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_4" -> "iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_2" ; -"iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_5" [label="5: Constructor Init \n n$4=*&this:break_scope::iterator* [line 16, column 8]\n " shape="box"] + "iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_4" -> "iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_2" ; +"iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_5" [label="5: Constructor Init \n n$4=*&this:break_scope::iterator* [line 16, column 8]\n " shape="box"] - "iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_5" -> "iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_6" ; -"iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_6" [label="6: Constructor Init \n n$5=*&__param_0:break_scope::iterator& [line 16, column 8]\n n$6=*n$5.position:int [line 16, column 8]\n *n$4.position:int=n$6 [line 16, column 8]\n " shape="box"] + "iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_5" -> "iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_6" ; +"iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_6" [label="6: Constructor Init \n n$5=*&__param_0:break_scope::iterator& [line 16, column 8]\n n$6=*n$5.position:int [line 16, column 8]\n *n$4.position:int=n$6 [line 16, column 8]\n " shape="box"] - "iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_6" -> "iterator#iterator#break_scope#{4422062655324687513|constexpr}.1a08ab2c5b22f1a0e6e1f83d71544d50_3" ; + "iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_6" -> "iterator#iterator#break_scope#{4422062655324687513}.7d5fd6f77798d159f46a2d10c259dde6_3" ; "get#vec#break_scope(class break_scope::X)#(1283787980840570343).f29590f18442006705e4b1df63322511_1" [label="1: Start break_scope::vec::get\nFormals: this:break_scope::vec* pos:int __return_param:break_scope::X*\nLocals: \n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/frontend/destructors/continue_scope.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/destructors/continue_scope.cpp.dot index 4f3d2c630..43be9b73b 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/destructors/continue_scope.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/destructors/continue_scope.cpp.dot @@ -419,18 +419,18 @@ digraph cfg { "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_13" -> "test_while3#continue_scope#1176125085634537673.a024bcf519539ef1deac237c06a02a78_5" ; -"X#X#continue_scope#{6980962160618076226|constexpr}.93a08564ab8c2fcc4b6385f4de5f2acd_1" [label="1: Start continue_scope::X::X\nFormals: this:continue_scope::X*\nLocals: \n " color=yellow style=filled] +"X#X#continue_scope#{6980962160618076226}.3c3885b00854307eb44478c60d1d6de6_1" [label="1: Start continue_scope::X::X\nFormals: this:continue_scope::X*\nLocals: \n " color=yellow style=filled] - "X#X#continue_scope#{6980962160618076226|constexpr}.93a08564ab8c2fcc4b6385f4de5f2acd_1" -> "X#X#continue_scope#{6980962160618076226|constexpr}.93a08564ab8c2fcc4b6385f4de5f2acd_2" ; -"X#X#continue_scope#{6980962160618076226|constexpr}.93a08564ab8c2fcc4b6385f4de5f2acd_2" [label="2: Exit continue_scope::X::X \n " color=yellow style=filled] + "X#X#continue_scope#{6980962160618076226}.3c3885b00854307eb44478c60d1d6de6_1" -> "X#X#continue_scope#{6980962160618076226}.3c3885b00854307eb44478c60d1d6de6_2" ; +"X#X#continue_scope#{6980962160618076226}.3c3885b00854307eb44478c60d1d6de6_2" [label="2: Exit continue_scope::X::X \n " color=yellow style=filled] -"X#X#continue_scope#{7073463255755958209|constexpr}.55bb3b213fe110ff241217115eddd17f_1" [label="1: Start continue_scope::X::X\nFormals: this:continue_scope::X* __param_0:continue_scope::X const &\nLocals: \n " color=yellow style=filled] +"X#X#continue_scope#{7073463255755958209}.d128eef9ff2b626cbe1c01616f62f180_1" [label="1: Start continue_scope::X::X\nFormals: this:continue_scope::X* __param_0:continue_scope::X const &\nLocals: \n " color=yellow style=filled] - "X#X#continue_scope#{7073463255755958209|constexpr}.55bb3b213fe110ff241217115eddd17f_1" -> "X#X#continue_scope#{7073463255755958209|constexpr}.55bb3b213fe110ff241217115eddd17f_2" ; -"X#X#continue_scope#{7073463255755958209|constexpr}.55bb3b213fe110ff241217115eddd17f_2" [label="2: Exit continue_scope::X::X \n " color=yellow style=filled] + "X#X#continue_scope#{7073463255755958209}.d128eef9ff2b626cbe1c01616f62f180_1" -> "X#X#continue_scope#{7073463255755958209}.d128eef9ff2b626cbe1c01616f62f180_2" ; +"X#X#continue_scope#{7073463255755958209}.d128eef9ff2b626cbe1c01616f62f180_2" [label="2: Exit continue_scope::X::X \n " color=yellow style=filled] "__infer_inner_destructor_~X#X#continue_scope#(15469534718766326333).a64668d194527e51f8b71c13bb86a597_1" [label="1: Start continue_scope::X::__infer_inner_destructor_~X\nFormals: this:continue_scope::X*\nLocals: \n " color=yellow style=filled] @@ -556,52 +556,52 @@ digraph cfg { "iterator#iterator#continue_scope(class continue_scope::vec)#{1055772979469092753}.5297b6304aaa804fb97d8c9c3499da94_6" -> "iterator#iterator#continue_scope(class continue_scope::vec)#{1055772979469092753}.5297b6304aaa804fb97d8c9c3499da94_3" ; -"iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_1" [label="1: Start continue_scope::iterator::iterator\nFormals: this:continue_scope::iterator* __param_0:continue_scope::iterator const &\nLocals: \n " color=yellow style=filled] +"iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_1" [label="1: Start continue_scope::iterator::iterator\nFormals: this:continue_scope::iterator* __param_0:continue_scope::iterator const &\nLocals: \n " color=yellow style=filled] - "iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_1" -> "iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_5" ; -"iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_2" [label="2: Exit continue_scope::iterator::iterator \n " color=yellow style=filled] + "iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_1" -> "iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_5" ; +"iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_2" [label="2: Exit continue_scope::iterator::iterator \n " color=yellow style=filled] -"iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_3" [label="3: Constructor Init \n n$1=*&this:continue_scope::iterator* [line 16, column 8]\n " shape="box"] +"iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_3" [label="3: Constructor Init \n n$1=*&this:continue_scope::iterator* [line 16, column 8]\n " shape="box"] - "iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_3" -> "iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_4" ; -"iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_4" [label="4: Constructor Init \n n$2=*&__param_0:continue_scope::iterator const & [line 16, column 8]\n n$3=*n$2.vector:continue_scope::vec const * [line 16, column 8]\n *n$1.vector:continue_scope::vec const *=n$3 [line 16, column 8]\n " shape="box"] + "iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_3" -> "iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_4" ; +"iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_4" [label="4: Constructor Init \n n$2=*&__param_0:continue_scope::iterator const & [line 16, column 8]\n n$3=*n$2.vector:continue_scope::vec const * [line 16, column 8]\n *n$1.vector:continue_scope::vec const *=n$3 [line 16, column 8]\n " shape="box"] - "iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_4" -> "iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_2" ; -"iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_5" [label="5: Constructor Init \n n$4=*&this:continue_scope::iterator* [line 16, column 8]\n " shape="box"] + "iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_4" -> "iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_2" ; +"iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_5" [label="5: Constructor Init \n n$4=*&this:continue_scope::iterator* [line 16, column 8]\n " shape="box"] - "iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_5" -> "iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_6" ; -"iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_6" [label="6: Constructor Init \n n$5=*&__param_0:continue_scope::iterator const & [line 16, column 8]\n n$6=*n$5.position:int [line 16, column 8]\n *n$4.position:int=n$6 [line 16, column 8]\n " shape="box"] + "iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_5" -> "iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_6" ; +"iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_6" [label="6: Constructor Init \n n$5=*&__param_0:continue_scope::iterator const & [line 16, column 8]\n n$6=*n$5.position:int [line 16, column 8]\n *n$4.position:int=n$6 [line 16, column 8]\n " shape="box"] - "iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_6" -> "iterator#iterator#continue_scope#{14404461323337206352|constexpr}.34c38ef9047874025a012b673af5c5a3_3" ; -"iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_1" [label="1: Start continue_scope::iterator::iterator\nFormals: this:continue_scope::iterator* __param_0:continue_scope::iterator&\nLocals: \n " color=yellow style=filled] + "iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_6" -> "iterator#iterator#continue_scope#{14404461323337206352}.c7942c7ca7b3856b96d0307747e2615b_3" ; +"iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_1" [label="1: Start continue_scope::iterator::iterator\nFormals: this:continue_scope::iterator* __param_0:continue_scope::iterator&\nLocals: \n " color=yellow style=filled] - "iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_1" -> "iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_5" ; -"iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_2" [label="2: Exit continue_scope::iterator::iterator \n " color=yellow style=filled] + "iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_1" -> "iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_5" ; +"iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_2" [label="2: Exit continue_scope::iterator::iterator \n " color=yellow style=filled] -"iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_3" [label="3: Constructor Init \n n$1=*&this:continue_scope::iterator* [line 16, column 8]\n " shape="box"] +"iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_3" [label="3: Constructor Init \n n$1=*&this:continue_scope::iterator* [line 16, column 8]\n " shape="box"] - "iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_3" -> "iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_4" ; -"iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_4" [label="4: Constructor Init \n n$2=*&__param_0:continue_scope::iterator& [line 16, column 8]\n n$3=*n$2.vector:continue_scope::vec const * [line 16, column 8]\n *n$1.vector:continue_scope::vec const *=n$3 [line 16, column 8]\n " shape="box"] + "iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_3" -> "iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_4" ; +"iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_4" [label="4: Constructor Init \n n$2=*&__param_0:continue_scope::iterator& [line 16, column 8]\n n$3=*n$2.vector:continue_scope::vec const * [line 16, column 8]\n *n$1.vector:continue_scope::vec const *=n$3 [line 16, column 8]\n " shape="box"] - "iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_4" -> "iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_2" ; -"iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_5" [label="5: Constructor Init \n n$4=*&this:continue_scope::iterator* [line 16, column 8]\n " shape="box"] + "iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_4" -> "iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_2" ; +"iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_5" [label="5: Constructor Init \n n$4=*&this:continue_scope::iterator* [line 16, column 8]\n " shape="box"] - "iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_5" -> "iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_6" ; -"iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_6" [label="6: Constructor Init \n n$5=*&__param_0:continue_scope::iterator& [line 16, column 8]\n n$6=*n$5.position:int [line 16, column 8]\n *n$4.position:int=n$6 [line 16, column 8]\n " shape="box"] + "iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_5" -> "iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_6" ; +"iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_6" [label="6: Constructor Init \n n$5=*&__param_0:continue_scope::iterator& [line 16, column 8]\n n$6=*n$5.position:int [line 16, column 8]\n *n$4.position:int=n$6 [line 16, column 8]\n " shape="box"] - "iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_6" -> "iterator#iterator#continue_scope#{45454584545775676|constexpr}.1412ff03a340a711ee832e78d977c1db_3" ; + "iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_6" -> "iterator#iterator#continue_scope#{45454584545775676}.b99e0dcb3c30201a3d6158e92db44747_3" ; "begin#vec#continue_scope(class continue_scope::iterator)#(10867355481694456603).8c0551e386b9f2c25bf3629672b303c4_1" [label="1: Start continue_scope::vec::begin\nFormals: this:continue_scope::vec* __return_param:continue_scope::iterator*\nLocals: 0$?%__sil_tmpSIL_materialize_temp__n$1:continue_scope::iterator \n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/frontend/destructors/scope.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/destructors/scope.cpp.dot index c88d86baa..49a9a639f 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/destructors/scope.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/destructors/scope.cpp.dot @@ -186,21 +186,21 @@ digraph cfg { "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_11" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_5" ; "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_11" -> "test2#destructor_scope#2993434300384255445.24bf3f4c27c1719ee94d608a0df996b1_6" ; -"S#S#destructor_scope#{10339448990053469571|constexpr}.9d786aebef75b5f7db70cd3394e0833b_1" [label="1: Start destructor_scope::S::S\nFormals: this:destructor_scope::S*\nLocals: \n " color=yellow style=filled] +"S#S#destructor_scope#{10339448990053469571}.9f88c7d5c1e25cdf5976fdb868c661ee_1" [label="1: Start destructor_scope::S::S\nFormals: this:destructor_scope::S*\nLocals: \n " color=yellow style=filled] - "S#S#destructor_scope#{10339448990053469571|constexpr}.9d786aebef75b5f7db70cd3394e0833b_1" -> "S#S#destructor_scope#{10339448990053469571|constexpr}.9d786aebef75b5f7db70cd3394e0833b_3" ; -"S#S#destructor_scope#{10339448990053469571|constexpr}.9d786aebef75b5f7db70cd3394e0833b_2" [label="2: Exit destructor_scope::S::S \n " color=yellow style=filled] + "S#S#destructor_scope#{10339448990053469571}.9f88c7d5c1e25cdf5976fdb868c661ee_1" -> "S#S#destructor_scope#{10339448990053469571}.9f88c7d5c1e25cdf5976fdb868c661ee_3" ; +"S#S#destructor_scope#{10339448990053469571}.9f88c7d5c1e25cdf5976fdb868c661ee_2" [label="2: Exit destructor_scope::S::S \n " color=yellow style=filled] -"S#S#destructor_scope#{10339448990053469571|constexpr}.9d786aebef75b5f7db70cd3394e0833b_3" [label="3: Constructor Init \n n$1=*&this:destructor_scope::S* [line 19, column 8]\n " shape="box"] +"S#S#destructor_scope#{10339448990053469571}.9f88c7d5c1e25cdf5976fdb868c661ee_3" [label="3: Constructor Init \n n$1=*&this:destructor_scope::S* [line 19, column 8]\n " shape="box"] - "S#S#destructor_scope#{10339448990053469571|constexpr}.9d786aebef75b5f7db70cd3394e0833b_3" -> "S#S#destructor_scope#{10339448990053469571|constexpr}.9d786aebef75b5f7db70cd3394e0833b_4" ; -"S#S#destructor_scope#{10339448990053469571|constexpr}.9d786aebef75b5f7db70cd3394e0833b_4" [label="4: Constructor Init \n n$2=_fun_destructor_scope::X::X(n$1.x1:destructor_scope::X*) [line 19, column 8]\n " shape="box"] + "S#S#destructor_scope#{10339448990053469571}.9f88c7d5c1e25cdf5976fdb868c661ee_3" -> "S#S#destructor_scope#{10339448990053469571}.9f88c7d5c1e25cdf5976fdb868c661ee_4" ; +"S#S#destructor_scope#{10339448990053469571}.9f88c7d5c1e25cdf5976fdb868c661ee_4" [label="4: Constructor Init \n n$2=_fun_destructor_scope::X::X(n$1.x1:destructor_scope::X*) [line 19, column 8]\n " shape="box"] - "S#S#destructor_scope#{10339448990053469571|constexpr}.9d786aebef75b5f7db70cd3394e0833b_4" -> "S#S#destructor_scope#{10339448990053469571|constexpr}.9d786aebef75b5f7db70cd3394e0833b_2" ; + "S#S#destructor_scope#{10339448990053469571}.9f88c7d5c1e25cdf5976fdb868c661ee_4" -> "S#S#destructor_scope#{10339448990053469571}.9f88c7d5c1e25cdf5976fdb868c661ee_2" ; "__infer_inner_destructor_~S#S#destructor_scope#(7916617764589254644).2bd5f94552ab3de5b18103298afc24eb_1" [label="1: Start destructor_scope::S::__infer_inner_destructor_~S\nFormals: this:destructor_scope::S*\nLocals: \n " color=yellow style=filled] @@ -274,18 +274,18 @@ digraph cfg { "~W#W#destructor_scope#(5959723935642545200).7ccec4bf9ec91a77c2454d4a6dcbe8ed_3" -> "~W#W#destructor_scope#(5959723935642545200).7ccec4bf9ec91a77c2454d4a6dcbe8ed_2" ; -"X#X#destructor_scope#{10627201162342762010|constexpr}.0651980f9d7837f74b539945b842ec7e_1" [label="1: Start destructor_scope::X::X\nFormals: this:destructor_scope::X*\nLocals: \n " color=yellow style=filled] +"X#X#destructor_scope#{10627201162342762010}.cd49e82011bea709240c7aaab1598da4_1" [label="1: Start destructor_scope::X::X\nFormals: this:destructor_scope::X*\nLocals: \n " color=yellow style=filled] - "X#X#destructor_scope#{10627201162342762010|constexpr}.0651980f9d7837f74b539945b842ec7e_1" -> "X#X#destructor_scope#{10627201162342762010|constexpr}.0651980f9d7837f74b539945b842ec7e_2" ; -"X#X#destructor_scope#{10627201162342762010|constexpr}.0651980f9d7837f74b539945b842ec7e_2" [label="2: Exit destructor_scope::X::X \n " color=yellow style=filled] + "X#X#destructor_scope#{10627201162342762010}.cd49e82011bea709240c7aaab1598da4_1" -> "X#X#destructor_scope#{10627201162342762010}.cd49e82011bea709240c7aaab1598da4_2" ; +"X#X#destructor_scope#{10627201162342762010}.cd49e82011bea709240c7aaab1598da4_2" [label="2: Exit destructor_scope::X::X \n " color=yellow style=filled] -"X#X#destructor_scope#{9224651542013693881|constexpr}.67649907f5b1d090351b288c1f6b9bf3_1" [label="1: Start destructor_scope::X::X\nFormals: this:destructor_scope::X* __param_0:destructor_scope::X const &\nLocals: \n " color=yellow style=filled] +"X#X#destructor_scope#{9224651542013693881}.c96f706be6a1b52985deea715b1ce5e9_1" [label="1: Start destructor_scope::X::X\nFormals: this:destructor_scope::X* __param_0:destructor_scope::X const &\nLocals: \n " color=yellow style=filled] - "X#X#destructor_scope#{9224651542013693881|constexpr}.67649907f5b1d090351b288c1f6b9bf3_1" -> "X#X#destructor_scope#{9224651542013693881|constexpr}.67649907f5b1d090351b288c1f6b9bf3_2" ; -"X#X#destructor_scope#{9224651542013693881|constexpr}.67649907f5b1d090351b288c1f6b9bf3_2" [label="2: Exit destructor_scope::X::X \n " color=yellow style=filled] + "X#X#destructor_scope#{9224651542013693881}.c96f706be6a1b52985deea715b1ce5e9_1" -> "X#X#destructor_scope#{9224651542013693881}.c96f706be6a1b52985deea715b1ce5e9_2" ; +"X#X#destructor_scope#{9224651542013693881}.c96f706be6a1b52985deea715b1ce5e9_2" [label="2: Exit destructor_scope::X::X \n " color=yellow style=filled] "__infer_inner_destructor_~X#X#destructor_scope#(668994462409357749).70a8f95641703eb0541060f9b22c82f3_1" [label="1: Start destructor_scope::X::__infer_inner_destructor_~X\nFormals: this:destructor_scope::X*\nLocals: \n " color=yellow style=filled] @@ -306,11 +306,11 @@ digraph cfg { "~X#X#destructor_scope#(668994462409357749).ef7f60e26033e09d802610103a60d690_3" -> "~X#X#destructor_scope#(668994462409357749).ef7f60e26033e09d802610103a60d690_2" ; -"Y#Y#destructor_scope#{15856921719997813945|constexpr}.1713ed83b20bec9041b01aa6e0c9e5ff_1" [label="1: Start destructor_scope::Y::Y\nFormals: this:destructor_scope::Y*\nLocals: \n " color=yellow style=filled] +"Y#Y#destructor_scope#{15856921719997813945}.8c698c0aadf26bd26992bc50ae2c3350_1" [label="1: Start destructor_scope::Y::Y\nFormals: this:destructor_scope::Y*\nLocals: \n " color=yellow style=filled] - "Y#Y#destructor_scope#{15856921719997813945|constexpr}.1713ed83b20bec9041b01aa6e0c9e5ff_1" -> "Y#Y#destructor_scope#{15856921719997813945|constexpr}.1713ed83b20bec9041b01aa6e0c9e5ff_2" ; -"Y#Y#destructor_scope#{15856921719997813945|constexpr}.1713ed83b20bec9041b01aa6e0c9e5ff_2" [label="2: Exit destructor_scope::Y::Y \n " color=yellow style=filled] + "Y#Y#destructor_scope#{15856921719997813945}.8c698c0aadf26bd26992bc50ae2c3350_1" -> "Y#Y#destructor_scope#{15856921719997813945}.8c698c0aadf26bd26992bc50ae2c3350_2" ; +"Y#Y#destructor_scope#{15856921719997813945}.8c698c0aadf26bd26992bc50ae2c3350_2" [label="2: Exit destructor_scope::Y::Y \n " color=yellow style=filled] "__infer_inner_destructor_~Y#Y#destructor_scope#(2800572945438141590).f330a3f57ed3335f95bc0ee40e778e40_1" [label="1: Start destructor_scope::Y::__infer_inner_destructor_~Y\nFormals: this:destructor_scope::Y*\nLocals: \n " color=yellow style=filled] @@ -331,18 +331,18 @@ digraph cfg { "~Y#Y#destructor_scope#(2800572945438141590).a420416a0cd313cac953e043f0404d61_3" -> "~Y#Y#destructor_scope#(2800572945438141590).a420416a0cd313cac953e043f0404d61_2" ; -"Z#Z#destructor_scope#{11857695729037403777|constexpr}.cf284ca59fcb40e2e0c4ebe1d6bce51e_1" [label="1: Start destructor_scope::Z::Z\nFormals: this:destructor_scope::Z* __param_0:destructor_scope::Z&\nLocals: \n " color=yellow style=filled] +"Z#Z#destructor_scope#{11857695729037403777}.ceb53380b7053a28ba3da1e501d5bba9_1" [label="1: Start destructor_scope::Z::Z\nFormals: this:destructor_scope::Z* __param_0:destructor_scope::Z&\nLocals: \n " color=yellow style=filled] - "Z#Z#destructor_scope#{11857695729037403777|constexpr}.cf284ca59fcb40e2e0c4ebe1d6bce51e_1" -> "Z#Z#destructor_scope#{11857695729037403777|constexpr}.cf284ca59fcb40e2e0c4ebe1d6bce51e_2" ; -"Z#Z#destructor_scope#{11857695729037403777|constexpr}.cf284ca59fcb40e2e0c4ebe1d6bce51e_2" [label="2: Exit destructor_scope::Z::Z \n " color=yellow style=filled] + "Z#Z#destructor_scope#{11857695729037403777}.ceb53380b7053a28ba3da1e501d5bba9_1" -> "Z#Z#destructor_scope#{11857695729037403777}.ceb53380b7053a28ba3da1e501d5bba9_2" ; +"Z#Z#destructor_scope#{11857695729037403777}.ceb53380b7053a28ba3da1e501d5bba9_2" [label="2: Exit destructor_scope::Z::Z \n " color=yellow style=filled] -"Z#Z#destructor_scope#{17668673956532263724|constexpr}.e870615cac93491da417f5f76b27451b_1" [label="1: Start destructor_scope::Z::Z\nFormals: this:destructor_scope::Z*\nLocals: \n " color=yellow style=filled] +"Z#Z#destructor_scope#{17668673956532263724}.0e29627daf3eaf309b798fb1dc1aa71e_1" [label="1: Start destructor_scope::Z::Z\nFormals: this:destructor_scope::Z*\nLocals: \n " color=yellow style=filled] - "Z#Z#destructor_scope#{17668673956532263724|constexpr}.e870615cac93491da417f5f76b27451b_1" -> "Z#Z#destructor_scope#{17668673956532263724|constexpr}.e870615cac93491da417f5f76b27451b_2" ; -"Z#Z#destructor_scope#{17668673956532263724|constexpr}.e870615cac93491da417f5f76b27451b_2" [label="2: Exit destructor_scope::Z::Z \n " color=yellow style=filled] + "Z#Z#destructor_scope#{17668673956532263724}.0e29627daf3eaf309b798fb1dc1aa71e_1" -> "Z#Z#destructor_scope#{17668673956532263724}.0e29627daf3eaf309b798fb1dc1aa71e_2" ; +"Z#Z#destructor_scope#{17668673956532263724}.0e29627daf3eaf309b798fb1dc1aa71e_2" [label="2: Exit destructor_scope::Z::Z \n " color=yellow style=filled] } diff --git a/infer/tests/codetoanalyze/cpp/frontend/globals/global_const1.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/globals/global_const1.cpp.dot index b04dcaba6..b70bf021e 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/globals/global_const1.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/globals/global_const1.cpp.dot @@ -67,11 +67,11 @@ digraph cfg { "X#X#{5585564522356237825}.f0691bf51109589e6407e972842a942a_2" [label="2: Exit X::X \n " color=yellow style=filled] -"X#X#{7390596848467712836|constexpr}.aed44b8858ed9121cbee82ac33676d51_1" [label="1: Start X::X\nFormals: this:X* __param_0:X const &\nLocals: \n " color=yellow style=filled] +"X#X#{7390596848467712836}.af8c5bb42250f73c0cb8c8878493ac3f_1" [label="1: Start X::X\nFormals: this:X* __param_0:X const &\nLocals: \n " color=yellow style=filled] - "X#X#{7390596848467712836|constexpr}.aed44b8858ed9121cbee82ac33676d51_1" -> "X#X#{7390596848467712836|constexpr}.aed44b8858ed9121cbee82ac33676d51_2" ; -"X#X#{7390596848467712836|constexpr}.aed44b8858ed9121cbee82ac33676d51_2" [label="2: Exit X::X \n " color=yellow style=filled] + "X#X#{7390596848467712836}.af8c5bb42250f73c0cb8c8878493ac3f_1" -> "X#X#{7390596848467712836}.af8c5bb42250f73c0cb8c8878493ac3f_2" ; +"X#X#{7390596848467712836}.af8c5bb42250f73c0cb8c8878493ac3f_2" [label="2: Exit X::X \n " color=yellow style=filled] } diff --git a/infer/tests/codetoanalyze/cpp/frontend/include_header/include_templ.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/include_header/include_templ.cpp.dot index 3cd7c3969..34c3091ac 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/include_header/include_templ.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/include_header/include_templ.cpp.dot @@ -85,11 +85,11 @@ digraph cfg { "div0#B#(9546261644456360892).132a3992ba75c40ad8966e1504521d7d_3" -> "div0#B#(9546261644456360892).132a3992ba75c40ad8966e1504521d7d_2" ; -"B#B#{17048865814803838320|constexpr}.6fc9503527a0545a4f093623822d47c7_1" [label="1: Start B::B\nFormals: this:B*\nLocals: \n " color=yellow style=filled] +"B#B#{17048865814803838320}.45db9039996c41fa0d91427f5239b6db_1" [label="1: Start B::B\nFormals: this:B*\nLocals: \n " color=yellow style=filled] - "B#B#{17048865814803838320|constexpr}.6fc9503527a0545a4f093623822d47c7_1" -> "B#B#{17048865814803838320|constexpr}.6fc9503527a0545a4f093623822d47c7_2" ; -"B#B#{17048865814803838320|constexpr}.6fc9503527a0545a4f093623822d47c7_2" [label="2: Exit B::B \n " color=yellow style=filled] + "B#B#{17048865814803838320}.45db9039996c41fa0d91427f5239b6db_1" -> "B#B#{17048865814803838320}.45db9039996c41fa0d91427f5239b6db_2" ; +"B#B#{17048865814803838320}.45db9039996c41fa0d91427f5239b6db_2" [label="2: Exit B::B \n " color=yellow style=filled] "div0#B#(10848361513712066289).6e41f7aae5452f098d414bfe7ad8cf85_1" [label="1: Start B::div0\nFormals: this:B*\nLocals: \n " color=yellow style=filled] @@ -103,11 +103,11 @@ digraph cfg { "div0#B#(10848361513712066289).6e41f7aae5452f098d414bfe7ad8cf85_3" -> "div0#B#(10848361513712066289).6e41f7aae5452f098d414bfe7ad8cf85_2" ; -"B#B#{8055040595638949571|constexpr}.c1367938e3b90e72d7c119136b0e0884_1" [label="1: Start B::B\nFormals: this:B*\nLocals: \n " color=yellow style=filled] +"B#B#{8055040595638949571}.bdf040dde2794f83adefa6106fc39795_1" [label="1: Start B::B\nFormals: this:B*\nLocals: \n " color=yellow style=filled] - "B#B#{8055040595638949571|constexpr}.c1367938e3b90e72d7c119136b0e0884_1" -> "B#B#{8055040595638949571|constexpr}.c1367938e3b90e72d7c119136b0e0884_2" ; -"B#B#{8055040595638949571|constexpr}.c1367938e3b90e72d7c119136b0e0884_2" [label="2: Exit B::B \n " color=yellow style=filled] + "B#B#{8055040595638949571}.bdf040dde2794f83adefa6106fc39795_1" -> "B#B#{8055040595638949571}.bdf040dde2794f83adefa6106fc39795_2" ; +"B#B#{8055040595638949571}.bdf040dde2794f83adefa6106fc39795_2" [label="2: Exit B::B \n " color=yellow style=filled] } diff --git a/infer/tests/codetoanalyze/cpp/frontend/initialization/init_list.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/initialization/init_list.cpp.dot index 48291e41a..3196792e3 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/initialization/init_list.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/initialization/init_list.cpp.dot @@ -159,52 +159,52 @@ digraph cfg { "X#X#init_list#{12753046806942070827}.1efd898de92870cda553b4bfbf477dc0_2" [label="2: Exit init_list::X::X \n " color=yellow style=filled] -"X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_1" [label="1: Start init_list::X::X\nFormals: this:init_list::X* __param_0:init_list::X const &\nLocals: \n " color=yellow style=filled] +"X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_1" [label="1: Start init_list::X::X\nFormals: this:init_list::X* __param_0:init_list::X const &\nLocals: \n " color=yellow style=filled] - "X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_1" -> "X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_5" ; -"X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_2" [label="2: Exit init_list::X::X \n " color=yellow style=filled] + "X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_1" -> "X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_5" ; +"X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_2" [label="2: Exit init_list::X::X \n " color=yellow style=filled] -"X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_3" [label="3: Constructor Init \n n$1=*&this:init_list::X* [line 8, column 8]\n " shape="box"] +"X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_3" [label="3: Constructor Init \n n$1=*&this:init_list::X* [line 8, column 8]\n " shape="box"] - "X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_3" -> "X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_4" ; -"X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_4" [label="4: Constructor Init \n n$2=*&__param_0:init_list::X const & [line 8, column 8]\n n$3=*n$2.p:int* [line 8, column 8]\n *n$1.p:int*=n$3 [line 8, column 8]\n " shape="box"] + "X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_3" -> "X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_4" ; +"X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_4" [label="4: Constructor Init \n n$2=*&__param_0:init_list::X const & [line 8, column 8]\n n$3=*n$2.p:int* [line 8, column 8]\n *n$1.p:int*=n$3 [line 8, column 8]\n " shape="box"] - "X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_4" -> "X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_2" ; -"X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_5" [label="5: Constructor Init \n n$4=*&this:init_list::X* [line 8, column 8]\n " shape="box"] + "X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_4" -> "X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_2" ; +"X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_5" [label="5: Constructor Init \n n$4=*&this:init_list::X* [line 8, column 8]\n " shape="box"] - "X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_5" -> "X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_6" ; -"X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_6" [label="6: Constructor Init \n n$5=*&__param_0:init_list::X const & [line 8, column 8]\n n$6=*n$5.a:int [line 8, column 8]\n *n$4.a:int=n$6 [line 8, column 8]\n " shape="box"] + "X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_5" -> "X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_6" ; +"X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_6" [label="6: Constructor Init \n n$5=*&__param_0:init_list::X const & [line 8, column 8]\n n$6=*n$5.a:int [line 8, column 8]\n *n$4.a:int=n$6 [line 8, column 8]\n " shape="box"] - "X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_6" -> "X#X#init_list#{7348299791177244048|constexpr}.e0e40c4dfb0949cd680f8fb5c8b2f9bb_3" ; -"Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_1" [label="1: Start init_list::Y::Y\nFormals: this:init_list::Y* __param_0:init_list::Y const &\nLocals: \n " color=yellow style=filled] + "X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_6" -> "X#X#init_list#{7348299791177244048}.23ae9de76be6795cef925262b7b1950f_3" ; +"Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_1" [label="1: Start init_list::Y::Y\nFormals: this:init_list::Y* __param_0:init_list::Y const &\nLocals: \n " color=yellow style=filled] - "Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_1" -> "Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_5" ; -"Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_2" [label="2: Exit init_list::Y::Y \n " color=yellow style=filled] + "Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_1" -> "Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_5" ; +"Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_2" [label="2: Exit init_list::Y::Y \n " color=yellow style=filled] -"Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_3" [label="3: Constructor Init \n n$1=*&this:init_list::Y* [line 12, column 8]\n " shape="box"] +"Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_3" [label="3: Constructor Init \n n$1=*&this:init_list::Y* [line 12, column 8]\n " shape="box"] - "Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_3" -> "Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_4" ; -"Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_4" [label="4: Constructor Init \n n$2=*&__param_0:init_list::Y const & [line 12, column 8]\n n$3=_fun_init_list::X::X(n$1.x:init_list::X*,n$2.x:init_list::X&) [line 12, column 8]\n " shape="box"] + "Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_3" -> "Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_4" ; +"Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_4" [label="4: Constructor Init \n n$2=*&__param_0:init_list::Y const & [line 12, column 8]\n n$3=_fun_init_list::X::X(n$1.x:init_list::X*,n$2.x:init_list::X&) [line 12, column 8]\n " shape="box"] - "Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_4" -> "Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_2" ; -"Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_5" [label="5: Constructor Init \n n$4=*&this:init_list::Y* [line 12, column 8]\n " shape="box"] + "Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_4" -> "Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_2" ; +"Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_5" [label="5: Constructor Init \n n$4=*&this:init_list::Y* [line 12, column 8]\n " shape="box"] - "Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_5" -> "Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_6" ; -"Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_6" [label="6: Constructor Init \n n$5=*&__param_0:init_list::Y const & [line 12, column 8]\n n$6=*n$5.z:int [line 12, column 8]\n *n$4.z:int=n$6 [line 12, column 8]\n " shape="box"] + "Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_5" -> "Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_6" ; +"Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_6" [label="6: Constructor Init \n n$5=*&__param_0:init_list::Y const & [line 12, column 8]\n n$6=*n$5.z:int [line 12, column 8]\n *n$4.z:int=n$6 [line 12, column 8]\n " shape="box"] - "Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_6" -> "Y#Y#init_list#{657511410642540519|constexpr}.0f66abb1c814bba756002428de3f44c3_3" ; + "Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_6" -> "Y#Y#init_list#{657511410642540519}.bde8453c853125848f32815f22fabd2b_3" ; "Y#Y#init_list#{8563191656710678156}.e0b0645b50ae7ca732891522c0978402_1" [label="1: Start init_list::Y::Y\nFormals: this:init_list::Y*\nLocals: \n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/frontend/initialization/zero_init.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/initialization/zero_init.cpp.dot index 34ec33703..1098b4970 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/initialization/zero_init.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/initialization/zero_init.cpp.dot @@ -11,34 +11,34 @@ digraph cfg { "kMaxKeys#X#__infer_globals_initializer_zero_init.cd983beeff3879de64cad137bc5d5f8c_3" -> "kMaxKeys#X#__infer_globals_initializer_zero_init.cd983beeff3879de64cad137bc5d5f8c_2" ; -"X#X#zero_init#{1033941805165496697|constexpr}.7135d1ffdb70a5309e5d393a07cf05c3_1" [label="1: Start zero_init::X::X\nFormals: this:zero_init::X*\nLocals: \n " color=yellow style=filled] +"X#X#zero_init#{1033941805165496697}.3e028b90ab5a1fd0dcfcba16724dcbde_1" [label="1: Start zero_init::X::X\nFormals: this:zero_init::X*\nLocals: \n " color=yellow style=filled] - "X#X#zero_init#{1033941805165496697|constexpr}.7135d1ffdb70a5309e5d393a07cf05c3_1" -> "X#X#zero_init#{1033941805165496697|constexpr}.7135d1ffdb70a5309e5d393a07cf05c3_3" ; -"X#X#zero_init#{1033941805165496697|constexpr}.7135d1ffdb70a5309e5d393a07cf05c3_2" [label="2: Exit zero_init::X::X \n " color=yellow style=filled] + "X#X#zero_init#{1033941805165496697}.3e028b90ab5a1fd0dcfcba16724dcbde_1" -> "X#X#zero_init#{1033941805165496697}.3e028b90ab5a1fd0dcfcba16724dcbde_3" ; +"X#X#zero_init#{1033941805165496697}.3e028b90ab5a1fd0dcfcba16724dcbde_2" [label="2: Exit zero_init::X::X \n " color=yellow style=filled] -"X#X#zero_init#{1033941805165496697|constexpr}.7135d1ffdb70a5309e5d393a07cf05c3_3" [label="3: Constructor Init \n n$1=*&this:zero_init::X* [line 15, column 19]\n " shape="box"] +"X#X#zero_init#{1033941805165496697}.3e028b90ab5a1fd0dcfcba16724dcbde_3" [label="3: Constructor Init \n n$1=*&this:zero_init::X* [line 15, column 19]\n " shape="box"] - "X#X#zero_init#{1033941805165496697|constexpr}.7135d1ffdb70a5309e5d393a07cf05c3_3" -> "X#X#zero_init#{1033941805165496697|constexpr}.7135d1ffdb70a5309e5d393a07cf05c3_4" ; -"X#X#zero_init#{1033941805165496697|constexpr}.7135d1ffdb70a5309e5d393a07cf05c3_4" [label="4: Constructor Init \n n$2=_fun___infer_zero_initialization(n$1.keys_:void*[65536*8]) [line 15, column 25]\n " shape="box"] + "X#X#zero_init#{1033941805165496697}.3e028b90ab5a1fd0dcfcba16724dcbde_3" -> "X#X#zero_init#{1033941805165496697}.3e028b90ab5a1fd0dcfcba16724dcbde_4" ; +"X#X#zero_init#{1033941805165496697}.3e028b90ab5a1fd0dcfcba16724dcbde_4" [label="4: Constructor Init \n n$2=_fun___infer_zero_initialization(n$1.keys_:void*[65536*8]) [line 15, column 25]\n " shape="box"] - "X#X#zero_init#{1033941805165496697|constexpr}.7135d1ffdb70a5309e5d393a07cf05c3_4" -> "X#X#zero_init#{1033941805165496697|constexpr}.7135d1ffdb70a5309e5d393a07cf05c3_2" ; -"Y#Y#zero_init#{13622159389561709274|constexpr}.583312d888fb250b250e29cd67a1dc36_1" [label="1: Start zero_init::Y::Y\nFormals: this:zero_init::Y*\nLocals: \n " color=yellow style=filled] + "X#X#zero_init#{1033941805165496697}.3e028b90ab5a1fd0dcfcba16724dcbde_4" -> "X#X#zero_init#{1033941805165496697}.3e028b90ab5a1fd0dcfcba16724dcbde_2" ; +"Y#Y#zero_init#{13622159389561709274}.656a0f0a779ff30f458eb0e0e36e2f3e_1" [label="1: Start zero_init::Y::Y\nFormals: this:zero_init::Y*\nLocals: \n " color=yellow style=filled] - "Y#Y#zero_init#{13622159389561709274|constexpr}.583312d888fb250b250e29cd67a1dc36_1" -> "Y#Y#zero_init#{13622159389561709274|constexpr}.583312d888fb250b250e29cd67a1dc36_3" ; -"Y#Y#zero_init#{13622159389561709274|constexpr}.583312d888fb250b250e29cd67a1dc36_2" [label="2: Exit zero_init::Y::Y \n " color=yellow style=filled] + "Y#Y#zero_init#{13622159389561709274}.656a0f0a779ff30f458eb0e0e36e2f3e_1" -> "Y#Y#zero_init#{13622159389561709274}.656a0f0a779ff30f458eb0e0e36e2f3e_3" ; +"Y#Y#zero_init#{13622159389561709274}.656a0f0a779ff30f458eb0e0e36e2f3e_2" [label="2: Exit zero_init::Y::Y \n " color=yellow style=filled] -"Y#Y#zero_init#{13622159389561709274|constexpr}.583312d888fb250b250e29cd67a1dc36_3" [label="3: Constructor Init \n n$1=*&this:zero_init::Y* [line 22, column 19]\n " shape="box"] +"Y#Y#zero_init#{13622159389561709274}.656a0f0a779ff30f458eb0e0e36e2f3e_3" [label="3: Constructor Init \n n$1=*&this:zero_init::Y* [line 22, column 19]\n " shape="box"] - "Y#Y#zero_init#{13622159389561709274|constexpr}.583312d888fb250b250e29cd67a1dc36_3" -> "Y#Y#zero_init#{13622159389561709274|constexpr}.583312d888fb250b250e29cd67a1dc36_4" ; -"Y#Y#zero_init#{13622159389561709274|constexpr}.583312d888fb250b250e29cd67a1dc36_4" [label="4: Constructor Init \n *n$1.keys_[0]:void*=null [line 22, column 25]\n *n$1.keys_[1]:void*=null [line 22, column 25]\n *n$1.keys_[2]:void*=null [line 22, column 25]\n " shape="box"] + "Y#Y#zero_init#{13622159389561709274}.656a0f0a779ff30f458eb0e0e36e2f3e_3" -> "Y#Y#zero_init#{13622159389561709274}.656a0f0a779ff30f458eb0e0e36e2f3e_4" ; +"Y#Y#zero_init#{13622159389561709274}.656a0f0a779ff30f458eb0e0e36e2f3e_4" [label="4: Constructor Init \n *n$1.keys_[0]:void*=null [line 22, column 25]\n *n$1.keys_[1]:void*=null [line 22, column 25]\n *n$1.keys_[2]:void*=null [line 22, column 25]\n " shape="box"] - "Y#Y#zero_init#{13622159389561709274|constexpr}.583312d888fb250b250e29cd67a1dc36_4" -> "Y#Y#zero_init#{13622159389561709274|constexpr}.583312d888fb250b250e29cd67a1dc36_2" ; + "Y#Y#zero_init#{13622159389561709274}.656a0f0a779ff30f458eb0e0e36e2f3e_4" -> "Y#Y#zero_init#{13622159389561709274}.656a0f0a779ff30f458eb0e0e36e2f3e_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/frontend/loops/foreach1.cpp.dot b/infer/tests/codetoanalyze/cpp/frontend/loops/foreach1.cpp.dot index 2d50be566..97be0e804 100644 --- a/infer/tests/codetoanalyze/cpp/frontend/loops/foreach1.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/frontend/loops/foreach1.cpp.dot @@ -146,21 +146,21 @@ digraph cfg { "operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_4" -> "operator*#iterator#(14296957122470685412).e3f593369544fc43a253ad1e4f5ed136_2" ; -"iterator#iterator#{6263800793583893213|constexpr}.79ce1743f325c6fc1a30df957a6a8e06_1" [label="1: Start iterator::iterator\nFormals: this:iterator* __param_0:iterator const &\nLocals: \n " color=yellow style=filled] +"iterator#iterator#{6263800793583893213}.2925417e565733c02897725a022607ab_1" [label="1: Start iterator::iterator\nFormals: this:iterator* __param_0:iterator const &\nLocals: \n " color=yellow style=filled] - "iterator#iterator#{6263800793583893213|constexpr}.79ce1743f325c6fc1a30df957a6a8e06_1" -> "iterator#iterator#{6263800793583893213|constexpr}.79ce1743f325c6fc1a30df957a6a8e06_3" ; -"iterator#iterator#{6263800793583893213|constexpr}.79ce1743f325c6fc1a30df957a6a8e06_2" [label="2: Exit iterator::iterator \n " color=yellow style=filled] + "iterator#iterator#{6263800793583893213}.2925417e565733c02897725a022607ab_1" -> "iterator#iterator#{6263800793583893213}.2925417e565733c02897725a022607ab_3" ; +"iterator#iterator#{6263800793583893213}.2925417e565733c02897725a022607ab_2" [label="2: Exit iterator::iterator \n " color=yellow style=filled] -"iterator#iterator#{6263800793583893213|constexpr}.79ce1743f325c6fc1a30df957a6a8e06_3" [label="3: Constructor Init \n n$1=*&this:iterator* [line 9, column 8]\n " shape="box"] +"iterator#iterator#{6263800793583893213}.2925417e565733c02897725a022607ab_3" [label="3: Constructor Init \n n$1=*&this:iterator* [line 9, column 8]\n " shape="box"] - "iterator#iterator#{6263800793583893213|constexpr}.79ce1743f325c6fc1a30df957a6a8e06_3" -> "iterator#iterator#{6263800793583893213|constexpr}.79ce1743f325c6fc1a30df957a6a8e06_4" ; -"iterator#iterator#{6263800793583893213|constexpr}.79ce1743f325c6fc1a30df957a6a8e06_4" [label="4: Constructor Init \n n$2=*&__param_0:iterator const & [line 9, column 8]\n n$3=*n$2.val:int [line 9, column 8]\n *n$1.val:int=n$3 [line 9, column 8]\n " shape="box"] + "iterator#iterator#{6263800793583893213}.2925417e565733c02897725a022607ab_3" -> "iterator#iterator#{6263800793583893213}.2925417e565733c02897725a022607ab_4" ; +"iterator#iterator#{6263800793583893213}.2925417e565733c02897725a022607ab_4" [label="4: Constructor Init \n n$2=*&__param_0:iterator const & [line 9, column 8]\n n$3=*n$2.val:int [line 9, column 8]\n *n$1.val:int=n$3 [line 9, column 8]\n " shape="box"] - "iterator#iterator#{6263800793583893213|constexpr}.79ce1743f325c6fc1a30df957a6a8e06_4" -> "iterator#iterator#{6263800793583893213|constexpr}.79ce1743f325c6fc1a30df957a6a8e06_2" ; + "iterator#iterator#{6263800793583893213}.2925417e565733c02897725a022607ab_4" -> "iterator#iterator#{6263800793583893213}.2925417e565733c02897725a022607ab_2" ; "iterator#iterator#{653730785817818446}.63d1626384a198c721f31181f019c163_1" [label="1: Start iterator::iterator\nFormals: this:iterator*\nLocals: \n " color=yellow style=filled] @@ -168,21 +168,21 @@ digraph cfg { "iterator#iterator#{653730785817818446}.63d1626384a198c721f31181f019c163_2" [label="2: Exit iterator::iterator \n " color=yellow style=filled] -"iterator#iterator#{733828176452420883|constexpr}.f8773ccedd550d047d06e0feb2177e51_1" [label="1: Start iterator::iterator\nFormals: this:iterator* __param_0:iterator&\nLocals: \n " color=yellow style=filled] +"iterator#iterator#{733828176452420883}.61dfc7a691ff5e9a9f581f45331e0324_1" [label="1: Start iterator::iterator\nFormals: this:iterator* __param_0:iterator&\nLocals: \n " color=yellow style=filled] - "iterator#iterator#{733828176452420883|constexpr}.f8773ccedd550d047d06e0feb2177e51_1" -> "iterator#iterator#{733828176452420883|constexpr}.f8773ccedd550d047d06e0feb2177e51_3" ; -"iterator#iterator#{733828176452420883|constexpr}.f8773ccedd550d047d06e0feb2177e51_2" [label="2: Exit iterator::iterator \n " color=yellow style=filled] + "iterator#iterator#{733828176452420883}.61dfc7a691ff5e9a9f581f45331e0324_1" -> "iterator#iterator#{733828176452420883}.61dfc7a691ff5e9a9f581f45331e0324_3" ; +"iterator#iterator#{733828176452420883}.61dfc7a691ff5e9a9f581f45331e0324_2" [label="2: Exit iterator::iterator \n " color=yellow style=filled] -"iterator#iterator#{733828176452420883|constexpr}.f8773ccedd550d047d06e0feb2177e51_3" [label="3: Constructor Init \n n$1=*&this:iterator* [line 9, column 8]\n " shape="box"] +"iterator#iterator#{733828176452420883}.61dfc7a691ff5e9a9f581f45331e0324_3" [label="3: Constructor Init \n n$1=*&this:iterator* [line 9, column 8]\n " shape="box"] - "iterator#iterator#{733828176452420883|constexpr}.f8773ccedd550d047d06e0feb2177e51_3" -> "iterator#iterator#{733828176452420883|constexpr}.f8773ccedd550d047d06e0feb2177e51_4" ; -"iterator#iterator#{733828176452420883|constexpr}.f8773ccedd550d047d06e0feb2177e51_4" [label="4: Constructor Init \n n$2=*&__param_0:iterator& [line 9, column 8]\n n$3=*n$2.val:int [line 9, column 8]\n *n$1.val:int=n$3 [line 9, column 8]\n " shape="box"] + "iterator#iterator#{733828176452420883}.61dfc7a691ff5e9a9f581f45331e0324_3" -> "iterator#iterator#{733828176452420883}.61dfc7a691ff5e9a9f581f45331e0324_4" ; +"iterator#iterator#{733828176452420883}.61dfc7a691ff5e9a9f581f45331e0324_4" [label="4: Constructor Init \n n$2=*&__param_0:iterator& [line 9, column 8]\n n$3=*n$2.val:int [line 9, column 8]\n *n$1.val:int=n$3 [line 9, column 8]\n " shape="box"] - "iterator#iterator#{733828176452420883|constexpr}.f8773ccedd550d047d06e0feb2177e51_4" -> "iterator#iterator#{733828176452420883|constexpr}.f8773ccedd550d047d06e0feb2177e51_2" ; + "iterator#iterator#{733828176452420883}.61dfc7a691ff5e9a9f581f45331e0324_4" -> "iterator#iterator#{733828176452420883}.61dfc7a691ff5e9a9f581f45331e0324_2" ; "end#vec(class iterator)#(14240882620331653738).aed9da65654959634fd17d4511cfa44d_1" [label="1: Start vec::end\nFormals: this:vec* __return_param:iterator*\nLocals: \n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/conditional/binary_conditional.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/conditional/binary_conditional.cpp.dot index 5d114d5c8..db136e2c7 100644 --- a/infer/tests/codetoanalyze/cpp/shared/conditional/binary_conditional.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/conditional/binary_conditional.cpp.dot @@ -175,25 +175,25 @@ digraph cfg { "operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_3" -> "operator_bool#X#binary_conditional#(663222161121279878).1074e20ff76c2575638dad4d7c1539a7_2" ; -"X#X#binary_conditional#{14983956545993097243|constexpr}.13a5ec9d8c7205dc22870cc8a7cef45e_1" [label="1: Start binary_conditional::X::X\nFormals: this:binary_conditional::X* __param_0:binary_conditional::X&\nLocals: \n " color=yellow style=filled] +"X#X#binary_conditional#{14983956545993097243}.f8f612df5e78210cf3b7356695ef6656_1" [label="1: Start binary_conditional::X::X\nFormals: this:binary_conditional::X* __param_0:binary_conditional::X&\nLocals: \n " color=yellow style=filled] - "X#X#binary_conditional#{14983956545993097243|constexpr}.13a5ec9d8c7205dc22870cc8a7cef45e_1" -> "X#X#binary_conditional#{14983956545993097243|constexpr}.13a5ec9d8c7205dc22870cc8a7cef45e_2" ; -"X#X#binary_conditional#{14983956545993097243|constexpr}.13a5ec9d8c7205dc22870cc8a7cef45e_2" [label="2: Exit binary_conditional::X::X \n " color=yellow style=filled] + "X#X#binary_conditional#{14983956545993097243}.f8f612df5e78210cf3b7356695ef6656_1" -> "X#X#binary_conditional#{14983956545993097243}.f8f612df5e78210cf3b7356695ef6656_2" ; +"X#X#binary_conditional#{14983956545993097243}.f8f612df5e78210cf3b7356695ef6656_2" [label="2: Exit binary_conditional::X::X \n " color=yellow style=filled] -"X#X#binary_conditional#{16256882625138630442|constexpr}.48629076530eab10af9149c015b04938_1" [label="1: Start binary_conditional::X::X\nFormals: this:binary_conditional::X*\nLocals: \n " color=yellow style=filled] +"X#X#binary_conditional#{16256882625138630442}.a78ee84be09bd51ddc75844ff98d716b_1" [label="1: Start binary_conditional::X::X\nFormals: this:binary_conditional::X*\nLocals: \n " color=yellow style=filled] - "X#X#binary_conditional#{16256882625138630442|constexpr}.48629076530eab10af9149c015b04938_1" -> "X#X#binary_conditional#{16256882625138630442|constexpr}.48629076530eab10af9149c015b04938_2" ; -"X#X#binary_conditional#{16256882625138630442|constexpr}.48629076530eab10af9149c015b04938_2" [label="2: Exit binary_conditional::X::X \n " color=yellow style=filled] + "X#X#binary_conditional#{16256882625138630442}.a78ee84be09bd51ddc75844ff98d716b_1" -> "X#X#binary_conditional#{16256882625138630442}.a78ee84be09bd51ddc75844ff98d716b_2" ; +"X#X#binary_conditional#{16256882625138630442}.a78ee84be09bd51ddc75844ff98d716b_2" [label="2: Exit binary_conditional::X::X \n " color=yellow style=filled] -"X#X#binary_conditional#{9078254210141761193|constexpr}.75e8dfb872b829fb1a0edca3193e1301_1" [label="1: Start binary_conditional::X::X\nFormals: this:binary_conditional::X* __param_0:binary_conditional::X const &\nLocals: \n " color=yellow style=filled] +"X#X#binary_conditional#{9078254210141761193}.61a97ffecf02afddebf880e7a300ac01_1" [label="1: Start binary_conditional::X::X\nFormals: this:binary_conditional::X* __param_0:binary_conditional::X const &\nLocals: \n " color=yellow style=filled] - "X#X#binary_conditional#{9078254210141761193|constexpr}.75e8dfb872b829fb1a0edca3193e1301_1" -> "X#X#binary_conditional#{9078254210141761193|constexpr}.75e8dfb872b829fb1a0edca3193e1301_2" ; -"X#X#binary_conditional#{9078254210141761193|constexpr}.75e8dfb872b829fb1a0edca3193e1301_2" [label="2: Exit binary_conditional::X::X \n " color=yellow style=filled] + "X#X#binary_conditional#{9078254210141761193}.61a97ffecf02afddebf880e7a300ac01_1" -> "X#X#binary_conditional#{9078254210141761193}.61a97ffecf02afddebf880e7a300ac01_2" ; +"X#X#binary_conditional#{9078254210141761193}.61a97ffecf02afddebf880e7a300ac01_2" [label="2: Exit binary_conditional::X::X \n " color=yellow style=filled] } diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_array.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_array.cpp.dot index 3b1a9390a..089d7c07c 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_array.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/constructor_array.cpp.dot @@ -134,44 +134,44 @@ digraph cfg { "Person#Person#{11423638936188631170}.cbf379a3b60d914d0b075bf1b5c51270_3" -> "Person#Person#{11423638936188631170}.cbf379a3b60d914d0b075bf1b5c51270_2" ; -"Person#Person#{2912364444240684306|constexpr}.5cd8f77a6f3672abc87f3d40b72cc386_1" [label="1: Start Person::Person\nFormals: this:Person* __param_0:Person&\nLocals: \n " color=yellow style=filled] +"Person#Person#{2912364444240684306}.c4acd49320b5bd906a5d17bc3c8e882f_1" [label="1: Start Person::Person\nFormals: this:Person* __param_0:Person&\nLocals: \n " color=yellow style=filled] - "Person#Person#{2912364444240684306|constexpr}.5cd8f77a6f3672abc87f3d40b72cc386_1" -> "Person#Person#{2912364444240684306|constexpr}.5cd8f77a6f3672abc87f3d40b72cc386_3" ; -"Person#Person#{2912364444240684306|constexpr}.5cd8f77a6f3672abc87f3d40b72cc386_2" [label="2: Exit Person::Person \n " color=yellow style=filled] + "Person#Person#{2912364444240684306}.c4acd49320b5bd906a5d17bc3c8e882f_1" -> "Person#Person#{2912364444240684306}.c4acd49320b5bd906a5d17bc3c8e882f_3" ; +"Person#Person#{2912364444240684306}.c4acd49320b5bd906a5d17bc3c8e882f_2" [label="2: Exit Person::Person \n " color=yellow style=filled] -"Person#Person#{2912364444240684306|constexpr}.5cd8f77a6f3672abc87f3d40b72cc386_3" [label="3: Constructor Init \n n$1=*&this:Person* [line 8, column 7]\n " shape="box"] +"Person#Person#{2912364444240684306}.c4acd49320b5bd906a5d17bc3c8e882f_3" [label="3: Constructor Init \n n$1=*&this:Person* [line 8, column 7]\n " shape="box"] - "Person#Person#{2912364444240684306|constexpr}.5cd8f77a6f3672abc87f3d40b72cc386_3" -> "Person#Person#{2912364444240684306|constexpr}.5cd8f77a6f3672abc87f3d40b72cc386_4" ; -"Person#Person#{2912364444240684306|constexpr}.5cd8f77a6f3672abc87f3d40b72cc386_4" [label="4: Constructor Init \n n$2=*&__param_0:Person& [line 8, column 7]\n n$3=*n$2.x:int [line 8, column 7]\n *n$1.x:int=n$3 [line 8, column 7]\n " shape="box"] + "Person#Person#{2912364444240684306}.c4acd49320b5bd906a5d17bc3c8e882f_3" -> "Person#Person#{2912364444240684306}.c4acd49320b5bd906a5d17bc3c8e882f_4" ; +"Person#Person#{2912364444240684306}.c4acd49320b5bd906a5d17bc3c8e882f_4" [label="4: Constructor Init \n n$2=*&__param_0:Person& [line 8, column 7]\n n$3=*n$2.x:int [line 8, column 7]\n *n$1.x:int=n$3 [line 8, column 7]\n " shape="box"] - "Person#Person#{2912364444240684306|constexpr}.5cd8f77a6f3672abc87f3d40b72cc386_4" -> "Person#Person#{2912364444240684306|constexpr}.5cd8f77a6f3672abc87f3d40b72cc386_2" ; -"Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_1" [label="1: Start Z::Z\nFormals: this:Z* __param_0:Z const &\nLocals: \n " color=yellow style=filled] + "Person#Person#{2912364444240684306}.c4acd49320b5bd906a5d17bc3c8e882f_4" -> "Person#Person#{2912364444240684306}.c4acd49320b5bd906a5d17bc3c8e882f_2" ; +"Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_1" [label="1: Start Z::Z\nFormals: this:Z* __param_0:Z const &\nLocals: \n " color=yellow style=filled] - "Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_1" -> "Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_5" ; -"Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_2" [label="2: Exit Z::Z \n " color=yellow style=filled] + "Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_1" -> "Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_5" ; +"Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_2" [label="2: Exit Z::Z \n " color=yellow style=filled] -"Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_3" [label="3: Constructor Init \n n$1=*&this:Z* [line 25, column 8]\n " shape="box"] +"Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_3" [label="3: Constructor Init \n n$1=*&this:Z* [line 25, column 8]\n " shape="box"] - "Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_3" -> "Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_4" ; -"Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_4" [label="4: Constructor Init \n n$2=*&__param_0:Z const & [line 25, column 8]\n n$3=*n$2.b:int [line 25, column 8]\n *n$1.b:int=n$3 [line 25, column 8]\n " shape="box"] + "Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_3" -> "Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_4" ; +"Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_4" [label="4: Constructor Init \n n$2=*&__param_0:Z const & [line 25, column 8]\n n$3=*n$2.b:int [line 25, column 8]\n *n$1.b:int=n$3 [line 25, column 8]\n " shape="box"] - "Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_4" -> "Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_2" ; -"Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_5" [label="5: Constructor Init \n n$4=*&this:Z* [line 25, column 8]\n " shape="box"] + "Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_4" -> "Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_2" ; +"Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_5" [label="5: Constructor Init \n n$4=*&this:Z* [line 25, column 8]\n " shape="box"] - "Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_5" -> "Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_6" ; -"Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_6" [label="6: Constructor Init \n n$5=*&__param_0:Z const & [line 25, column 8]\n n$6=*n$5.a:int [line 25, column 8]\n *n$4.a:int=n$6 [line 25, column 8]\n " shape="box"] + "Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_5" -> "Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_6" ; +"Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_6" [label="6: Constructor Init \n n$5=*&__param_0:Z const & [line 25, column 8]\n n$6=*n$5.a:int [line 25, column 8]\n *n$4.a:int=n$6 [line 25, column 8]\n " shape="box"] - "Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_6" -> "Z#Z#{14712705283456466662|constexpr}.1fd4b0a382880f645dd342d336cf5c24_3" ; + "Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_6" -> "Z#Z#{14712705283456466662}.0ee2539232dd0632e2ef36bafc517f10_3" ; "Z#Z#{17186949825793710515}.4f5f013ea73678da4b5b72cffd051cd2_1" [label="1: Start Z::Z\nFormals: this:Z*\nLocals: \n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/copy_array_field.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/copy_array_field.cpp.dot index 701105fc7..9d635b9ae 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/copy_array_field.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/copy_array_field.cpp.dot @@ -65,27 +65,27 @@ digraph cfg { "X#X#copy_array_field#{15830781249401511986}.21901b5566a8885e763a29ee298681a2_2" [label="2: Exit copy_array_field::X::X \n " color=yellow style=filled] -"X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_1" [label="1: Start copy_array_field::X::X\nFormals: this:copy_array_field::X* __param_0:copy_array_field::X const &\nLocals: \n " color=yellow style=filled] +"X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_1" [label="1: Start copy_array_field::X::X\nFormals: this:copy_array_field::X* __param_0:copy_array_field::X const &\nLocals: \n " color=yellow style=filled] - "X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_1" -> "X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_5" ; -"X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_2" [label="2: Exit copy_array_field::X::X \n " color=yellow style=filled] + "X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_1" -> "X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_5" ; +"X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_2" [label="2: Exit copy_array_field::X::X \n " color=yellow style=filled] -"X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_3" [label="3: Constructor Init \n n$1=*&this:copy_array_field::X* [line 8, column 8]\n " shape="box"] +"X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_3" [label="3: Constructor Init \n n$1=*&this:copy_array_field::X* [line 8, column 8]\n " shape="box"] - "X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_3" -> "X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_4" ; -"X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_4" [label="4: Constructor Init \n *n$1.x:void=n$2 [line 8, column 8]\n " shape="box"] + "X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_3" -> "X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_4" ; +"X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_4" [label="4: Constructor Init \n *n$1.x:void=n$2 [line 8, column 8]\n " shape="box"] - "X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_4" -> "X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_2" ; -"X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_5" [label="5: Constructor Init \n n$3=*&this:copy_array_field::X* [line 8, column 8]\n " shape="box"] + "X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_4" -> "X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_2" ; +"X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_5" [label="5: Constructor Init \n n$3=*&this:copy_array_field::X* [line 8, column 8]\n " shape="box"] - "X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_5" -> "X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_6" ; -"X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_6" [label="6: Constructor Init \n n$4=*&__param_0:copy_array_field::X const & [line 8, column 8]\n n$5=*n$4.p:int* [line 8, column 8]\n *n$3.p:int*=n$5 [line 8, column 8]\n " shape="box"] + "X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_5" -> "X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_6" ; +"X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_6" [label="6: Constructor Init \n n$4=*&__param_0:copy_array_field::X const & [line 8, column 8]\n n$5=*n$4.p:int* [line 8, column 8]\n *n$3.p:int*=n$5 [line 8, column 8]\n " shape="box"] - "X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_6" -> "X#X#copy_array_field#{63190381010172561|constexpr}.d82e53d0368148a9de74f3c68bf6427f_3" ; + "X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_6" -> "X#X#copy_array_field#{63190381010172561}.91dd580220aa5da50f6672da3e92149a_3" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/constructors/copy_move_constructor.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/constructors/copy_move_constructor.cpp.dot index cb4d83e5c..b28df06eb 100644 --- a/infer/tests/codetoanalyze/cpp/shared/constructors/copy_move_constructor.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/constructors/copy_move_constructor.cpp.dot @@ -271,21 +271,21 @@ digraph cfg { "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_8" -> "moveY_moveY_copyY_div0#copy_move_constructor#11319351724516006746.d5d5d96d98dcf1c634b647be30001d2e_6" ; -"X#X#copy_move_constructor#{11779436833146999139|constexpr}.6785ea50e80ccaf1e56252f5a181f7d3_1" [label="1: Start copy_move_constructor::X::X\nFormals: this:copy_move_constructor::X* __param_0:copy_move_constructor::X&\nLocals: \n " color=yellow style=filled] +"X#X#copy_move_constructor#{11779436833146999139}.6ed40f8be6eab1bc8b2be6959217973d_1" [label="1: Start copy_move_constructor::X::X\nFormals: this:copy_move_constructor::X* __param_0:copy_move_constructor::X&\nLocals: \n " color=yellow style=filled] - "X#X#copy_move_constructor#{11779436833146999139|constexpr}.6785ea50e80ccaf1e56252f5a181f7d3_1" -> "X#X#copy_move_constructor#{11779436833146999139|constexpr}.6785ea50e80ccaf1e56252f5a181f7d3_3" ; -"X#X#copy_move_constructor#{11779436833146999139|constexpr}.6785ea50e80ccaf1e56252f5a181f7d3_2" [label="2: Exit copy_move_constructor::X::X \n " color=yellow style=filled] + "X#X#copy_move_constructor#{11779436833146999139}.6ed40f8be6eab1bc8b2be6959217973d_1" -> "X#X#copy_move_constructor#{11779436833146999139}.6ed40f8be6eab1bc8b2be6959217973d_3" ; +"X#X#copy_move_constructor#{11779436833146999139}.6ed40f8be6eab1bc8b2be6959217973d_2" [label="2: Exit copy_move_constructor::X::X \n " color=yellow style=filled] -"X#X#copy_move_constructor#{11779436833146999139|constexpr}.6785ea50e80ccaf1e56252f5a181f7d3_3" [label="3: Constructor Init \n n$1=*&this:copy_move_constructor::X* [line 13, column 8]\n " shape="box"] +"X#X#copy_move_constructor#{11779436833146999139}.6ed40f8be6eab1bc8b2be6959217973d_3" [label="3: Constructor Init \n n$1=*&this:copy_move_constructor::X* [line 13, column 8]\n " shape="box"] - "X#X#copy_move_constructor#{11779436833146999139|constexpr}.6785ea50e80ccaf1e56252f5a181f7d3_3" -> "X#X#copy_move_constructor#{11779436833146999139|constexpr}.6785ea50e80ccaf1e56252f5a181f7d3_4" ; -"X#X#copy_move_constructor#{11779436833146999139|constexpr}.6785ea50e80ccaf1e56252f5a181f7d3_4" [label="4: Constructor Init \n n$2=*&__param_0:copy_move_constructor::X& [line 13, column 8]\n n$3=*n$2.f:int [line 13, column 8]\n *n$1.f:int=n$3 [line 13, column 8]\n " shape="box"] + "X#X#copy_move_constructor#{11779436833146999139}.6ed40f8be6eab1bc8b2be6959217973d_3" -> "X#X#copy_move_constructor#{11779436833146999139}.6ed40f8be6eab1bc8b2be6959217973d_4" ; +"X#X#copy_move_constructor#{11779436833146999139}.6ed40f8be6eab1bc8b2be6959217973d_4" [label="4: Constructor Init \n n$2=*&__param_0:copy_move_constructor::X& [line 13, column 8]\n n$3=*n$2.f:int [line 13, column 8]\n *n$1.f:int=n$3 [line 13, column 8]\n " shape="box"] - "X#X#copy_move_constructor#{11779436833146999139|constexpr}.6785ea50e80ccaf1e56252f5a181f7d3_4" -> "X#X#copy_move_constructor#{11779436833146999139|constexpr}.6785ea50e80ccaf1e56252f5a181f7d3_2" ; + "X#X#copy_move_constructor#{11779436833146999139}.6ed40f8be6eab1bc8b2be6959217973d_4" -> "X#X#copy_move_constructor#{11779436833146999139}.6ed40f8be6eab1bc8b2be6959217973d_2" ; "X#X#copy_move_constructor#{12839121633442836962}.1116c82b0711f545c843920f0e2f3f85_1" [label="1: Start copy_move_constructor::X::X\nFormals: this:copy_move_constructor::X*\nLocals: \n " color=yellow style=filled] @@ -293,36 +293,36 @@ digraph cfg { "X#X#copy_move_constructor#{12839121633442836962}.1116c82b0711f545c843920f0e2f3f85_2" [label="2: Exit copy_move_constructor::X::X \n " color=yellow style=filled] -"X#X#copy_move_constructor#{9902755543253181921|constexpr}.e1eff228bed6df3ef237e29c8ec8f122_1" [label="1: Start copy_move_constructor::X::X\nFormals: this:copy_move_constructor::X* __param_0:copy_move_constructor::X const &\nLocals: \n " color=yellow style=filled] +"X#X#copy_move_constructor#{9902755543253181921}.681455104a2453a8142ede18908404e0_1" [label="1: Start copy_move_constructor::X::X\nFormals: this:copy_move_constructor::X* __param_0:copy_move_constructor::X const &\nLocals: \n " color=yellow style=filled] - "X#X#copy_move_constructor#{9902755543253181921|constexpr}.e1eff228bed6df3ef237e29c8ec8f122_1" -> "X#X#copy_move_constructor#{9902755543253181921|constexpr}.e1eff228bed6df3ef237e29c8ec8f122_3" ; -"X#X#copy_move_constructor#{9902755543253181921|constexpr}.e1eff228bed6df3ef237e29c8ec8f122_2" [label="2: Exit copy_move_constructor::X::X \n " color=yellow style=filled] + "X#X#copy_move_constructor#{9902755543253181921}.681455104a2453a8142ede18908404e0_1" -> "X#X#copy_move_constructor#{9902755543253181921}.681455104a2453a8142ede18908404e0_3" ; +"X#X#copy_move_constructor#{9902755543253181921}.681455104a2453a8142ede18908404e0_2" [label="2: Exit copy_move_constructor::X::X \n " color=yellow style=filled] -"X#X#copy_move_constructor#{9902755543253181921|constexpr}.e1eff228bed6df3ef237e29c8ec8f122_3" [label="3: Constructor Init \n n$1=*&this:copy_move_constructor::X* [line 13, column 8]\n " shape="box"] +"X#X#copy_move_constructor#{9902755543253181921}.681455104a2453a8142ede18908404e0_3" [label="3: Constructor Init \n n$1=*&this:copy_move_constructor::X* [line 13, column 8]\n " shape="box"] - "X#X#copy_move_constructor#{9902755543253181921|constexpr}.e1eff228bed6df3ef237e29c8ec8f122_3" -> "X#X#copy_move_constructor#{9902755543253181921|constexpr}.e1eff228bed6df3ef237e29c8ec8f122_4" ; -"X#X#copy_move_constructor#{9902755543253181921|constexpr}.e1eff228bed6df3ef237e29c8ec8f122_4" [label="4: Constructor Init \n n$2=*&__param_0:copy_move_constructor::X const & [line 13, column 8]\n n$3=*n$2.f:int [line 13, column 8]\n *n$1.f:int=n$3 [line 13, column 8]\n " shape="box"] + "X#X#copy_move_constructor#{9902755543253181921}.681455104a2453a8142ede18908404e0_3" -> "X#X#copy_move_constructor#{9902755543253181921}.681455104a2453a8142ede18908404e0_4" ; +"X#X#copy_move_constructor#{9902755543253181921}.681455104a2453a8142ede18908404e0_4" [label="4: Constructor Init \n n$2=*&__param_0:copy_move_constructor::X const & [line 13, column 8]\n n$3=*n$2.f:int [line 13, column 8]\n *n$1.f:int=n$3 [line 13, column 8]\n " shape="box"] - "X#X#copy_move_constructor#{9902755543253181921|constexpr}.e1eff228bed6df3ef237e29c8ec8f122_4" -> "X#X#copy_move_constructor#{9902755543253181921|constexpr}.e1eff228bed6df3ef237e29c8ec8f122_2" ; -"Y#Y#copy_move_constructor#{13891707530704658482|constexpr}.b879e346ca1d8078c3a8bb7242d0773e_1" [label="1: Start copy_move_constructor::Y::Y\nFormals: this:copy_move_constructor::Y* y:copy_move_constructor::Y const &\nLocals: \n " color=yellow style=filled] + "X#X#copy_move_constructor#{9902755543253181921}.681455104a2453a8142ede18908404e0_4" -> "X#X#copy_move_constructor#{9902755543253181921}.681455104a2453a8142ede18908404e0_2" ; +"Y#Y#copy_move_constructor#{13891707530704658482}.7904d6bb31512c6cdf7d31acaa998489_1" [label="1: Start copy_move_constructor::Y::Y\nFormals: this:copy_move_constructor::Y* y:copy_move_constructor::Y const &\nLocals: \n " color=yellow style=filled] - "Y#Y#copy_move_constructor#{13891707530704658482|constexpr}.b879e346ca1d8078c3a8bb7242d0773e_1" -> "Y#Y#copy_move_constructor#{13891707530704658482|constexpr}.b879e346ca1d8078c3a8bb7242d0773e_3" ; -"Y#Y#copy_move_constructor#{13891707530704658482|constexpr}.b879e346ca1d8078c3a8bb7242d0773e_2" [label="2: Exit copy_move_constructor::Y::Y \n " color=yellow style=filled] + "Y#Y#copy_move_constructor#{13891707530704658482}.7904d6bb31512c6cdf7d31acaa998489_1" -> "Y#Y#copy_move_constructor#{13891707530704658482}.7904d6bb31512c6cdf7d31acaa998489_3" ; +"Y#Y#copy_move_constructor#{13891707530704658482}.7904d6bb31512c6cdf7d31acaa998489_2" [label="2: Exit copy_move_constructor::Y::Y \n " color=yellow style=filled] -"Y#Y#copy_move_constructor#{13891707530704658482|constexpr}.b879e346ca1d8078c3a8bb7242d0773e_3" [label="3: Constructor Init \n n$1=*&this:copy_move_constructor::Y* [line 22, column 3]\n " shape="box"] +"Y#Y#copy_move_constructor#{13891707530704658482}.7904d6bb31512c6cdf7d31acaa998489_3" [label="3: Constructor Init \n n$1=*&this:copy_move_constructor::Y* [line 22, column 3]\n " shape="box"] - "Y#Y#copy_move_constructor#{13891707530704658482|constexpr}.b879e346ca1d8078c3a8bb7242d0773e_3" -> "Y#Y#copy_move_constructor#{13891707530704658482|constexpr}.b879e346ca1d8078c3a8bb7242d0773e_4" ; -"Y#Y#copy_move_constructor#{13891707530704658482|constexpr}.b879e346ca1d8078c3a8bb7242d0773e_4" [label="4: Constructor Init \n n$2=*&y:copy_move_constructor::Y const & [line 22, column 3]\n n$3=*n$2.f:int [line 22, column 3]\n *n$1.f:int=n$3 [line 22, column 3]\n " shape="box"] + "Y#Y#copy_move_constructor#{13891707530704658482}.7904d6bb31512c6cdf7d31acaa998489_3" -> "Y#Y#copy_move_constructor#{13891707530704658482}.7904d6bb31512c6cdf7d31acaa998489_4" ; +"Y#Y#copy_move_constructor#{13891707530704658482}.7904d6bb31512c6cdf7d31acaa998489_4" [label="4: Constructor Init \n n$2=*&y:copy_move_constructor::Y const & [line 22, column 3]\n n$3=*n$2.f:int [line 22, column 3]\n *n$1.f:int=n$3 [line 22, column 3]\n " shape="box"] - "Y#Y#copy_move_constructor#{13891707530704658482|constexpr}.b879e346ca1d8078c3a8bb7242d0773e_4" -> "Y#Y#copy_move_constructor#{13891707530704658482|constexpr}.b879e346ca1d8078c3a8bb7242d0773e_2" ; + "Y#Y#copy_move_constructor#{13891707530704658482}.7904d6bb31512c6cdf7d31acaa998489_4" -> "Y#Y#copy_move_constructor#{13891707530704658482}.7904d6bb31512c6cdf7d31acaa998489_2" ; "Y#Y#copy_move_constructor#{1655253079210153473}.d07764a8af75926672fb5a32dd8dc7ea_1" [label="1: Start copy_move_constructor::Y::Y\nFormals: this:copy_move_constructor::Y*\nLocals: \n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/lambda/lambda1.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/lambda/lambda1.cpp.dot index 27266c92f..94a063c12 100644 --- a/infer/tests/codetoanalyze/cpp/shared/lambda/lambda1.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/lambda/lambda1.cpp.dot @@ -660,18 +660,18 @@ digraph cfg { "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_6" -> "capture_this_with_equal#Capture#(805776379555510952).ecd73e9a4e2bef0d060a242b61508f10_4" ; -"Capture#Capture#{10472795509406479532|constexpr}.087b5cb1e1aa63ebe2854b623332e2d3_1" [label="1: Start Capture::Capture\nFormals: this:Capture* __param_0:Capture&\nLocals: \n " color=yellow style=filled] +"Capture#Capture#{10472795509406479532}.9de0e4194a660b00c46a56148d85ae76_1" [label="1: Start Capture::Capture\nFormals: this:Capture* __param_0:Capture&\nLocals: \n " color=yellow style=filled] - "Capture#Capture#{10472795509406479532|constexpr}.087b5cb1e1aa63ebe2854b623332e2d3_1" -> "Capture#Capture#{10472795509406479532|constexpr}.087b5cb1e1aa63ebe2854b623332e2d3_2" ; -"Capture#Capture#{10472795509406479532|constexpr}.087b5cb1e1aa63ebe2854b623332e2d3_2" [label="2: Exit Capture::Capture \n " color=yellow style=filled] + "Capture#Capture#{10472795509406479532}.9de0e4194a660b00c46a56148d85ae76_1" -> "Capture#Capture#{10472795509406479532}.9de0e4194a660b00c46a56148d85ae76_2" ; +"Capture#Capture#{10472795509406479532}.9de0e4194a660b00c46a56148d85ae76_2" [label="2: Exit Capture::Capture \n " color=yellow style=filled] -"Capture#Capture#{15212015590962885360|constexpr}.88c835b802b970a70179973e7602cd15_1" [label="1: Start Capture::Capture\nFormals: this:Capture* __param_0:Capture const &\nLocals: \n " color=yellow style=filled] +"Capture#Capture#{15212015590962885360}.1247c63b0de9a5f5077712927ebcca1c_1" [label="1: Start Capture::Capture\nFormals: this:Capture* __param_0:Capture const &\nLocals: \n " color=yellow style=filled] - "Capture#Capture#{15212015590962885360|constexpr}.88c835b802b970a70179973e7602cd15_1" -> "Capture#Capture#{15212015590962885360|constexpr}.88c835b802b970a70179973e7602cd15_2" ; -"Capture#Capture#{15212015590962885360|constexpr}.88c835b802b970a70179973e7602cd15_2" [label="2: Exit Capture::Capture \n " color=yellow style=filled] + "Capture#Capture#{15212015590962885360}.1247c63b0de9a5f5077712927ebcca1c_1" -> "Capture#Capture#{15212015590962885360}.1247c63b0de9a5f5077712927ebcca1c_2" ; +"Capture#Capture#{15212015590962885360}.1247c63b0de9a5f5077712927ebcca1c_2" [label="2: Exit Capture::Capture \n " color=yellow style=filled] "SomeStruct#SomeStruct#{1832607112608272852}.9358ad7e8cb71def413c8639fcfb12ec_1" [label="1: Start SomeStruct::SomeStruct\nFormals: this:SomeStruct*\nLocals: \n " color=yellow style=filled] @@ -681,21 +681,21 @@ digraph cfg { "SomeStruct#SomeStruct#{1832607112608272852}.9358ad7e8cb71def413c8639fcfb12ec_2" [label="2: Exit SomeStruct::SomeStruct \n " color=yellow style=filled] -"SomeStruct#SomeStruct#{5541518238443553971|constexpr}.d5f0dc01da381f40bfe0baa2cd7ae5ce_1" [label="1: Start SomeStruct::SomeStruct\nFormals: this:SomeStruct* __param_0:SomeStruct const &\nLocals: \n " color=yellow style=filled] +"SomeStruct#SomeStruct#{5541518238443553971}.5d8896530afc02331a7d9ef7101c30fb_1" [label="1: Start SomeStruct::SomeStruct\nFormals: this:SomeStruct* __param_0:SomeStruct const &\nLocals: \n " color=yellow style=filled] - "SomeStruct#SomeStruct#{5541518238443553971|constexpr}.d5f0dc01da381f40bfe0baa2cd7ae5ce_1" -> "SomeStruct#SomeStruct#{5541518238443553971|constexpr}.d5f0dc01da381f40bfe0baa2cd7ae5ce_3" ; -"SomeStruct#SomeStruct#{5541518238443553971|constexpr}.d5f0dc01da381f40bfe0baa2cd7ae5ce_2" [label="2: Exit SomeStruct::SomeStruct \n " color=yellow style=filled] + "SomeStruct#SomeStruct#{5541518238443553971}.5d8896530afc02331a7d9ef7101c30fb_1" -> "SomeStruct#SomeStruct#{5541518238443553971}.5d8896530afc02331a7d9ef7101c30fb_3" ; +"SomeStruct#SomeStruct#{5541518238443553971}.5d8896530afc02331a7d9ef7101c30fb_2" [label="2: Exit SomeStruct::SomeStruct \n " color=yellow style=filled] -"SomeStruct#SomeStruct#{5541518238443553971|constexpr}.d5f0dc01da381f40bfe0baa2cd7ae5ce_3" [label="3: Constructor Init \n n$1=*&this:SomeStruct* [line 69, column 8]\n " shape="box"] +"SomeStruct#SomeStruct#{5541518238443553971}.5d8896530afc02331a7d9ef7101c30fb_3" [label="3: Constructor Init \n n$1=*&this:SomeStruct* [line 69, column 8]\n " shape="box"] - "SomeStruct#SomeStruct#{5541518238443553971|constexpr}.d5f0dc01da381f40bfe0baa2cd7ae5ce_3" -> "SomeStruct#SomeStruct#{5541518238443553971|constexpr}.d5f0dc01da381f40bfe0baa2cd7ae5ce_4" ; -"SomeStruct#SomeStruct#{5541518238443553971|constexpr}.d5f0dc01da381f40bfe0baa2cd7ae5ce_4" [label="4: Constructor Init \n n$2=*&__param_0:SomeStruct const & [line 69, column 8]\n n$3=*n$2.f:int [line 69, column 8]\n *n$1.f:int=n$3 [line 69, column 8]\n " shape="box"] + "SomeStruct#SomeStruct#{5541518238443553971}.5d8896530afc02331a7d9ef7101c30fb_3" -> "SomeStruct#SomeStruct#{5541518238443553971}.5d8896530afc02331a7d9ef7101c30fb_4" ; +"SomeStruct#SomeStruct#{5541518238443553971}.5d8896530afc02331a7d9ef7101c30fb_4" [label="4: Constructor Init \n n$2=*&__param_0:SomeStruct const & [line 69, column 8]\n n$3=*n$2.f:int [line 69, column 8]\n *n$1.f:int=n$3 [line 69, column 8]\n " shape="box"] - "SomeStruct#SomeStruct#{5541518238443553971|constexpr}.d5f0dc01da381f40bfe0baa2cd7ae5ce_4" -> "SomeStruct#SomeStruct#{5541518238443553971|constexpr}.d5f0dc01da381f40bfe0baa2cd7ae5ce_2" ; + "SomeStruct#SomeStruct#{5541518238443553971}.5d8896530afc02331a7d9ef7101c30fb_4" -> "SomeStruct#SomeStruct#{5541518238443553971}.5d8896530afc02331a7d9ef7101c30fb_2" ; "operator()#lambda_shared_lambda_lambda1.cpp:100:3#ref_capture_by_ref#(15477827616000637094).56cb75c27348be51b0ee798d7fb8600c_1" [label="1: Start ref_capture_by_ref::lambda_shared_lambda_lambda1.cpp:100:3::operator()\nFormals: this:ref_capture_by_ref::lambda_shared_lambda_lambda1.cpp:100:3*\nLocals: \nCaptured: [by ref]xref:int& \n " color=yellow style=filled] @@ -733,29 +733,29 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#(2150129997065521100).a616841500faf5cf766ee05bebfd495b_4" -> "operator()#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#(2150129997065521100).a616841500faf5cf766ee05bebfd495b_2" ; -"#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_1" [label="1: Start struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12::\nFormals: this:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12* __param_0:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_1" [label="1: Start struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12::\nFormals: this:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12* __param_0:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_1" -> "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_5" ; -"#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_2" [label="2: Exit struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_1" -> "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_5" ; +"#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_2" [label="2: Exit struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12:: \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_3" [label="3: Constructor Init \n n$1=*&this:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12* [line 114, column 12]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_3" [label="3: Constructor Init \n n$1=*&this:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12* [line 114, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_3" -> "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_4" ; -"#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12& [line 114, column 12]\n n$3=_fun_SomeStruct::SomeStruct(n$1.__anon_field_1:SomeStruct*,n$2.__anon_field_1:SomeStruct&) [line 114, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_3" -> "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_4" ; +"#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12& [line 114, column 12]\n n$3=_fun_SomeStruct::SomeStruct(n$1.__anon_field_1:SomeStruct*,n$2.__anon_field_1:SomeStruct&) [line 114, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_4" -> "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_2" ; -"#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_5" [label="5: Constructor Init \n n$4=*&this:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12* [line 114, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_4" -> "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_2" ; +"#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_5" [label="5: Constructor Init \n n$4=*&this:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12* [line 114, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_5" -> "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_6" ; -"#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_6" [label="6: Constructor Init \n n$5=*&__param_0:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12& [line 114, column 12]\n n$6=_fun_SomeStruct::SomeStruct(n$4.__anon_field_0:SomeStruct*,n$5.__anon_field_0:SomeStruct&) [line 114, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_5" -> "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_6" ; +"#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_6" [label="6: Constructor Init \n n$5=*&__param_0:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12& [line 114, column 12]\n n$6=_fun_SomeStruct::SomeStruct(n$4.__anon_field_0:SomeStruct*,n$5.__anon_field_0:SomeStruct&) [line 114, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_6" -> "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388|constexpr}.f83b33b8c3e61470e10d2b7f9620cc4a_3" ; + "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_6" -> "#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#{16388855054768398388}.84d338a7f7df444d6a051bb81d898a5d_3" ; "__infer_inner_destructor_~#lambda_shared_lambda_lambda1.cpp:114:12#struct_capture_by_value#(12926905.f3b475894d73b25ae7a9c83e3bdfd3b6_1" [label="1: Start struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12::__infer_inner_destructor_~\nFormals: this:struct_capture_by_value::lambda_shared_lambda_lambda1.cpp:114:12*\nLocals: \n " color=yellow style=filled] @@ -797,29 +797,29 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#(9710896582584402087).3e1da6a0d3e429a6201a7347f66f8e41_5" -> "operator()#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#(9710896582584402087).3e1da6a0d3e429a6201a7347f66f8e41_3" ; -"#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_1" [label="1: Start struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12::\nFormals: this:struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12* __param_0:struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_1" [label="1: Start struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12::\nFormals: this:struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12* __param_0:struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_1" -> "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_5" ; -"#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_2" [label="2: Exit struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_1" -> "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_5" ; +"#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_2" [label="2: Exit struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12:: \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_3" [label="3: Constructor Init \n n$1=*&this:struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12* [line 121, column 12]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_3" [label="3: Constructor Init \n n$1=*&this:struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12* [line 121, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_3" -> "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_4" ; -"#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12& [line 121, column 12]\n n$3=*n$2.__anon_field_1:SomeStruct& [line 121, column 12]\n *n$1.__anon_field_1:SomeStruct&=n$3 [line 121, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_3" -> "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_4" ; +"#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12& [line 121, column 12]\n n$3=*n$2.__anon_field_1:SomeStruct& [line 121, column 12]\n *n$1.__anon_field_1:SomeStruct&=n$3 [line 121, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_4" -> "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_2" ; -"#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_5" [label="5: Constructor Init \n n$4=*&this:struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12* [line 121, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_4" -> "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_2" ; +"#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_5" [label="5: Constructor Init \n n$4=*&this:struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12* [line 121, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_5" -> "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_6" ; -"#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_6" [label="6: Constructor Init \n n$5=*&__param_0:struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12& [line 121, column 12]\n n$6=*n$5.__anon_field_0:SomeStruct& [line 121, column 12]\n *n$4.__anon_field_0:SomeStruct&=n$6 [line 121, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_5" -> "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_6" ; +"#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_6" [label="6: Constructor Init \n n$5=*&__param_0:struct_capture_by_ref::lambda_shared_lambda_lambda1.cpp:121:12& [line 121, column 12]\n n$6=*n$5.__anon_field_0:SomeStruct& [line 121, column 12]\n *n$4.__anon_field_0:SomeStruct&=n$6 [line 121, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_6" -> "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167|constexpr}.f7775ff055389fefba5ff95d2301a74b_3" ; + "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_6" -> "#lambda_shared_lambda_lambda1.cpp:121:12#struct_capture_by_ref#{123610027387660167}.f03fd0c4278806bb1b74b25136ba9e8f_3" ; "operator()#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#(6823593690086374986.1d7d285fdfd1a95971f481bea86bd0d2_1" [label="1: Start struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12::operator()\nFormals: this:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12*\nLocals: \nCaptured: [by value]xlambda:SomeStruct& [by value]xreflambda:SomeStruct& \n " color=yellow style=filled] @@ -835,29 +835,29 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#(6823593690086374986.1d7d285fdfd1a95971f481bea86bd0d2_4" -> "operator()#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#(6823593690086374986.1d7d285fdfd1a95971f481bea86bd0d2_2" ; -"#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_1" [label="1: Start struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12::\nFormals: this:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12* __param_0:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_1" [label="1: Start struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12::\nFormals: this:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12* __param_0:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_1" -> "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_5" ; -"#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_2" [label="2: Exit struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_1" -> "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_5" ; +"#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_2" [label="2: Exit struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12:: \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_3" [label="3: Constructor Init \n n$1=*&this:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12* [line 131, column 12]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_3" [label="3: Constructor Init \n n$1=*&this:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12* [line 131, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_3" -> "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_4" ; -"#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12& [line 131, column 12]\n n$3=_fun_SomeStruct::SomeStruct(n$1.__anon_field_1:SomeStruct*,n$2.__anon_field_1:SomeStruct&) [line 131, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_3" -> "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_4" ; +"#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12& [line 131, column 12]\n n$3=_fun_SomeStruct::SomeStruct(n$1.__anon_field_1:SomeStruct*,n$2.__anon_field_1:SomeStruct&) [line 131, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_4" -> "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_2" ; -"#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_5" [label="5: Constructor Init \n n$4=*&this:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12* [line 131, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_4" -> "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_2" ; +"#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_5" [label="5: Constructor Init \n n$4=*&this:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12* [line 131, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_5" -> "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_6" ; -"#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_6" [label="6: Constructor Init \n n$5=*&__param_0:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12& [line 131, column 12]\n n$6=_fun_SomeStruct::SomeStruct(n$4.__anon_field_0:SomeStruct*,n$5.__anon_field_0:SomeStruct&) [line 131, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_5" -> "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_6" ; +"#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_6" [label="6: Constructor Init \n n$5=*&__param_0:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12& [line 131, column 12]\n n$6=_fun_SomeStruct::SomeStruct(n$4.__anon_field_0:SomeStruct*,n$5.__anon_field_0:SomeStruct&) [line 131, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_6" -> "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694|constexpr.6315a956bdfd0c9175ac4b5d29791456_3" ; + "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_6" -> "#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#{5414798644176225694}.5ff48ede2fa2c67661c6f9b6dff925b1_3" ; "__infer_inner_destructor_~#lambda_shared_lambda_lambda1.cpp:131:12#struct_init_capture_by_value#(565.c3b6f4919c75b80fdd7848286b0ac31f_1" [label="1: Start struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12::__infer_inner_destructor_~\nFormals: this:struct_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:131:12*\nLocals: \n " color=yellow style=filled] @@ -899,29 +899,29 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#(15005887938914111589).35be5232427f26403761e8e1f9bd2f5f_5" -> "operator()#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#(15005887938914111589).35be5232427f26403761e8e1f9bd2f5f_3" ; -"#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_1" [label="1: Start struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12::\nFormals: this:struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12* __param_0:struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_1" [label="1: Start struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12::\nFormals: this:struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12* __param_0:struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_1" -> "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_5" ; -"#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_2" [label="2: Exit struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_1" -> "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_5" ; +"#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_2" [label="2: Exit struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12:: \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_3" [label="3: Constructor Init \n n$1=*&this:struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12* [line 140, column 12]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_3" [label="3: Constructor Init \n n$1=*&this:struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12* [line 140, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_3" -> "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_4" ; -"#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12& [line 140, column 12]\n n$3=*n$2.__anon_field_1:SomeStruct& [line 140, column 12]\n *n$1.__anon_field_1:SomeStruct&=n$3 [line 140, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_3" -> "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_4" ; +"#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12& [line 140, column 12]\n n$3=*n$2.__anon_field_1:SomeStruct& [line 140, column 12]\n *n$1.__anon_field_1:SomeStruct&=n$3 [line 140, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_4" -> "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_2" ; -"#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_5" [label="5: Constructor Init \n n$4=*&this:struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12* [line 140, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_4" -> "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_2" ; +"#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_5" [label="5: Constructor Init \n n$4=*&this:struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12* [line 140, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_5" -> "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_6" ; -"#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_6" [label="6: Constructor Init \n n$5=*&__param_0:struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12& [line 140, column 12]\n n$6=*n$5.__anon_field_0:SomeStruct& [line 140, column 12]\n *n$4.__anon_field_0:SomeStruct&=n$6 [line 140, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_5" -> "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_6" ; +"#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_6" [label="6: Constructor Init \n n$5=*&__param_0:struct_init_capture_by_ref::lambda_shared_lambda_lambda1.cpp:140:12& [line 140, column 12]\n n$6=*n$5.__anon_field_0:SomeStruct& [line 140, column 12]\n *n$4.__anon_field_0:SomeStruct&=n$6 [line 140, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_6" -> "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289|constexpr}.b669d1a6eafb74ffefc1a9d88bd1d6d2_3" ; + "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_6" -> "#lambda_shared_lambda_lambda1.cpp:140:12#struct_init_capture_by_ref#{905135172617509289}.766917b59718277babae65a5f924f0c8_3" ; "operator()#lambda_shared_lambda_lambda1.cpp:17:17#foo#(10761403337571939980).fc34b2fdd4414d044515387308a2caa2_1" [label="1: Start foo::lambda_shared_lambda_lambda1.cpp:17:17::operator()\nFormals: this:foo::lambda_shared_lambda_lambda1.cpp:17:17*\nLocals: \n " color=yellow style=filled] @@ -933,11 +933,11 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:17:17#foo#(10761403337571939980).fc34b2fdd4414d044515387308a2caa2_3" -> "operator()#lambda_shared_lambda_lambda1.cpp:17:17#foo#(10761403337571939980).fc34b2fdd4414d044515387308a2caa2_2" ; -"#lambda_shared_lambda_lambda1.cpp:17:17#foo#{6546711543298386294|constexpr}.e3fe0cc6b3f85877eafc8e8e47c95e31_1" [label="1: Start foo::lambda_shared_lambda_lambda1.cpp:17:17::\nFormals: this:foo::lambda_shared_lambda_lambda1.cpp:17:17* __param_0:foo::lambda_shared_lambda_lambda1.cpp:17:17&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:17:17#foo#{6546711543298386294}.4e65f788d940c39116987db96b6aa61f_1" [label="1: Start foo::lambda_shared_lambda_lambda1.cpp:17:17::\nFormals: this:foo::lambda_shared_lambda_lambda1.cpp:17:17* __param_0:foo::lambda_shared_lambda_lambda1.cpp:17:17&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:17:17#foo#{6546711543298386294|constexpr}.e3fe0cc6b3f85877eafc8e8e47c95e31_1" -> "#lambda_shared_lambda_lambda1.cpp:17:17#foo#{6546711543298386294|constexpr}.e3fe0cc6b3f85877eafc8e8e47c95e31_2" ; -"#lambda_shared_lambda_lambda1.cpp:17:17#foo#{6546711543298386294|constexpr}.e3fe0cc6b3f85877eafc8e8e47c95e31_2" [label="2: Exit foo::lambda_shared_lambda_lambda1.cpp:17:17:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:17:17#foo#{6546711543298386294}.4e65f788d940c39116987db96b6aa61f_1" -> "#lambda_shared_lambda_lambda1.cpp:17:17#foo#{6546711543298386294}.4e65f788d940c39116987db96b6aa61f_2" ; +"#lambda_shared_lambda_lambda1.cpp:17:17#foo#{6546711543298386294}.4e65f788d940c39116987db96b6aa61f_2" [label="2: Exit foo::lambda_shared_lambda_lambda1.cpp:17:17:: \n " color=yellow style=filled] "operator()#lambda_shared_lambda_lambda1.cpp:18:12#foo#(8701050879076719020).0d4a964c0bde8f0dc1ee0d35ffa2f29c_1" [label="1: Start foo::lambda_shared_lambda_lambda1.cpp:18:12::operator()\nFormals: this:foo::lambda_shared_lambda_lambda1.cpp:18:12* i:int\nLocals: \n " color=yellow style=filled] @@ -955,11 +955,11 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:18:12#foo#(8701050879076719020).0d4a964c0bde8f0dc1ee0d35ffa2f29c_4" -> "operator()#lambda_shared_lambda_lambda1.cpp:18:12#foo#(8701050879076719020).0d4a964c0bde8f0dc1ee0d35ffa2f29c_2" ; -"#lambda_shared_lambda_lambda1.cpp:18:12#foo#{14097994618464478171|constexpr}.e9a91eabc1a9d1f1795f8fe14615cf35_1" [label="1: Start foo::lambda_shared_lambda_lambda1.cpp:18:12::\nFormals: this:foo::lambda_shared_lambda_lambda1.cpp:18:12* __param_0:foo::lambda_shared_lambda_lambda1.cpp:18:12&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:18:12#foo#{14097994618464478171}.06d01d74fa6a0ce54bca2408970f013c_1" [label="1: Start foo::lambda_shared_lambda_lambda1.cpp:18:12::\nFormals: this:foo::lambda_shared_lambda_lambda1.cpp:18:12* __param_0:foo::lambda_shared_lambda_lambda1.cpp:18:12&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:18:12#foo#{14097994618464478171|constexpr}.e9a91eabc1a9d1f1795f8fe14615cf35_1" -> "#lambda_shared_lambda_lambda1.cpp:18:12#foo#{14097994618464478171|constexpr}.e9a91eabc1a9d1f1795f8fe14615cf35_2" ; -"#lambda_shared_lambda_lambda1.cpp:18:12#foo#{14097994618464478171|constexpr}.e9a91eabc1a9d1f1795f8fe14615cf35_2" [label="2: Exit foo::lambda_shared_lambda_lambda1.cpp:18:12:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:18:12#foo#{14097994618464478171}.06d01d74fa6a0ce54bca2408970f013c_1" -> "#lambda_shared_lambda_lambda1.cpp:18:12#foo#{14097994618464478171}.06d01d74fa6a0ce54bca2408970f013c_2" ; +"#lambda_shared_lambda_lambda1.cpp:18:12#foo#{14097994618464478171}.06d01d74fa6a0ce54bca2408970f013c_2" [label="2: Exit foo::lambda_shared_lambda_lambda1.cpp:18:12:: \n " color=yellow style=filled] "operator()#lambda_shared_lambda_lambda1.cpp:24:12#fooOK#(3436637400147523223).b3368025c545000668e9fb87b5c89aa4_1" [label="1: Start fooOK::lambda_shared_lambda_lambda1.cpp:24:12::operator()\nFormals: this:fooOK::lambda_shared_lambda_lambda1.cpp:24:12* i:int\nLocals: \n " color=yellow style=filled] @@ -977,11 +977,11 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:24:12#fooOK#(3436637400147523223).b3368025c545000668e9fb87b5c89aa4_4" -> "operator()#lambda_shared_lambda_lambda1.cpp:24:12#fooOK#(3436637400147523223).b3368025c545000668e9fb87b5c89aa4_2" ; -"#lambda_shared_lambda_lambda1.cpp:24:12#fooOK#{9771638492353064448|constexpr}.d1f3778d31393b08d2528ebeac915cba_1" [label="1: Start fooOK::lambda_shared_lambda_lambda1.cpp:24:12::\nFormals: this:fooOK::lambda_shared_lambda_lambda1.cpp:24:12* __param_0:fooOK::lambda_shared_lambda_lambda1.cpp:24:12&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:24:12#fooOK#{9771638492353064448}.4e34ba19443084761464cef8e2d8eacb_1" [label="1: Start fooOK::lambda_shared_lambda_lambda1.cpp:24:12::\nFormals: this:fooOK::lambda_shared_lambda_lambda1.cpp:24:12* __param_0:fooOK::lambda_shared_lambda_lambda1.cpp:24:12&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:24:12#fooOK#{9771638492353064448|constexpr}.d1f3778d31393b08d2528ebeac915cba_1" -> "#lambda_shared_lambda_lambda1.cpp:24:12#fooOK#{9771638492353064448|constexpr}.d1f3778d31393b08d2528ebeac915cba_2" ; -"#lambda_shared_lambda_lambda1.cpp:24:12#fooOK#{9771638492353064448|constexpr}.d1f3778d31393b08d2528ebeac915cba_2" [label="2: Exit fooOK::lambda_shared_lambda_lambda1.cpp:24:12:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:24:12#fooOK#{9771638492353064448}.4e34ba19443084761464cef8e2d8eacb_1" -> "#lambda_shared_lambda_lambda1.cpp:24:12#fooOK#{9771638492353064448}.4e34ba19443084761464cef8e2d8eacb_2" ; +"#lambda_shared_lambda_lambda1.cpp:24:12#fooOK#{9771638492353064448}.4e34ba19443084761464cef8e2d8eacb_2" [label="2: Exit fooOK::lambda_shared_lambda_lambda1.cpp:24:12:: \n " color=yellow style=filled] "operator()#lambda_shared_lambda_lambda1.cpp:31:10#normal_capture#(3336792892144266867).563aa24976a73c4ea364dbb5afa3f73f_1" [label="1: Start normal_capture::lambda_shared_lambda_lambda1.cpp:31:10::operator()\nFormals: this:normal_capture::lambda_shared_lambda_lambda1.cpp:31:10*\nLocals: \nCaptured: [by value]x:int [by value]y:int \n " color=yellow style=filled] @@ -1055,21 +1055,21 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#(1084455887557995828.1d62aec1dfb3de86dac2a9a51e124083_4" -> "operator()#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#(1084455887557995828.1d62aec1dfb3de86dac2a9a51e124083_2" ; -"#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560|constexp.007183ebc5eafd9047dc4bf6429d6a5a_1" [label="1: Start Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:51:19::\nFormals: this:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:51:19* __param_0:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:51:19&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560}.2454a43316a7d479b76d8f83a67878e9_1" [label="1: Start Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:51:19::\nFormals: this:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:51:19* __param_0:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:51:19&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560|constexp.007183ebc5eafd9047dc4bf6429d6a5a_1" -> "#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560|constexp.007183ebc5eafd9047dc4bf6429d6a5a_3" ; -"#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560|constexp.007183ebc5eafd9047dc4bf6429d6a5a_2" [label="2: Exit Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:51:19:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560}.2454a43316a7d479b76d8f83a67878e9_1" -> "#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560}.2454a43316a7d479b76d8f83a67878e9_3" ; +"#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560}.2454a43316a7d479b76d8f83a67878e9_2" [label="2: Exit Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:51:19:: \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560|constexp.007183ebc5eafd9047dc4bf6429d6a5a_3" [label="3: Constructor Init \n n$1=*&this:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:51:19* [line 51, column 19]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560}.2454a43316a7d479b76d8f83a67878e9_3" [label="3: Constructor Init \n n$1=*&this:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:51:19* [line 51, column 19]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560|constexp.007183ebc5eafd9047dc4bf6429d6a5a_3" -> "#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560|constexp.007183ebc5eafd9047dc4bf6429d6a5a_4" ; -"#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560|constexp.007183ebc5eafd9047dc4bf6429d6a5a_4" [label="4: Constructor Init \n n$2=*&__param_0:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:51:19& [line 51, column 19]\n n$3=*n$2.__anon_field_0:Capture* [line 51, column 19]\n *n$1.__anon_field_0:Capture*=n$3 [line 51, column 19]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560}.2454a43316a7d479b76d8f83a67878e9_3" -> "#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560}.2454a43316a7d479b76d8f83a67878e9_4" ; +"#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560}.2454a43316a7d479b76d8f83a67878e9_4" [label="4: Constructor Init \n n$2=*&__param_0:Capture::capture_this_explicit::lambda_shared_lambda_lambda1.cpp:51:19& [line 51, column 19]\n n$3=*n$2.__anon_field_0:Capture* [line 51, column 19]\n *n$1.__anon_field_0:Capture*=n$3 [line 51, column 19]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560|constexp.007183ebc5eafd9047dc4bf6429d6a5a_4" -> "#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560|constexp.007183ebc5eafd9047dc4bf6429d6a5a_2" ; + "#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560}.2454a43316a7d479b76d8f83a67878e9_4" -> "#lambda_shared_lambda_lambda1.cpp:51:19#capture_this_explicit#Capture#{17085426441918021560}.2454a43316a7d479b76d8f83a67878e9_2" ; "operator()#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#(11891233366713773989).2f1caaa7509ffca98027857cb192891f_1" [label="1: Start Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19::operator()\nFormals: this:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19*\nLocals: \nCaptured: [by value]this:Capture* \n " color=yellow style=filled] @@ -1077,21 +1077,21 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#(11891233366713773989).2f1caaa7509ffca98027857cb192891f_2" [label="2: Exit Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19::operator() \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663|constexpr}.987a67e2a61b4710b1310d7c9a030493_1" [label="1: Start Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19::\nFormals: this:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19* __param_0:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663}.eff44e2ffa2e3e2ced4e56768329bca7_1" [label="1: Start Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19::\nFormals: this:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19* __param_0:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663|constexpr}.987a67e2a61b4710b1310d7c9a030493_1" -> "#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663|constexpr}.987a67e2a61b4710b1310d7c9a030493_3" ; -"#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663|constexpr}.987a67e2a61b4710b1310d7c9a030493_2" [label="2: Exit Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663}.eff44e2ffa2e3e2ced4e56768329bca7_1" -> "#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663}.eff44e2ffa2e3e2ced4e56768329bca7_3" ; +"#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663}.eff44e2ffa2e3e2ced4e56768329bca7_2" [label="2: Exit Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19:: \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663|constexpr}.987a67e2a61b4710b1310d7c9a030493_3" [label="3: Constructor Init \n n$1=*&this:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19* [line 55, column 19]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663}.eff44e2ffa2e3e2ced4e56768329bca7_3" [label="3: Constructor Init \n n$1=*&this:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19* [line 55, column 19]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663|constexpr}.987a67e2a61b4710b1310d7c9a030493_3" -> "#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663|constexpr}.987a67e2a61b4710b1310d7c9a030493_4" ; -"#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663|constexpr}.987a67e2a61b4710b1310d7c9a030493_4" [label="4: Constructor Init \n n$2=*&__param_0:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19& [line 55, column 19]\n n$3=_fun_Capture::Capture(n$1.__anon_field_0:Capture*,n$2.__anon_field_0:Capture&) [line 55, column 19]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663}.eff44e2ffa2e3e2ced4e56768329bca7_3" -> "#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663}.eff44e2ffa2e3e2ced4e56768329bca7_4" ; +"#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663}.eff44e2ffa2e3e2ced4e56768329bca7_4" [label="4: Constructor Init \n n$2=*&__param_0:Capture::capture_star_this::lambda_shared_lambda_lambda1.cpp:55:19& [line 55, column 19]\n n$3=_fun_Capture::Capture(n$1.__anon_field_0:Capture*,n$2.__anon_field_0:Capture&) [line 55, column 19]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663|constexpr}.987a67e2a61b4710b1310d7c9a030493_4" -> "#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663|constexpr}.987a67e2a61b4710b1310d7c9a030493_2" ; + "#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663}.eff44e2ffa2e3e2ced4e56768329bca7_4" -> "#lambda_shared_lambda_lambda1.cpp:55:19#capture_star_this#Capture#{10959385173560663663}.eff44e2ffa2e3e2ced4e56768329bca7_2" ; "operator()#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#(91082432562742530.b72f197de8f4f60c1d815523b52f3221_1" [label="1: Start Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19::operator()\nFormals: this:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19*\nLocals: \nCaptured: [by ref]this:Capture* \n " color=yellow style=filled] @@ -1107,21 +1107,21 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#(91082432562742530.b72f197de8f4f60c1d815523b52f3221_4" -> "operator()#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#(91082432562742530.b72f197de8f4f60c1d815523b52f3221_2" ; -"#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153|constex.c6ef53d783ae1f9f2dcec6bc9c6f4c82_1" [label="1: Start Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19::\nFormals: this:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19* __param_0:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153}.c5b11a2eee0de61e038d28a3fa2378b8_1" [label="1: Start Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19::\nFormals: this:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19* __param_0:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153|constex.c6ef53d783ae1f9f2dcec6bc9c6f4c82_1" -> "#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153|constex.c6ef53d783ae1f9f2dcec6bc9c6f4c82_3" ; -"#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153|constex.c6ef53d783ae1f9f2dcec6bc9c6f4c82_2" [label="2: Exit Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153}.c5b11a2eee0de61e038d28a3fa2378b8_1" -> "#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153}.c5b11a2eee0de61e038d28a3fa2378b8_3" ; +"#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153}.c5b11a2eee0de61e038d28a3fa2378b8_2" [label="2: Exit Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19:: \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153|constex.c6ef53d783ae1f9f2dcec6bc9c6f4c82_3" [label="3: Constructor Init \n n$1=*&this:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19* [line 61, column 19]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153}.c5b11a2eee0de61e038d28a3fa2378b8_3" [label="3: Constructor Init \n n$1=*&this:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19* [line 61, column 19]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153|constex.c6ef53d783ae1f9f2dcec6bc9c6f4c82_3" -> "#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153|constex.c6ef53d783ae1f9f2dcec6bc9c6f4c82_4" ; -"#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153|constex.c6ef53d783ae1f9f2dcec6bc9c6f4c82_4" [label="4: Constructor Init \n n$2=*&__param_0:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19& [line 61, column 19]\n n$3=*n$2.__anon_field_0:Capture* [line 61, column 19]\n *n$1.__anon_field_0:Capture*=n$3 [line 61, column 19]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153}.c5b11a2eee0de61e038d28a3fa2378b8_3" -> "#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153}.c5b11a2eee0de61e038d28a3fa2378b8_4" ; +"#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153}.c5b11a2eee0de61e038d28a3fa2378b8_4" [label="4: Constructor Init \n n$2=*&__param_0:Capture::capture_this_with_equal::lambda_shared_lambda_lambda1.cpp:61:19& [line 61, column 19]\n n$3=*n$2.__anon_field_0:Capture* [line 61, column 19]\n *n$1.__anon_field_0:Capture*=n$3 [line 61, column 19]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153|constex.c6ef53d783ae1f9f2dcec6bc9c6f4c82_4" -> "#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153|constex.c6ef53d783ae1f9f2dcec6bc9c6f4c82_2" ; + "#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153}.c5b11a2eee0de61e038d28a3fa2378b8_4" -> "#lambda_shared_lambda_lambda1.cpp:61:19#capture_this_with_equal#Capture#{1308683831640213153}.c5b11a2eee0de61e038d28a3fa2378b8_2" ; "operator()#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#(476955214552649307.449a23f73c844f26ba0d7a54aef5727e_1" [label="1: Start Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19::operator()\nFormals: this:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19*\nLocals: \nCaptured: [by ref]this:Capture* \n " color=yellow style=filled] @@ -1137,21 +1137,21 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#(476955214552649307.449a23f73c844f26ba0d7a54aef5727e_4" -> "operator()#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#(476955214552649307.449a23f73c844f26ba0d7a54aef5727e_2" ; -"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251|constexp.ae073a9427f1e0a0647a37c0a06d8723_1" [label="1: Start Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19::\nFormals: this:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19* __param_0:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251}.4c6c89b7d05b4bc526ad9e3693e7c453_1" [label="1: Start Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19::\nFormals: this:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19* __param_0:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251|constexp.ae073a9427f1e0a0647a37c0a06d8723_1" -> "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251|constexp.ae073a9427f1e0a0647a37c0a06d8723_3" ; -"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251|constexp.ae073a9427f1e0a0647a37c0a06d8723_2" [label="2: Exit Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251}.4c6c89b7d05b4bc526ad9e3693e7c453_1" -> "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251}.4c6c89b7d05b4bc526ad9e3693e7c453_3" ; +"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251}.4c6c89b7d05b4bc526ad9e3693e7c453_2" [label="2: Exit Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19:: \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251|constexp.ae073a9427f1e0a0647a37c0a06d8723_3" [label="3: Constructor Init \n n$1=*&this:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19* [line 65, column 19]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251}.4c6c89b7d05b4bc526ad9e3693e7c453_3" [label="3: Constructor Init \n n$1=*&this:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19* [line 65, column 19]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251|constexp.ae073a9427f1e0a0647a37c0a06d8723_3" -> "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251|constexp.ae073a9427f1e0a0647a37c0a06d8723_4" ; -"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251|constexp.ae073a9427f1e0a0647a37c0a06d8723_4" [label="4: Constructor Init \n n$2=*&__param_0:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19& [line 65, column 19]\n n$3=*n$2.__anon_field_0:Capture* [line 65, column 19]\n *n$1.__anon_field_0:Capture*=n$3 [line 65, column 19]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251}.4c6c89b7d05b4bc526ad9e3693e7c453_3" -> "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251}.4c6c89b7d05b4bc526ad9e3693e7c453_4" ; +"#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251}.4c6c89b7d05b4bc526ad9e3693e7c453_4" [label="4: Constructor Init \n n$2=*&__param_0:Capture::capture_this_with_auto::lambda_shared_lambda_lambda1.cpp:65:19& [line 65, column 19]\n n$3=*n$2.__anon_field_0:Capture* [line 65, column 19]\n *n$1.__anon_field_0:Capture*=n$3 [line 65, column 19]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251|constexp.ae073a9427f1e0a0647a37c0a06d8723_4" -> "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251|constexp.ae073a9427f1e0a0647a37c0a06d8723_2" ; + "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251}.4c6c89b7d05b4bc526ad9e3693e7c453_4" -> "#lambda_shared_lambda_lambda1.cpp:65:19#capture_this_with_auto#Capture#{3159261883856682251}.4c6c89b7d05b4bc526ad9e3693e7c453_2" ; "operator()#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#(3957024350029978205).24bdda6ed01a44c4f20e0211a02e4440_1" [label="1: Start struct_capture::lambda_shared_lambda_lambda1.cpp:77:12::operator()\nFormals: this:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12*\nLocals: \nCaptured: [by value]x:SomeStruct& [by value]y:SomeStruct& \n " color=yellow style=filled] @@ -1167,29 +1167,29 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#(3957024350029978205).24bdda6ed01a44c4f20e0211a02e4440_4" -> "operator()#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#(3957024350029978205).24bdda6ed01a44c4f20e0211a02e4440_2" ; -"#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_1" [label="1: Start struct_capture::lambda_shared_lambda_lambda1.cpp:77:12::\nFormals: this:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12* __param_0:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_1" [label="1: Start struct_capture::lambda_shared_lambda_lambda1.cpp:77:12::\nFormals: this:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12* __param_0:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_1" -> "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_5" ; -"#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_2" [label="2: Exit struct_capture::lambda_shared_lambda_lambda1.cpp:77:12:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_1" -> "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_5" ; +"#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_2" [label="2: Exit struct_capture::lambda_shared_lambda_lambda1.cpp:77:12:: \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_3" [label="3: Constructor Init \n n$1=*&this:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12* [line 77, column 12]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_3" [label="3: Constructor Init \n n$1=*&this:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12* [line 77, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_3" -> "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_4" ; -"#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12& [line 77, column 12]\n n$3=_fun_SomeStruct::SomeStruct(n$1.__anon_field_1:SomeStruct*,n$2.__anon_field_1:SomeStruct&) [line 77, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_3" -> "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_4" ; +"#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12& [line 77, column 12]\n n$3=_fun_SomeStruct::SomeStruct(n$1.__anon_field_1:SomeStruct*,n$2.__anon_field_1:SomeStruct&) [line 77, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_4" -> "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_2" ; -"#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_5" [label="5: Constructor Init \n n$4=*&this:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12* [line 77, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_4" -> "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_2" ; +"#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_5" [label="5: Constructor Init \n n$4=*&this:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12* [line 77, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_5" -> "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_6" ; -"#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_6" [label="6: Constructor Init \n n$5=*&__param_0:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12& [line 77, column 12]\n n$6=_fun_SomeStruct::SomeStruct(n$4.__anon_field_0:SomeStruct*,n$5.__anon_field_0:SomeStruct&) [line 77, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_5" -> "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_6" ; +"#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_6" [label="6: Constructor Init \n n$5=*&__param_0:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12& [line 77, column 12]\n n$6=_fun_SomeStruct::SomeStruct(n$4.__anon_field_0:SomeStruct*,n$5.__anon_field_0:SomeStruct&) [line 77, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_6" -> "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531|constexpr}.bfb7dcac4e63864091bdca9e6fbf568a_3" ; + "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_6" -> "#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#{4132013847919986531}.e49d0c58c82f5a7c01b84b611dd1e6e8_3" ; "__infer_inner_destructor_~#lambda_shared_lambda_lambda1.cpp:77:12#struct_capture#(150665565338451364.bf6e5d23b8ee0a3b28e954ef16721938_1" [label="1: Start struct_capture::lambda_shared_lambda_lambda1.cpp:77:12::__infer_inner_destructor_~\nFormals: this:struct_capture::lambda_shared_lambda_lambda1.cpp:77:12*\nLocals: \n " color=yellow style=filled] @@ -1227,21 +1227,21 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#(10949488819111122211).ac192604b14c602015d6f44a47207c1b_4" -> "operator()#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#(10949488819111122211).ac192604b14c602015d6f44a47207c1b_2" ; -"#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559|constexpr}.9900d24de49015a8c0e5ac605e055575_1" [label="1: Start ref_capture_by_value::lambda_shared_lambda_lambda1.cpp:84:12::\nFormals: this:ref_capture_by_value::lambda_shared_lambda_lambda1.cpp:84:12* __param_0:ref_capture_by_value::lambda_shared_lambda_lambda1.cpp:84:12&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559}.e013bbd77d0d665a0a98b38ca28f2ca6_1" [label="1: Start ref_capture_by_value::lambda_shared_lambda_lambda1.cpp:84:12::\nFormals: this:ref_capture_by_value::lambda_shared_lambda_lambda1.cpp:84:12* __param_0:ref_capture_by_value::lambda_shared_lambda_lambda1.cpp:84:12&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559|constexpr}.9900d24de49015a8c0e5ac605e055575_1" -> "#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559|constexpr}.9900d24de49015a8c0e5ac605e055575_3" ; -"#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559|constexpr}.9900d24de49015a8c0e5ac605e055575_2" [label="2: Exit ref_capture_by_value::lambda_shared_lambda_lambda1.cpp:84:12:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559}.e013bbd77d0d665a0a98b38ca28f2ca6_1" -> "#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559}.e013bbd77d0d665a0a98b38ca28f2ca6_3" ; +"#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559}.e013bbd77d0d665a0a98b38ca28f2ca6_2" [label="2: Exit ref_capture_by_value::lambda_shared_lambda_lambda1.cpp:84:12:: \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559|constexpr}.9900d24de49015a8c0e5ac605e055575_3" [label="3: Constructor Init \n n$1=*&this:ref_capture_by_value::lambda_shared_lambda_lambda1.cpp:84:12* [line 84, column 12]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559}.e013bbd77d0d665a0a98b38ca28f2ca6_3" [label="3: Constructor Init \n n$1=*&this:ref_capture_by_value::lambda_shared_lambda_lambda1.cpp:84:12* [line 84, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559|constexpr}.9900d24de49015a8c0e5ac605e055575_3" -> "#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559|constexpr}.9900d24de49015a8c0e5ac605e055575_4" ; -"#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559|constexpr}.9900d24de49015a8c0e5ac605e055575_4" [label="4: Constructor Init \n n$2=*&__param_0:ref_capture_by_value::lambda_shared_lambda_lambda1.cpp:84:12& [line 84, column 12]\n n$3=*n$2.__anon_field_0:int [line 84, column 12]\n *n$1.__anon_field_0:int=n$3 [line 84, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559}.e013bbd77d0d665a0a98b38ca28f2ca6_3" -> "#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559}.e013bbd77d0d665a0a98b38ca28f2ca6_4" ; +"#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559}.e013bbd77d0d665a0a98b38ca28f2ca6_4" [label="4: Constructor Init \n n$2=*&__param_0:ref_capture_by_value::lambda_shared_lambda_lambda1.cpp:84:12& [line 84, column 12]\n n$3=*n$2.__anon_field_0:int [line 84, column 12]\n *n$1.__anon_field_0:int=n$3 [line 84, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559|constexpr}.9900d24de49015a8c0e5ac605e055575_4" -> "#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559|constexpr}.9900d24de49015a8c0e5ac605e055575_2" ; + "#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559}.e013bbd77d0d665a0a98b38ca28f2ca6_4" -> "#lambda_shared_lambda_lambda1.cpp:84:12#ref_capture_by_value#{1565289678568005559}.e013bbd77d0d665a0a98b38ca28f2ca6_2" ; "operator()#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#(9014001382350406746).a424a73ac953b9703b7563c75705009f_1" [label="1: Start ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12::operator()\nFormals: this:ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12*\nLocals: \nCaptured: [by value]xlambda:int \n " color=yellow style=filled] @@ -1257,21 +1257,21 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#(9014001382350406746).a424a73ac953b9703b7563c75705009f_4" -> "operator()#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#(9014001382350406746).a424a73ac953b9703b7563c75705009f_2" ; -"#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588|constexpr}.31aacdf0058bb3a747111413ebb18733_1" [label="1: Start ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12::\nFormals: this:ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12* __param_0:ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588}.044a565644b95d693554e540932d6012_1" [label="1: Start ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12::\nFormals: this:ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12* __param_0:ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588|constexpr}.31aacdf0058bb3a747111413ebb18733_1" -> "#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588|constexpr}.31aacdf0058bb3a747111413ebb18733_3" ; -"#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588|constexpr}.31aacdf0058bb3a747111413ebb18733_2" [label="2: Exit ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588}.044a565644b95d693554e540932d6012_1" -> "#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588}.044a565644b95d693554e540932d6012_3" ; +"#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588}.044a565644b95d693554e540932d6012_2" [label="2: Exit ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12:: \n " color=yellow style=filled] -"#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588|constexpr}.31aacdf0058bb3a747111413ebb18733_3" [label="3: Constructor Init \n n$1=*&this:ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12* [line 92, column 12]\n " shape="box"] +"#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588}.044a565644b95d693554e540932d6012_3" [label="3: Constructor Init \n n$1=*&this:ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12* [line 92, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588|constexpr}.31aacdf0058bb3a747111413ebb18733_3" -> "#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588|constexpr}.31aacdf0058bb3a747111413ebb18733_4" ; -"#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588|constexpr}.31aacdf0058bb3a747111413ebb18733_4" [label="4: Constructor Init \n n$2=*&__param_0:ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12& [line 92, column 12]\n n$3=*n$2.__anon_field_0:int [line 92, column 12]\n *n$1.__anon_field_0:int=n$3 [line 92, column 12]\n " shape="box"] + "#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588}.044a565644b95d693554e540932d6012_3" -> "#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588}.044a565644b95d693554e540932d6012_4" ; +"#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588}.044a565644b95d693554e540932d6012_4" [label="4: Constructor Init \n n$2=*&__param_0:ref_init_capture_by_value::lambda_shared_lambda_lambda1.cpp:92:12& [line 92, column 12]\n n$3=*n$2.__anon_field_0:int [line 92, column 12]\n *n$1.__anon_field_0:int=n$3 [line 92, column 12]\n " shape="box"] - "#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588|constexpr}.31aacdf0058bb3a747111413ebb18733_4" -> "#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588|constexpr}.31aacdf0058bb3a747111413ebb18733_2" ; + "#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588}.044a565644b95d693554e540932d6012_4" -> "#lambda_shared_lambda_lambda1.cpp:92:12#ref_init_capture_by_value#{1886806338377007588}.044a565644b95d693554e540932d6012_2" ; "operator()#lambda_shared_lambda_lambda1.cpp:9:15#bar#(7708532531154088338).ffe36bb5dd46814f3461661fb80e3e06_1" [label="1: Start bar::lambda_shared_lambda_lambda1.cpp:9:15::operator()\nFormals: this:bar::lambda_shared_lambda_lambda1.cpp:9:15*\nLocals: i:int \n " color=yellow style=filled] @@ -1291,11 +1291,11 @@ digraph cfg { "operator()#lambda_shared_lambda_lambda1.cpp:9:15#bar#(7708532531154088338).ffe36bb5dd46814f3461661fb80e3e06_5" -> "operator()#lambda_shared_lambda_lambda1.cpp:9:15#bar#(7708532531154088338).ffe36bb5dd46814f3461661fb80e3e06_3" ; -"#lambda_shared_lambda_lambda1.cpp:9:15#bar#{4587322379423162330|constexpr}.1cabad0b052f86af4ca6109c2d9eac45_1" [label="1: Start bar::lambda_shared_lambda_lambda1.cpp:9:15::\nFormals: this:bar::lambda_shared_lambda_lambda1.cpp:9:15* __param_0:bar::lambda_shared_lambda_lambda1.cpp:9:15&\nLocals: \n " color=yellow style=filled] +"#lambda_shared_lambda_lambda1.cpp:9:15#bar#{4587322379423162330}.d882cabc1688933f98e8c4abc2db47ff_1" [label="1: Start bar::lambda_shared_lambda_lambda1.cpp:9:15::\nFormals: this:bar::lambda_shared_lambda_lambda1.cpp:9:15* __param_0:bar::lambda_shared_lambda_lambda1.cpp:9:15&\nLocals: \n " color=yellow style=filled] - "#lambda_shared_lambda_lambda1.cpp:9:15#bar#{4587322379423162330|constexpr}.1cabad0b052f86af4ca6109c2d9eac45_1" -> "#lambda_shared_lambda_lambda1.cpp:9:15#bar#{4587322379423162330|constexpr}.1cabad0b052f86af4ca6109c2d9eac45_2" ; -"#lambda_shared_lambda_lambda1.cpp:9:15#bar#{4587322379423162330|constexpr}.1cabad0b052f86af4ca6109c2d9eac45_2" [label="2: Exit bar::lambda_shared_lambda_lambda1.cpp:9:15:: \n " color=yellow style=filled] + "#lambda_shared_lambda_lambda1.cpp:9:15#bar#{4587322379423162330}.d882cabc1688933f98e8c4abc2db47ff_1" -> "#lambda_shared_lambda_lambda1.cpp:9:15#bar#{4587322379423162330}.d882cabc1688933f98e8c4abc2db47ff_2" ; +"#lambda_shared_lambda_lambda1.cpp:9:15#bar#{4587322379423162330}.d882cabc1688933f98e8c4abc2db47ff_2" [label="2: Exit bar::lambda_shared_lambda_lambda1.cpp:9:15:: \n " color=yellow style=filled] } diff --git a/infer/tests/codetoanalyze/cpp/shared/methods/byvals.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/methods/byvals.cpp.dot index c2cc296b3..2679f5536 100644 --- a/infer/tests/codetoanalyze/cpp/shared/methods/byvals.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/methods/byvals.cpp.dot @@ -260,34 +260,34 @@ digraph cfg { "Id#Id#pass_by_val#{11559311172078128305}.9f0baee348d3d73a31c6908db492fb18_2" [label="2: Exit pass_by_val::Id::Id \n " color=yellow style=filled] -"Id#Id#pass_by_val#{13905763975816786831|constexpr}.b27e3d01dbcc52e900b215f919a00f8a_1" [label="1: Start pass_by_val::Id::Id\nFormals: this:pass_by_val::Id* __param_0:pass_by_val::Id&\nLocals: \n " color=yellow style=filled] +"Id#Id#pass_by_val#{13905763975816786831}.27fa67085faf2acc44797751d895f08c_1" [label="1: Start pass_by_val::Id::Id\nFormals: this:pass_by_val::Id* __param_0:pass_by_val::Id&\nLocals: \n " color=yellow style=filled] - "Id#Id#pass_by_val#{13905763975816786831|constexpr}.b27e3d01dbcc52e900b215f919a00f8a_1" -> "Id#Id#pass_by_val#{13905763975816786831|constexpr}.b27e3d01dbcc52e900b215f919a00f8a_2" ; -"Id#Id#pass_by_val#{13905763975816786831|constexpr}.b27e3d01dbcc52e900b215f919a00f8a_2" [label="2: Exit pass_by_val::Id::Id \n " color=yellow style=filled] + "Id#Id#pass_by_val#{13905763975816786831}.27fa67085faf2acc44797751d895f08c_1" -> "Id#Id#pass_by_val#{13905763975816786831}.27fa67085faf2acc44797751d895f08c_2" ; +"Id#Id#pass_by_val#{13905763975816786831}.27fa67085faf2acc44797751d895f08c_2" [label="2: Exit pass_by_val::Id::Id \n " color=yellow style=filled] -"PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_1" [label="1: Start pass_by_val::PlainStruct::PlainStruct\nFormals: this:pass_by_val::PlainStruct* __param_0:pass_by_val::PlainStruct const &\nLocals: \n " color=yellow style=filled] +"PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_1" [label="1: Start pass_by_val::PlainStruct::PlainStruct\nFormals: this:pass_by_val::PlainStruct* __param_0:pass_by_val::PlainStruct const &\nLocals: \n " color=yellow style=filled] - "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_1" -> "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_5" ; -"PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_2" [label="2: Exit pass_by_val::PlainStruct::PlainStruct \n " color=yellow style=filled] + "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_1" -> "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_5" ; +"PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_2" [label="2: Exit pass_by_val::PlainStruct::PlainStruct \n " color=yellow style=filled] -"PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_3" [label="3: Constructor Init \n n$1=*&this:pass_by_val::PlainStruct* [line 11, column 8]\n " shape="box"] +"PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_3" [label="3: Constructor Init \n n$1=*&this:pass_by_val::PlainStruct* [line 11, column 8]\n " shape="box"] - "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_3" -> "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_4" ; -"PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_4" [label="4: Constructor Init \n n$2=*&__param_0:pass_by_val::PlainStruct const & [line 11, column 8]\n n$3=*n$2.y:int* [line 11, column 8]\n *n$1.y:int*=n$3 [line 11, column 8]\n " shape="box"] + "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_3" -> "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_4" ; +"PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_4" [label="4: Constructor Init \n n$2=*&__param_0:pass_by_val::PlainStruct const & [line 11, column 8]\n n$3=*n$2.y:int* [line 11, column 8]\n *n$1.y:int*=n$3 [line 11, column 8]\n " shape="box"] - "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_4" -> "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_2" ; -"PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_5" [label="5: Constructor Init \n n$4=*&this:pass_by_val::PlainStruct* [line 11, column 8]\n " shape="box"] + "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_4" -> "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_2" ; +"PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_5" [label="5: Constructor Init \n n$4=*&this:pass_by_val::PlainStruct* [line 11, column 8]\n " shape="box"] - "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_5" -> "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_6" ; -"PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_6" [label="6: Constructor Init \n n$5=*&__param_0:pass_by_val::PlainStruct const & [line 11, column 8]\n n$6=*n$5.x:int [line 11, column 8]\n *n$4.x:int=n$6 [line 11, column 8]\n " shape="box"] + "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_5" -> "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_6" ; +"PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_6" [label="6: Constructor Init \n n$5=*&__param_0:pass_by_val::PlainStruct const & [line 11, column 8]\n n$6=*n$5.x:int [line 11, column 8]\n *n$4.x:int=n$6 [line 11, column 8]\n " shape="box"] - "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_6" -> "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991|constexpr}.ebcae5a04f81a0a5689a596c5bf2acec_3" ; + "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_6" -> "PlainStruct#PlainStruct#pass_by_val#{4394507928576298991}.9ab4d4a7df14c913c61f8094f35e6c13_3" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/methods/return_struct.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/methods/return_struct.cpp.dot index 8b4ee658d..7440da170 100644 --- a/infer/tests/codetoanalyze/cpp/shared/methods/return_struct.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/methods/return_struct.cpp.dot @@ -57,19 +57,19 @@ digraph cfg { "X#X#{5585564522356237825}.f0691bf51109589e6407e972842a942a_2" [label="2: Exit X::X \n " color=yellow style=filled] -"X#X#{7542825376858911664|constexpr}.125b086f5f25f1ed62f4c0beac82269c_1" [label="1: Start X::X\nFormals: this:X* __param_0:X&\nLocals: \n " color=yellow style=filled] +"X#X#{7542825376858911664}.855b44777ab56dafe65550d2b42a7b74_1" [label="1: Start X::X\nFormals: this:X* __param_0:X&\nLocals: \n " color=yellow style=filled] - "X#X#{7542825376858911664|constexpr}.125b086f5f25f1ed62f4c0beac82269c_1" -> "X#X#{7542825376858911664|constexpr}.125b086f5f25f1ed62f4c0beac82269c_3" ; -"X#X#{7542825376858911664|constexpr}.125b086f5f25f1ed62f4c0beac82269c_2" [label="2: Exit X::X \n " color=yellow style=filled] + "X#X#{7542825376858911664}.855b44777ab56dafe65550d2b42a7b74_1" -> "X#X#{7542825376858911664}.855b44777ab56dafe65550d2b42a7b74_3" ; +"X#X#{7542825376858911664}.855b44777ab56dafe65550d2b42a7b74_2" [label="2: Exit X::X \n " color=yellow style=filled] -"X#X#{7542825376858911664|constexpr}.125b086f5f25f1ed62f4c0beac82269c_3" [label="3: Constructor Init \n n$1=*&this:X* [line 8, column 8]\n " shape="box"] +"X#X#{7542825376858911664}.855b44777ab56dafe65550d2b42a7b74_3" [label="3: Constructor Init \n n$1=*&this:X* [line 8, column 8]\n " shape="box"] - "X#X#{7542825376858911664|constexpr}.125b086f5f25f1ed62f4c0beac82269c_3" -> "X#X#{7542825376858911664|constexpr}.125b086f5f25f1ed62f4c0beac82269c_4" ; -"X#X#{7542825376858911664|constexpr}.125b086f5f25f1ed62f4c0beac82269c_4" [label="4: Constructor Init \n n$2=*&__param_0:X& [line 8, column 8]\n n$3=*n$2.f:int [line 8, column 8]\n *n$1.f:int=n$3 [line 8, column 8]\n " shape="box"] + "X#X#{7542825376858911664}.855b44777ab56dafe65550d2b42a7b74_3" -> "X#X#{7542825376858911664}.855b44777ab56dafe65550d2b42a7b74_4" ; +"X#X#{7542825376858911664}.855b44777ab56dafe65550d2b42a7b74_4" [label="4: Constructor Init \n n$2=*&__param_0:X& [line 8, column 8]\n n$3=*n$2.f:int [line 8, column 8]\n *n$1.f:int=n$3 [line 8, column 8]\n " shape="box"] - "X#X#{7542825376858911664|constexpr}.125b086f5f25f1ed62f4c0beac82269c_4" -> "X#X#{7542825376858911664|constexpr}.125b086f5f25f1ed62f4c0beac82269c_2" ; + "X#X#{7542825376858911664}.855b44777ab56dafe65550d2b42a7b74_4" -> "X#X#{7542825376858911664}.855b44777ab56dafe65550d2b42a7b74_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/reference/reference_field.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/reference/reference_field.cpp.dot index af52b3943..388f4dc0e 100644 --- a/infer/tests/codetoanalyze/cpp/shared/reference/reference_field.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/reference/reference_field.cpp.dot @@ -531,21 +531,21 @@ digraph cfg { "Val#Val#reference_field#{4788856549917862568}.b7d1ec35256cbe6a05257dc23f16dca0_6" -> "Val#Val#reference_field#{4788856549917862568}.b7d1ec35256cbe6a05257dc23f16dca0_3" ; -"X#X#reference_field#{14378536680571594526|constexpr}.e2fe91bb92d7cac2870c43305a55ec80_1" [label="1: Start reference_field::X::X\nFormals: this:reference_field::X* __param_0:reference_field::X const &\nLocals: \n " color=yellow style=filled] +"X#X#reference_field#{14378536680571594526}.5931bc923643f498cd8fbe886d381d15_1" [label="1: Start reference_field::X::X\nFormals: this:reference_field::X* __param_0:reference_field::X const &\nLocals: \n " color=yellow style=filled] - "X#X#reference_field#{14378536680571594526|constexpr}.e2fe91bb92d7cac2870c43305a55ec80_1" -> "X#X#reference_field#{14378536680571594526|constexpr}.e2fe91bb92d7cac2870c43305a55ec80_3" ; -"X#X#reference_field#{14378536680571594526|constexpr}.e2fe91bb92d7cac2870c43305a55ec80_2" [label="2: Exit reference_field::X::X \n " color=yellow style=filled] + "X#X#reference_field#{14378536680571594526}.5931bc923643f498cd8fbe886d381d15_1" -> "X#X#reference_field#{14378536680571594526}.5931bc923643f498cd8fbe886d381d15_3" ; +"X#X#reference_field#{14378536680571594526}.5931bc923643f498cd8fbe886d381d15_2" [label="2: Exit reference_field::X::X \n " color=yellow style=filled] -"X#X#reference_field#{14378536680571594526|constexpr}.e2fe91bb92d7cac2870c43305a55ec80_3" [label="3: Constructor Init \n n$1=*&this:reference_field::X* [line 10, column 8]\n " shape="box"] +"X#X#reference_field#{14378536680571594526}.5931bc923643f498cd8fbe886d381d15_3" [label="3: Constructor Init \n n$1=*&this:reference_field::X* [line 10, column 8]\n " shape="box"] - "X#X#reference_field#{14378536680571594526|constexpr}.e2fe91bb92d7cac2870c43305a55ec80_3" -> "X#X#reference_field#{14378536680571594526|constexpr}.e2fe91bb92d7cac2870c43305a55ec80_4" ; -"X#X#reference_field#{14378536680571594526|constexpr}.e2fe91bb92d7cac2870c43305a55ec80_4" [label="4: Constructor Init \n n$2=*&__param_0:reference_field::X const & [line 10, column 8]\n n$3=*n$2.f:int [line 10, column 8]\n *n$1.f:int=n$3 [line 10, column 8]\n " shape="box"] + "X#X#reference_field#{14378536680571594526}.5931bc923643f498cd8fbe886d381d15_3" -> "X#X#reference_field#{14378536680571594526}.5931bc923643f498cd8fbe886d381d15_4" ; +"X#X#reference_field#{14378536680571594526}.5931bc923643f498cd8fbe886d381d15_4" [label="4: Constructor Init \n n$2=*&__param_0:reference_field::X const & [line 10, column 8]\n n$3=*n$2.f:int [line 10, column 8]\n *n$1.f:int=n$3 [line 10, column 8]\n " shape="box"] - "X#X#reference_field#{14378536680571594526|constexpr}.e2fe91bb92d7cac2870c43305a55ec80_4" -> "X#X#reference_field#{14378536680571594526|constexpr}.e2fe91bb92d7cac2870c43305a55ec80_2" ; + "X#X#reference_field#{14378536680571594526}.5931bc923643f498cd8fbe886d381d15_4" -> "X#X#reference_field#{14378536680571594526}.5931bc923643f498cd8fbe886d381d15_2" ; "X#X#reference_field#{3492669295766283357}.5726e095a607366ecb73dddc4f6c2504_1" [label="1: Start reference_field::X::X\nFormals: this:reference_field::X*\nLocals: \n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/templates/function.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/templates/function.cpp.dot index 932b75588..911832639 100644 --- a/infer/tests/codetoanalyze/cpp/shared/templates/function.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/templates/function.cpp.dot @@ -185,11 +185,11 @@ digraph cfg { "getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_3" -> "getVal#X1#function#(6016609736462046615).f1c1059b86daba05a044baaa3aeebb4d_2" ; -"X1#X1#function#{8779917002236402233|constexpr}.d5e976e615badc178a938519bc72fdd7_1" [label="1: Start function::X1::X1\nFormals: this:function::X1*\nLocals: \n " color=yellow style=filled] +"X1#X1#function#{8779917002236402233}.db64ca09a054ab7b5238dee539132891_1" [label="1: Start function::X1::X1\nFormals: this:function::X1*\nLocals: \n " color=yellow style=filled] - "X1#X1#function#{8779917002236402233|constexpr}.d5e976e615badc178a938519bc72fdd7_1" -> "X1#X1#function#{8779917002236402233|constexpr}.d5e976e615badc178a938519bc72fdd7_2" ; -"X1#X1#function#{8779917002236402233|constexpr}.d5e976e615badc178a938519bc72fdd7_2" [label="2: Exit function::X1::X1 \n " color=yellow style=filled] + "X1#X1#function#{8779917002236402233}.db64ca09a054ab7b5238dee539132891_1" -> "X1#X1#function#{8779917002236402233}.db64ca09a054ab7b5238dee539132891_2" ; +"X1#X1#function#{8779917002236402233}.db64ca09a054ab7b5238dee539132891_2" [label="2: Exit function::X1::X1 \n " color=yellow style=filled] "getVal#X2#function#(4809746707613911696).0109fe7d05b40f7cd003b5f24db7e996_1" [label="1: Start function::X2::getVal\nFormals: this:function::X2*\nLocals: \n " color=yellow style=filled] @@ -214,11 +214,11 @@ digraph cfg { "get#X3#function#(14294522720635572005).f8ff5924ea2973135dd3eed8a26cb671_3" -> "get#X3#function#(14294522720635572005).f8ff5924ea2973135dd3eed8a26cb671_2" ; -"X3#X3#function#{14275160072237313739|constexpr}.1603c965b4ef09686df9196b3ebf2334_1" [label="1: Start function::X3::X3\nFormals: this:function::X3*\nLocals: \n " color=yellow style=filled] +"X3#X3#function#{14275160072237313739}.7c1db65b133d6bd7aa9314d2e6f90613_1" [label="1: Start function::X3::X3\nFormals: this:function::X3*\nLocals: \n " color=yellow style=filled] - "X3#X3#function#{14275160072237313739|constexpr}.1603c965b4ef09686df9196b3ebf2334_1" -> "X3#X3#function#{14275160072237313739|constexpr}.1603c965b4ef09686df9196b3ebf2334_2" ; -"X3#X3#function#{14275160072237313739|constexpr}.1603c965b4ef09686df9196b3ebf2334_2" [label="2: Exit function::X3::X3 \n " color=yellow style=filled] + "X3#X3#function#{14275160072237313739}.7c1db65b133d6bd7aa9314d2e6f90613_1" -> "X3#X3#function#{14275160072237313739}.7c1db65b133d6bd7aa9314d2e6f90613_2" ; +"X3#X3#function#{14275160072237313739}.7c1db65b133d6bd7aa9314d2e6f90613_2" [label="2: Exit function::X3::X3 \n " color=yellow style=filled] } diff --git a/infer/tests/codetoanalyze/cpp/shared/templates/method.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/templates/method.cpp.dot index 37ad9318f..98078520c 100644 --- a/infer/tests/codetoanalyze/cpp/shared/templates/method.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/templates/method.cpp.dot @@ -184,11 +184,11 @@ digraph cfg { "get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_4" -> "get#Getter#method#(3247992624161763984).d85954e5db9a3e87e1f85274548baec1_2" ; -"Getter#Getter#method#{5797864722491335676|constexpr}.e2a7a9659ce89c66327976d2554948f3_1" [label="1: Start method::Getter::Getter\nFormals: this:method::Getter*\nLocals: \n " color=yellow style=filled] +"Getter#Getter#method#{5797864722491335676}.8a962ed3d775a5011a70b1535d20afab_1" [label="1: Start method::Getter::Getter\nFormals: this:method::Getter*\nLocals: \n " color=yellow style=filled] - "Getter#Getter#method#{5797864722491335676|constexpr}.e2a7a9659ce89c66327976d2554948f3_1" -> "Getter#Getter#method#{5797864722491335676|constexpr}.e2a7a9659ce89c66327976d2554948f3_2" ; -"Getter#Getter#method#{5797864722491335676|constexpr}.e2a7a9659ce89c66327976d2554948f3_2" [label="2: Exit method::Getter::Getter \n " color=yellow style=filled] + "Getter#Getter#method#{5797864722491335676}.8a962ed3d775a5011a70b1535d20afab_1" -> "Getter#Getter#method#{5797864722491335676}.8a962ed3d775a5011a70b1535d20afab_2" ; +"Getter#Getter#method#{5797864722491335676}.8a962ed3d775a5011a70b1535d20afab_2" [label="2: Exit method::Getter::Getter \n " color=yellow style=filled] "get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_1" [label="1: Start method::GetterTempl::get\nFormals: this:method::GetterTempl* t:method::X1& s:method::X1&\nLocals: \n " color=yellow style=filled] @@ -206,11 +206,11 @@ digraph cfg { "get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_4" -> "get#GetterTempl#method#(1597660249660822780).26089da113d1a8570a849aa988e4ebd3_2" ; -"GetterTempl#GetterTempl#method#{11390966017599023832|constexpr}.818e013e57ee5d00890e9d0cc89963b7_1" [label="1: Start method::GetterTempl::GetterTempl\nFormals: this:method::GetterTempl*\nLocals: \n " color=yellow style=filled] +"GetterTempl#GetterTempl#method#{11390966017599023832}.da1036e6b60c153dd79a125d12422a4f_1" [label="1: Start method::GetterTempl::GetterTempl\nFormals: this:method::GetterTempl*\nLocals: \n " color=yellow style=filled] - "GetterTempl#GetterTempl#method#{11390966017599023832|constexpr}.818e013e57ee5d00890e9d0cc89963b7_1" -> "GetterTempl#GetterTempl#method#{11390966017599023832|constexpr}.818e013e57ee5d00890e9d0cc89963b7_2" ; -"GetterTempl#GetterTempl#method#{11390966017599023832|constexpr}.818e013e57ee5d00890e9d0cc89963b7_2" [label="2: Exit method::GetterTempl::GetterTempl \n " color=yellow style=filled] + "GetterTempl#GetterTempl#method#{11390966017599023832}.da1036e6b60c153dd79a125d12422a4f_1" -> "GetterTempl#GetterTempl#method#{11390966017599023832}.da1036e6b60c153dd79a125d12422a4f_2" ; +"GetterTempl#GetterTempl#method#{11390966017599023832}.da1036e6b60c153dd79a125d12422a4f_2" [label="2: Exit method::GetterTempl::GetterTempl \n " color=yellow style=filled] "get#GetterTempl#method#(242818219889731161).ce1c035f50382c57a6002fb874c7d273_1" [label="1: Start method::GetterTempl::get\nFormals: this:method::GetterTempl* t:method::X2& s:method::X2&\nLocals: \n " color=yellow style=filled] @@ -243,11 +243,11 @@ digraph cfg { "get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_4" -> "get#GetterTempl#method#(5585877041217346556).4f87183f5216c7461b5259807b1f72ac_2" ; -"GetterTempl#GetterTempl#method#{14146789925244425309|constexpr}.c7a91ad0a82a8f95ea9b5f2bd66f0d6b_1" [label="1: Start method::GetterTempl::GetterTempl\nFormals: this:method::GetterTempl*\nLocals: \n " color=yellow style=filled] +"GetterTempl#GetterTempl#method#{14146789925244425309}.4bf1d3532fe675793145c80d07022fa1_1" [label="1: Start method::GetterTempl::GetterTempl\nFormals: this:method::GetterTempl*\nLocals: \n " color=yellow style=filled] - "GetterTempl#GetterTempl#method#{14146789925244425309|constexpr}.c7a91ad0a82a8f95ea9b5f2bd66f0d6b_1" -> "GetterTempl#GetterTempl#method#{14146789925244425309|constexpr}.c7a91ad0a82a8f95ea9b5f2bd66f0d6b_2" ; -"GetterTempl#GetterTempl#method#{14146789925244425309|constexpr}.c7a91ad0a82a8f95ea9b5f2bd66f0d6b_2" [label="2: Exit method::GetterTempl::GetterTempl \n " color=yellow style=filled] + "GetterTempl#GetterTempl#method#{14146789925244425309}.4bf1d3532fe675793145c80d07022fa1_1" -> "GetterTempl#GetterTempl#method#{14146789925244425309}.4bf1d3532fe675793145c80d07022fa1_2" ; +"GetterTempl#GetterTempl#method#{14146789925244425309}.4bf1d3532fe675793145c80d07022fa1_2" [label="2: Exit method::GetterTempl::GetterTempl \n " color=yellow style=filled] "get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_1" [label="1: Start method::GetterTempl::get\nFormals: this:method::GetterTempl* t:method::X3& s:method::X2&\nLocals: \n " color=yellow style=filled] @@ -265,11 +265,11 @@ digraph cfg { "get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_4" -> "get#GetterTempl#method#(10966570090595029900).9a24a249e802c1b058a8d736330be11a_2" ; -"GetterTempl#GetterTempl#method#{1614309827699496562|constexpr}.efaf50afda4bba49b25ed5e557a6c61f_1" [label="1: Start method::GetterTempl::GetterTempl\nFormals: this:method::GetterTempl*\nLocals: \n " color=yellow style=filled] +"GetterTempl#GetterTempl#method#{1614309827699496562}.37452a6e7e1ac50ce48aed85a87517cd_1" [label="1: Start method::GetterTempl::GetterTempl\nFormals: this:method::GetterTempl*\nLocals: \n " color=yellow style=filled] - "GetterTempl#GetterTempl#method#{1614309827699496562|constexpr}.efaf50afda4bba49b25ed5e557a6c61f_1" -> "GetterTempl#GetterTempl#method#{1614309827699496562|constexpr}.efaf50afda4bba49b25ed5e557a6c61f_2" ; -"GetterTempl#GetterTempl#method#{1614309827699496562|constexpr}.efaf50afda4bba49b25ed5e557a6c61f_2" [label="2: Exit method::GetterTempl::GetterTempl \n " color=yellow style=filled] + "GetterTempl#GetterTempl#method#{1614309827699496562}.37452a6e7e1ac50ce48aed85a87517cd_1" -> "GetterTempl#GetterTempl#method#{1614309827699496562}.37452a6e7e1ac50ce48aed85a87517cd_2" ; +"GetterTempl#GetterTempl#method#{1614309827699496562}.37452a6e7e1ac50ce48aed85a87517cd_2" [label="2: Exit method::GetterTempl::GetterTempl \n " color=yellow style=filled] "get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_1" [label="1: Start method::X1::get\nFormals: this:method::X1*\nLocals: \n " color=yellow style=filled] @@ -283,11 +283,11 @@ digraph cfg { "get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_3" -> "get#X1#method#(3540560026209954150).2509f5dd5568220867b48d85b777a860_2" ; -"X1#X1#method#{7787305985491195504|constexpr}.fd91730a33490daf16ec3014fbdc56f5_1" [label="1: Start method::X1::X1\nFormals: this:method::X1*\nLocals: \n " color=yellow style=filled] +"X1#X1#method#{7787305985491195504}.b7bf6d21b69c9a52adb697127c065625_1" [label="1: Start method::X1::X1\nFormals: this:method::X1*\nLocals: \n " color=yellow style=filled] - "X1#X1#method#{7787305985491195504|constexpr}.fd91730a33490daf16ec3014fbdc56f5_1" -> "X1#X1#method#{7787305985491195504|constexpr}.fd91730a33490daf16ec3014fbdc56f5_2" ; -"X1#X1#method#{7787305985491195504|constexpr}.fd91730a33490daf16ec3014fbdc56f5_2" [label="2: Exit method::X1::X1 \n " color=yellow style=filled] + "X1#X1#method#{7787305985491195504}.b7bf6d21b69c9a52adb697127c065625_1" -> "X1#X1#method#{7787305985491195504}.b7bf6d21b69c9a52adb697127c065625_2" ; +"X1#X1#method#{7787305985491195504}.b7bf6d21b69c9a52adb697127c065625_2" [label="2: Exit method::X1::X1 \n " color=yellow style=filled] "get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_1" [label="1: Start method::X2::get\nFormals: this:method::X2*\nLocals: \n " color=yellow style=filled] @@ -301,11 +301,11 @@ digraph cfg { "get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_3" -> "get#X2#method#(12355996928057833031).c7a6c1beedda2f062a60f83f9b206b30_2" ; -"X2#X2#method#{4832738582329589389|constexpr}.66021f4715c670b407f03c2fe9340d9a_1" [label="1: Start method::X2::X2\nFormals: this:method::X2*\nLocals: \n " color=yellow style=filled] +"X2#X2#method#{4832738582329589389}.ea2af02acc6509cd92a5b951e1f88cec_1" [label="1: Start method::X2::X2\nFormals: this:method::X2*\nLocals: \n " color=yellow style=filled] - "X2#X2#method#{4832738582329589389|constexpr}.66021f4715c670b407f03c2fe9340d9a_1" -> "X2#X2#method#{4832738582329589389|constexpr}.66021f4715c670b407f03c2fe9340d9a_2" ; -"X2#X2#method#{4832738582329589389|constexpr}.66021f4715c670b407f03c2fe9340d9a_2" [label="2: Exit method::X2::X2 \n " color=yellow style=filled] + "X2#X2#method#{4832738582329589389}.ea2af02acc6509cd92a5b951e1f88cec_1" -> "X2#X2#method#{4832738582329589389}.ea2af02acc6509cd92a5b951e1f88cec_2" ; +"X2#X2#method#{4832738582329589389}.ea2af02acc6509cd92a5b951e1f88cec_2" [label="2: Exit method::X2::X2 \n " color=yellow style=filled] "get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_1" [label="1: Start method::X3::get\nFormals: this:method::X3*\nLocals: \n " color=yellow style=filled] @@ -319,11 +319,11 @@ digraph cfg { "get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_3" -> "get#X3#method#(17779304111871376612).93de680a5d7c38b89b487ae7f0d986d6_2" ; -"X3#X3#method#{17681021453071824174|constexpr}.eb4f58af8298830b69c1946957fc11b9_1" [label="1: Start method::X3::X3\nFormals: this:method::X3*\nLocals: \n " color=yellow style=filled] +"X3#X3#method#{17681021453071824174}.93d1a227713248bfcbdf60818c824cd8_1" [label="1: Start method::X3::X3\nFormals: this:method::X3*\nLocals: \n " color=yellow style=filled] - "X3#X3#method#{17681021453071824174|constexpr}.eb4f58af8298830b69c1946957fc11b9_1" -> "X3#X3#method#{17681021453071824174|constexpr}.eb4f58af8298830b69c1946957fc11b9_2" ; -"X3#X3#method#{17681021453071824174|constexpr}.eb4f58af8298830b69c1946957fc11b9_2" [label="2: Exit method::X3::X3 \n " color=yellow style=filled] + "X3#X3#method#{17681021453071824174}.93d1a227713248bfcbdf60818c824cd8_1" -> "X3#X3#method#{17681021453071824174}.93d1a227713248bfcbdf60818c824cd8_2" ; +"X3#X3#method#{17681021453071824174}.93d1a227713248bfcbdf60818c824cd8_2" [label="2: Exit method::X3::X3 \n " color=yellow style=filled] } diff --git a/infer/tests/codetoanalyze/cpp/shared/types/inheritance.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/inheritance.cpp.dot index a92120b79..a9d557082 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/inheritance.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/inheritance.cpp.dot @@ -101,11 +101,11 @@ digraph cfg { "fun#Base#(4745240833868289958).678df3fd06599dafd933a3bb8b9491bc_3" -> "fun#Base#(4745240833868289958).678df3fd06599dafd933a3bb8b9491bc_2" ; -"Base#Base#{2135720435997419541|constexpr}.5c7ff8c6cd2b8f42e1ee459f75a5880f_1" [label="1: Start Base::Base\nFormals: this:Base*\nLocals: \n " color=yellow style=filled] +"Base#Base#{2135720435997419541}.35add227b78a5781de56792e3da9f256_1" [label="1: Start Base::Base\nFormals: this:Base*\nLocals: \n " color=yellow style=filled] - "Base#Base#{2135720435997419541|constexpr}.5c7ff8c6cd2b8f42e1ee459f75a5880f_1" -> "Base#Base#{2135720435997419541|constexpr}.5c7ff8c6cd2b8f42e1ee459f75a5880f_2" ; -"Base#Base#{2135720435997419541|constexpr}.5c7ff8c6cd2b8f42e1ee459f75a5880f_2" [label="2: Exit Base::Base \n " color=yellow style=filled] + "Base#Base#{2135720435997419541}.35add227b78a5781de56792e3da9f256_1" -> "Base#Base#{2135720435997419541}.35add227b78a5781de56792e3da9f256_2" ; +"Base#Base#{2135720435997419541}.35add227b78a5781de56792e3da9f256_2" [label="2: Exit Base::Base \n " color=yellow style=filled] "fun_redefine#Sub#(17129416942188381963).92112cf746626b3b7cdf24f41680fdb8_1" [label="1: Start Sub::fun_redefine\nFormals: this:Sub*\nLocals: \n " color=yellow style=filled] @@ -119,19 +119,19 @@ digraph cfg { "fun_redefine#Sub#(17129416942188381963).92112cf746626b3b7cdf24f41680fdb8_3" -> "fun_redefine#Sub#(17129416942188381963).92112cf746626b3b7cdf24f41680fdb8_2" ; -"Sub#Sub#{12374099664347407997|constexpr}.af20bd2516d3e0bf3fb769d3f652862c_1" [label="1: Start Sub::Sub\nFormals: this:Sub*\nLocals: \n " color=yellow style=filled] +"Sub#Sub#{12374099664347407997}.3cc2c225c0ef23e7fc0c0d4f39dfd215_1" [label="1: Start Sub::Sub\nFormals: this:Sub*\nLocals: \n " color=yellow style=filled] - "Sub#Sub#{12374099664347407997|constexpr}.af20bd2516d3e0bf3fb769d3f652862c_1" -> "Sub#Sub#{12374099664347407997|constexpr}.af20bd2516d3e0bf3fb769d3f652862c_3" ; -"Sub#Sub#{12374099664347407997|constexpr}.af20bd2516d3e0bf3fb769d3f652862c_2" [label="2: Exit Sub::Sub \n " color=yellow style=filled] + "Sub#Sub#{12374099664347407997}.3cc2c225c0ef23e7fc0c0d4f39dfd215_1" -> "Sub#Sub#{12374099664347407997}.3cc2c225c0ef23e7fc0c0d4f39dfd215_3" ; +"Sub#Sub#{12374099664347407997}.3cc2c225c0ef23e7fc0c0d4f39dfd215_2" [label="2: Exit Sub::Sub \n " color=yellow style=filled] -"Sub#Sub#{12374099664347407997|constexpr}.af20bd2516d3e0bf3fb769d3f652862c_3" [label="3: Constructor Init \n n$1=*&this:Sub* [line 14, column 7]\n " shape="box"] +"Sub#Sub#{12374099664347407997}.3cc2c225c0ef23e7fc0c0d4f39dfd215_3" [label="3: Constructor Init \n n$1=*&this:Sub* [line 14, column 7]\n " shape="box"] - "Sub#Sub#{12374099664347407997|constexpr}.af20bd2516d3e0bf3fb769d3f652862c_3" -> "Sub#Sub#{12374099664347407997|constexpr}.af20bd2516d3e0bf3fb769d3f652862c_4" ; -"Sub#Sub#{12374099664347407997|constexpr}.af20bd2516d3e0bf3fb769d3f652862c_4" [label="4: Constructor Init \n n$2=_fun_Base::Base(n$1:Sub*) [line 14, column 7]\n " shape="box"] + "Sub#Sub#{12374099664347407997}.3cc2c225c0ef23e7fc0c0d4f39dfd215_3" -> "Sub#Sub#{12374099664347407997}.3cc2c225c0ef23e7fc0c0d4f39dfd215_4" ; +"Sub#Sub#{12374099664347407997}.3cc2c225c0ef23e7fc0c0d4f39dfd215_4" [label="4: Constructor Init \n n$2=_fun_Base::Base(n$1:Sub*) [line 14, column 7]\n " shape="box"] - "Sub#Sub#{12374099664347407997|constexpr}.af20bd2516d3e0bf3fb769d3f652862c_4" -> "Sub#Sub#{12374099664347407997|constexpr}.af20bd2516d3e0bf3fb769d3f652862c_2" ; + "Sub#Sub#{12374099664347407997}.3cc2c225c0ef23e7fc0c0d4f39dfd215_4" -> "Sub#Sub#{12374099664347407997}.3cc2c225c0ef23e7fc0c0d4f39dfd215_2" ; } diff --git a/infer/tests/codetoanalyze/cpp/shared/types/inheritance_casts.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/inheritance_casts.cpp.dot index dbcc1b2c5..9a29331b1 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/inheritance_casts.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/inheritance_casts.cpp.dot @@ -145,21 +145,21 @@ digraph cfg { "getB#inheritance_casts(class inheritance_casts::B)#7572693428029732371.903fb8dc56797768f6ca6ebdf511cdaf_7" -> "getB#inheritance_casts(class inheritance_casts::B)#7572693428029732371.903fb8dc56797768f6ca6ebdf511cdaf_6" ; -"A#A#inheritance_casts#{5177723221953429334|constexpr}.d879dee3f88663ca993709cf90addd1e_1" [label="1: Start inheritance_casts::A::A\nFormals: this:inheritance_casts::A* __param_0:inheritance_casts::A&\nLocals: \n " color=yellow style=filled] +"A#A#inheritance_casts#{5177723221953429334}.49b928799db3860588da51289e876f42_1" [label="1: Start inheritance_casts::A::A\nFormals: this:inheritance_casts::A* __param_0:inheritance_casts::A&\nLocals: \n " color=yellow style=filled] - "A#A#inheritance_casts#{5177723221953429334|constexpr}.d879dee3f88663ca993709cf90addd1e_1" -> "A#A#inheritance_casts#{5177723221953429334|constexpr}.d879dee3f88663ca993709cf90addd1e_3" ; -"A#A#inheritance_casts#{5177723221953429334|constexpr}.d879dee3f88663ca993709cf90addd1e_2" [label="2: Exit inheritance_casts::A::A \n " color=yellow style=filled] + "A#A#inheritance_casts#{5177723221953429334}.49b928799db3860588da51289e876f42_1" -> "A#A#inheritance_casts#{5177723221953429334}.49b928799db3860588da51289e876f42_3" ; +"A#A#inheritance_casts#{5177723221953429334}.49b928799db3860588da51289e876f42_2" [label="2: Exit inheritance_casts::A::A \n " color=yellow style=filled] -"A#A#inheritance_casts#{5177723221953429334|constexpr}.d879dee3f88663ca993709cf90addd1e_3" [label="3: Constructor Init \n n$1=*&this:inheritance_casts::A* [line 8, column 8]\n " shape="box"] +"A#A#inheritance_casts#{5177723221953429334}.49b928799db3860588da51289e876f42_3" [label="3: Constructor Init \n n$1=*&this:inheritance_casts::A* [line 8, column 8]\n " shape="box"] - "A#A#inheritance_casts#{5177723221953429334|constexpr}.d879dee3f88663ca993709cf90addd1e_3" -> "A#A#inheritance_casts#{5177723221953429334|constexpr}.d879dee3f88663ca993709cf90addd1e_4" ; -"A#A#inheritance_casts#{5177723221953429334|constexpr}.d879dee3f88663ca993709cf90addd1e_4" [label="4: Constructor Init \n n$2=*&__param_0:inheritance_casts::A& [line 8, column 8]\n n$3=*n$2.f:int [line 8, column 8]\n *n$1.f:int=n$3 [line 8, column 8]\n " shape="box"] + "A#A#inheritance_casts#{5177723221953429334}.49b928799db3860588da51289e876f42_3" -> "A#A#inheritance_casts#{5177723221953429334}.49b928799db3860588da51289e876f42_4" ; +"A#A#inheritance_casts#{5177723221953429334}.49b928799db3860588da51289e876f42_4" [label="4: Constructor Init \n n$2=*&__param_0:inheritance_casts::A& [line 8, column 8]\n n$3=*n$2.f:int [line 8, column 8]\n *n$1.f:int=n$3 [line 8, column 8]\n " shape="box"] - "A#A#inheritance_casts#{5177723221953429334|constexpr}.d879dee3f88663ca993709cf90addd1e_4" -> "A#A#inheritance_casts#{5177723221953429334|constexpr}.d879dee3f88663ca993709cf90addd1e_2" ; + "A#A#inheritance_casts#{5177723221953429334}.49b928799db3860588da51289e876f42_4" -> "A#A#inheritance_casts#{5177723221953429334}.49b928799db3860588da51289e876f42_2" ; "A#A#inheritance_casts#{7370816057993186369}.2a0cd11dc2c8bdbd1cce3b7e630e356b_1" [label="1: Start inheritance_casts::A::A\nFormals: this:inheritance_casts::A*\nLocals: \n " color=yellow style=filled] @@ -167,21 +167,21 @@ digraph cfg { "A#A#inheritance_casts#{7370816057993186369}.2a0cd11dc2c8bdbd1cce3b7e630e356b_2" [label="2: Exit inheritance_casts::A::A \n " color=yellow style=filled] -"B#B#inheritance_casts#{1524938702708619033|constexpr}.46aad82ac7f8954318e9ecbbb0f427e3_1" [label="1: Start inheritance_casts::B::B\nFormals: this:inheritance_casts::B* __param_0:inheritance_casts::B&\nLocals: \n " color=yellow style=filled] +"B#B#inheritance_casts#{1524938702708619033}.c5e2632fa2e80da07a969f289f194331_1" [label="1: Start inheritance_casts::B::B\nFormals: this:inheritance_casts::B* __param_0:inheritance_casts::B&\nLocals: \n " color=yellow style=filled] - "B#B#inheritance_casts#{1524938702708619033|constexpr}.46aad82ac7f8954318e9ecbbb0f427e3_1" -> "B#B#inheritance_casts#{1524938702708619033|constexpr}.46aad82ac7f8954318e9ecbbb0f427e3_3" ; -"B#B#inheritance_casts#{1524938702708619033|constexpr}.46aad82ac7f8954318e9ecbbb0f427e3_2" [label="2: Exit inheritance_casts::B::B \n " color=yellow style=filled] + "B#B#inheritance_casts#{1524938702708619033}.c5e2632fa2e80da07a969f289f194331_1" -> "B#B#inheritance_casts#{1524938702708619033}.c5e2632fa2e80da07a969f289f194331_3" ; +"B#B#inheritance_casts#{1524938702708619033}.c5e2632fa2e80da07a969f289f194331_2" [label="2: Exit inheritance_casts::B::B \n " color=yellow style=filled] -"B#B#inheritance_casts#{1524938702708619033|constexpr}.46aad82ac7f8954318e9ecbbb0f427e3_3" [label="3: Constructor Init \n n$1=*&this:inheritance_casts::B* [line 11, column 8]\n " shape="box"] +"B#B#inheritance_casts#{1524938702708619033}.c5e2632fa2e80da07a969f289f194331_3" [label="3: Constructor Init \n n$1=*&this:inheritance_casts::B* [line 11, column 8]\n " shape="box"] - "B#B#inheritance_casts#{1524938702708619033|constexpr}.46aad82ac7f8954318e9ecbbb0f427e3_3" -> "B#B#inheritance_casts#{1524938702708619033|constexpr}.46aad82ac7f8954318e9ecbbb0f427e3_4" ; -"B#B#inheritance_casts#{1524938702708619033|constexpr}.46aad82ac7f8954318e9ecbbb0f427e3_4" [label="4: Constructor Init \n n$2=*&__param_0:inheritance_casts::B& [line 11, column 8]\n n$3=_fun_inheritance_casts::A::A(n$1:inheritance_casts::B*,n$2:inheritance_casts::B&) [line 11, column 8]\n " shape="box"] + "B#B#inheritance_casts#{1524938702708619033}.c5e2632fa2e80da07a969f289f194331_3" -> "B#B#inheritance_casts#{1524938702708619033}.c5e2632fa2e80da07a969f289f194331_4" ; +"B#B#inheritance_casts#{1524938702708619033}.c5e2632fa2e80da07a969f289f194331_4" [label="4: Constructor Init \n n$2=*&__param_0:inheritance_casts::B& [line 11, column 8]\n n$3=_fun_inheritance_casts::A::A(n$1:inheritance_casts::B*,n$2:inheritance_casts::B&) [line 11, column 8]\n " shape="box"] - "B#B#inheritance_casts#{1524938702708619033|constexpr}.46aad82ac7f8954318e9ecbbb0f427e3_4" -> "B#B#inheritance_casts#{1524938702708619033|constexpr}.46aad82ac7f8954318e9ecbbb0f427e3_2" ; + "B#B#inheritance_casts#{1524938702708619033}.c5e2632fa2e80da07a969f289f194331_4" -> "B#B#inheritance_casts#{1524938702708619033}.c5e2632fa2e80da07a969f289f194331_2" ; "B#B#inheritance_casts#{9060408154611102004}.9c71feed9e0690adf90538a551cad576_1" [label="1: Start inheritance_casts::B::B\nFormals: this:inheritance_casts::B*\nLocals: \n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/shared/types/struct_pass_by_value.cpp.dot b/infer/tests/codetoanalyze/cpp/shared/types/struct_pass_by_value.cpp.dot index 485fa2792..3336b03dc 100644 --- a/infer/tests/codetoanalyze/cpp/shared/types/struct_pass_by_value.cpp.dot +++ b/infer/tests/codetoanalyze/cpp/shared/types/struct_pass_by_value.cpp.dot @@ -186,36 +186,36 @@ digraph cfg { "X#X#struct_pass_by_value#{10692205318349234485}.f4e0c763bea81c11f96aa74eb1797fca_4" -> "X#X#struct_pass_by_value#{10692205318349234485}.f4e0c763bea81c11f96aa74eb1797fca_2" ; -"X#X#struct_pass_by_value#{5791089659555636003|constexpr}.a9551f199f3383ace89817ab086723a4_1" [label="1: Start struct_pass_by_value::X::X\nFormals: this:struct_pass_by_value::X* __param_0:struct_pass_by_value::X const &\nLocals: \n " color=yellow style=filled] +"X#X#struct_pass_by_value#{5791089659555636003}.f2aa48824a1b44e618077c9a9f060146_1" [label="1: Start struct_pass_by_value::X::X\nFormals: this:struct_pass_by_value::X* __param_0:struct_pass_by_value::X const &\nLocals: \n " color=yellow style=filled] - "X#X#struct_pass_by_value#{5791089659555636003|constexpr}.a9551f199f3383ace89817ab086723a4_1" -> "X#X#struct_pass_by_value#{5791089659555636003|constexpr}.a9551f199f3383ace89817ab086723a4_3" ; -"X#X#struct_pass_by_value#{5791089659555636003|constexpr}.a9551f199f3383ace89817ab086723a4_2" [label="2: Exit struct_pass_by_value::X::X \n " color=yellow style=filled] + "X#X#struct_pass_by_value#{5791089659555636003}.f2aa48824a1b44e618077c9a9f060146_1" -> "X#X#struct_pass_by_value#{5791089659555636003}.f2aa48824a1b44e618077c9a9f060146_3" ; +"X#X#struct_pass_by_value#{5791089659555636003}.f2aa48824a1b44e618077c9a9f060146_2" [label="2: Exit struct_pass_by_value::X::X \n " color=yellow style=filled] -"X#X#struct_pass_by_value#{5791089659555636003|constexpr}.a9551f199f3383ace89817ab086723a4_3" [label="3: Constructor Init \n n$1=*&this:struct_pass_by_value::X* [line 10, column 8]\n " shape="box"] +"X#X#struct_pass_by_value#{5791089659555636003}.f2aa48824a1b44e618077c9a9f060146_3" [label="3: Constructor Init \n n$1=*&this:struct_pass_by_value::X* [line 10, column 8]\n " shape="box"] - "X#X#struct_pass_by_value#{5791089659555636003|constexpr}.a9551f199f3383ace89817ab086723a4_3" -> "X#X#struct_pass_by_value#{5791089659555636003|constexpr}.a9551f199f3383ace89817ab086723a4_4" ; -"X#X#struct_pass_by_value#{5791089659555636003|constexpr}.a9551f199f3383ace89817ab086723a4_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_pass_by_value::X const & [line 10, column 8]\n n$3=*n$2.f:int [line 10, column 8]\n *n$1.f:int=n$3 [line 10, column 8]\n " shape="box"] + "X#X#struct_pass_by_value#{5791089659555636003}.f2aa48824a1b44e618077c9a9f060146_3" -> "X#X#struct_pass_by_value#{5791089659555636003}.f2aa48824a1b44e618077c9a9f060146_4" ; +"X#X#struct_pass_by_value#{5791089659555636003}.f2aa48824a1b44e618077c9a9f060146_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_pass_by_value::X const & [line 10, column 8]\n n$3=*n$2.f:int [line 10, column 8]\n *n$1.f:int=n$3 [line 10, column 8]\n " shape="box"] - "X#X#struct_pass_by_value#{5791089659555636003|constexpr}.a9551f199f3383ace89817ab086723a4_4" -> "X#X#struct_pass_by_value#{5791089659555636003|constexpr}.a9551f199f3383ace89817ab086723a4_2" ; -"X#X#struct_pass_by_value#{9877988472483132493|constexpr}.d7be6bdda4cd13032aaeffd34cab9cfa_1" [label="1: Start struct_pass_by_value::X::X\nFormals: this:struct_pass_by_value::X* __param_0:struct_pass_by_value::X&\nLocals: \n " color=yellow style=filled] + "X#X#struct_pass_by_value#{5791089659555636003}.f2aa48824a1b44e618077c9a9f060146_4" -> "X#X#struct_pass_by_value#{5791089659555636003}.f2aa48824a1b44e618077c9a9f060146_2" ; +"X#X#struct_pass_by_value#{9877988472483132493}.71d315dfbaacd91d87639a69d532c411_1" [label="1: Start struct_pass_by_value::X::X\nFormals: this:struct_pass_by_value::X* __param_0:struct_pass_by_value::X&\nLocals: \n " color=yellow style=filled] - "X#X#struct_pass_by_value#{9877988472483132493|constexpr}.d7be6bdda4cd13032aaeffd34cab9cfa_1" -> "X#X#struct_pass_by_value#{9877988472483132493|constexpr}.d7be6bdda4cd13032aaeffd34cab9cfa_3" ; -"X#X#struct_pass_by_value#{9877988472483132493|constexpr}.d7be6bdda4cd13032aaeffd34cab9cfa_2" [label="2: Exit struct_pass_by_value::X::X \n " color=yellow style=filled] + "X#X#struct_pass_by_value#{9877988472483132493}.71d315dfbaacd91d87639a69d532c411_1" -> "X#X#struct_pass_by_value#{9877988472483132493}.71d315dfbaacd91d87639a69d532c411_3" ; +"X#X#struct_pass_by_value#{9877988472483132493}.71d315dfbaacd91d87639a69d532c411_2" [label="2: Exit struct_pass_by_value::X::X \n " color=yellow style=filled] -"X#X#struct_pass_by_value#{9877988472483132493|constexpr}.d7be6bdda4cd13032aaeffd34cab9cfa_3" [label="3: Constructor Init \n n$1=*&this:struct_pass_by_value::X* [line 10, column 8]\n " shape="box"] +"X#X#struct_pass_by_value#{9877988472483132493}.71d315dfbaacd91d87639a69d532c411_3" [label="3: Constructor Init \n n$1=*&this:struct_pass_by_value::X* [line 10, column 8]\n " shape="box"] - "X#X#struct_pass_by_value#{9877988472483132493|constexpr}.d7be6bdda4cd13032aaeffd34cab9cfa_3" -> "X#X#struct_pass_by_value#{9877988472483132493|constexpr}.d7be6bdda4cd13032aaeffd34cab9cfa_4" ; -"X#X#struct_pass_by_value#{9877988472483132493|constexpr}.d7be6bdda4cd13032aaeffd34cab9cfa_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_pass_by_value::X& [line 10, column 8]\n n$3=*n$2.f:int [line 10, column 8]\n *n$1.f:int=n$3 [line 10, column 8]\n " shape="box"] + "X#X#struct_pass_by_value#{9877988472483132493}.71d315dfbaacd91d87639a69d532c411_3" -> "X#X#struct_pass_by_value#{9877988472483132493}.71d315dfbaacd91d87639a69d532c411_4" ; +"X#X#struct_pass_by_value#{9877988472483132493}.71d315dfbaacd91d87639a69d532c411_4" [label="4: Constructor Init \n n$2=*&__param_0:struct_pass_by_value::X& [line 10, column 8]\n n$3=*n$2.f:int [line 10, column 8]\n *n$1.f:int=n$3 [line 10, column 8]\n " shape="box"] - "X#X#struct_pass_by_value#{9877988472483132493|constexpr}.d7be6bdda4cd13032aaeffd34cab9cfa_4" -> "X#X#struct_pass_by_value#{9877988472483132493|constexpr}.d7be6bdda4cd13032aaeffd34cab9cfa_2" ; + "X#X#struct_pass_by_value#{9877988472483132493}.71d315dfbaacd91d87639a69d532c411_4" -> "X#X#struct_pass_by_value#{9877988472483132493}.71d315dfbaacd91d87639a69d532c411_2" ; "Y#Y#struct_pass_by_value#{6277034357330223368}.2f8fb67b7b76eaffc31110d1cedb2cc9_1" [label="1: Start struct_pass_by_value::Y::Y\nFormals: this:struct_pass_by_value::Y* x:struct_pass_by_value::X const &\nLocals: \n " color=yellow style=filled] diff --git a/infer/tests/codetoanalyze/cpp/siof/siof/siof.cpp b/infer/tests/codetoanalyze/cpp/siof/siof/siof.cpp index e8e8782c6..b586c48e4 100644 --- a/infer/tests/codetoanalyze/cpp/siof/siof/siof.cpp +++ b/infer/tests/codetoanalyze/cpp/siof/siof/siof.cpp @@ -48,8 +48,11 @@ SomeNonPODObject initWithGlobalWhitelistedNamespaced_good = SomeNonPODObject initWithGlobalWhitelistedTemplated_good = whitelisted::TemplatedObject::getGlobalNonPOD(); +// not declared constexpr but actually constexpr extern SomeConstexprObject& getGlobalConstexpr(); SomeConstexprObject initWithConstexpr_good = getGlobalConstexpr(); +SomeConstexprObject initArrayWithConstexprs_good[] = { + getGlobalConstexpr(), getGlobalConstexpr(), getGlobalConstexpr()}; extern SomeTemplatedConstexprObject& getGlobalTemplatedConstexpr(); SomeTemplatedConstexprObject initWithTemplatedConstexpr_good = diff --git a/infer/tests/codetoanalyze/objcpp/frontend/global_const/global_const.mm.dot b/infer/tests/codetoanalyze/objcpp/frontend/global_const/global_const.mm.dot index 0c7e58697..cb74e816a 100644 --- a/infer/tests/codetoanalyze/objcpp/frontend/global_const/global_const.mm.dot +++ b/infer/tests/codetoanalyze/objcpp/frontend/global_const/global_const.mm.dot @@ -30,35 +30,35 @@ digraph cfg { "fields(class Fields)#3037629886785813687.ade89225d198ce505301d5cdffda48f1_5" -> "fields(class Fields)#3037629886785813687.ade89225d198ce505301d5cdffda48f1_2" ; -"#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_1" [label="1: Start Fields::\nFormals: this:Fields* __param_0:Fields const &\nLocals: \n " color=yellow style=filled] +"#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_1" [label="1: Start Fields::\nFormals: this:Fields* __param_0:Fields const &\nLocals: \n " color=yellow style=filled] - "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_1" -> "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_7" ; -"#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_2" [label="2: Exit Fields:: \n " color=yellow style=filled] + "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_1" -> "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_7" ; +"#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_2" [label="2: Exit Fields:: \n " color=yellow style=filled] -"#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_3" [label="3: Constructor Init \n n$1=*&this:Fields* [line 8, column 9]\n " shape="box"] +"#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_3" [label="3: Constructor Init \n n$1=*&this:Fields* [line 8, column 9]\n " shape="box"] - "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_3" -> "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_4" ; -"#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_4" [label="4: Constructor Init \n n$2=*&__param_0:Fields const & [line 8, column 9]\n n$3=*n$2.field3:float [line 8, column 9]\n *n$1.field3:float=n$3 [line 8, column 9]\n " shape="box"] + "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_3" -> "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_4" ; +"#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_4" [label="4: Constructor Init \n n$2=*&__param_0:Fields const & [line 8, column 9]\n n$3=*n$2.field3:float [line 8, column 9]\n *n$1.field3:float=n$3 [line 8, column 9]\n " shape="box"] - "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_4" -> "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_2" ; -"#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_5" [label="5: Constructor Init \n n$4=*&this:Fields* [line 8, column 9]\n " shape="box"] + "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_4" -> "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_2" ; +"#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_5" [label="5: Constructor Init \n n$4=*&this:Fields* [line 8, column 9]\n " shape="box"] - "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_5" -> "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_6" ; -"#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_6" [label="6: Constructor Init \n n$5=*&__param_0:Fields const & [line 8, column 9]\n n$6=*n$5.field2:float [line 8, column 9]\n *n$4.field2:float=n$6 [line 8, column 9]\n " shape="box"] + "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_5" -> "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_6" ; +"#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_6" [label="6: Constructor Init \n n$5=*&__param_0:Fields const & [line 8, column 9]\n n$6=*n$5.field2:float [line 8, column 9]\n *n$4.field2:float=n$6 [line 8, column 9]\n " shape="box"] - "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_6" -> "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_3" ; -"#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_7" [label="7: Constructor Init \n n$7=*&this:Fields* [line 8, column 9]\n " shape="box"] + "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_6" -> "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_3" ; +"#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_7" [label="7: Constructor Init \n n$7=*&this:Fields* [line 8, column 9]\n " shape="box"] - "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_7" -> "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_8" ; -"#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_8" [label="8: Constructor Init \n n$8=*&__param_0:Fields const & [line 8, column 9]\n n$9=*n$8.field1:float [line 8, column 9]\n *n$7.field1:float=n$9 [line 8, column 9]\n " shape="box"] + "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_7" -> "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_8" ; +"#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_8" [label="8: Constructor Init \n n$8=*&__param_0:Fields const & [line 8, column 9]\n n$9=*n$8.field1:float [line 8, column 9]\n *n$7.field1:float=n$9 [line 8, column 9]\n " shape="box"] - "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_8" -> "#Fields#{16890255804685749094|constexpr}.e087573051591237fe6712897d502cf0_5" ; + "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_8" -> "#Fields#{16890255804685749094}.692e9ce251bc67b6be7e3b0915242b14_5" ; }