From 78120bc9e2f24957b83189af09dae91726f5e35f Mon Sep 17 00:00:00 2001 From: Mehdi Bouaziz Date: Wed, 6 Dec 2017 03:50:10 -0800 Subject: [PATCH] Fix tests Reviewed By: da319, dulmarod Differential Revision: D6496321 fbshipit-source-id: c56d9a0 --- .../clang_translation/src/main.cpp.dot | 20 +++++++++---------- .../src/main_default_root.cpp.dot | 20 +++++++++---------- .../src/main_default_symlink.cpp.dot | 20 +++++++++---------- .../src/main_symlink.cpp.dot | 20 +++++++++---------- 4 files changed, 40 insertions(+), 40 deletions(-) diff --git a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main.cpp.dot b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main.cpp.dot index 2ea1994f1..028e35031 100644 --- a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main.cpp.dot +++ b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main.cpp.dot @@ -192,55 +192,55 @@ digraph iCFG { "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 100, column 3]\n " color=yellow style=filled] +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 98, column 3]\n " color=yellow style=filled] "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" ; "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" [label="2: Exit std::shared_ptr_shared_ptr \n " color=yellow style=filled] -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 101, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 101, column 5]\n " shape="box"] +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 99, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 99, column 5]\n " shape="box"] "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 101, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 100, column 13]\n n$2=*n$1:int* [line 100, column 13]\n " shape="box"] +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 99, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 98, column 13]\n n$2=*n$1:int* [line 98, column 13]\n " shape="box"] "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 182, column 3]\n " color=yellow style=filled] +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" ; "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" [label="2: Exit std::shared_ptr___infer_inner_destructor_~shared_ptr \n " color=yellow style=filled] -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 182, column 39]\n _=*n$0:int* [line 182, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 182, column 39]\n " shape="box"] +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 182, column 19]\n _=*n$2:int* [line 182, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 182, column 19]\n " shape="box"] +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 180, column 19]\n _=*n$2:int* [line 180, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 180, column 19]\n " shape="box"] "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" ; -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 182, column 3]\n " color=yellow style=filled] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" ; "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" [label="2: Exit std::shared_ptr_~shared_ptr \n " color=yellow style=filled] -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 182, column 39]\n _=*n$0:int* [line 182, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 182, column 39]\n " shape="box"] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" ; -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 234, column 3]\n " color=yellow style=filled] +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 232, column 3]\n " color=yellow style=filled] "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" ; "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" [label="2: Exit std::shared_ptr_reset \n " color=yellow style=filled] -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 240, column 15]\n n$1=*&p:int* [line 240, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 240, column 5]\n " shape="box"] +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 238, column 15]\n n$1=*&p:int* [line 238, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 238, column 5]\n " shape="box"] "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" ; diff --git a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_root.cpp.dot b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_root.cpp.dot index 2ea1994f1..028e35031 100644 --- a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_root.cpp.dot +++ b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_root.cpp.dot @@ -192,55 +192,55 @@ digraph iCFG { "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 100, column 3]\n " color=yellow style=filled] +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 98, column 3]\n " color=yellow style=filled] "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" ; "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" [label="2: Exit std::shared_ptr_shared_ptr \n " color=yellow style=filled] -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 101, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 101, column 5]\n " shape="box"] +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 99, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 99, column 5]\n " shape="box"] "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 101, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 100, column 13]\n n$2=*n$1:int* [line 100, column 13]\n " shape="box"] +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 99, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 98, column 13]\n n$2=*n$1:int* [line 98, column 13]\n " shape="box"] "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 182, column 3]\n " color=yellow style=filled] +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" ; "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" [label="2: Exit std::shared_ptr___infer_inner_destructor_~shared_ptr \n " color=yellow style=filled] -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 182, column 39]\n _=*n$0:int* [line 182, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 182, column 39]\n " shape="box"] +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 182, column 19]\n _=*n$2:int* [line 182, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 182, column 19]\n " shape="box"] +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 180, column 19]\n _=*n$2:int* [line 180, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 180, column 19]\n " shape="box"] "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" ; -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 182, column 3]\n " color=yellow style=filled] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" ; "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" [label="2: Exit std::shared_ptr_~shared_ptr \n " color=yellow style=filled] -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 182, column 39]\n _=*n$0:int* [line 182, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 182, column 39]\n " shape="box"] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" ; -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 234, column 3]\n " color=yellow style=filled] +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 232, column 3]\n " color=yellow style=filled] "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" ; "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" [label="2: Exit std::shared_ptr_reset \n " color=yellow style=filled] -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 240, column 15]\n n$1=*&p:int* [line 240, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 240, column 5]\n " shape="box"] +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 238, column 15]\n n$1=*&p:int* [line 238, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 238, column 5]\n " shape="box"] "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" ; diff --git a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_symlink.cpp.dot b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_symlink.cpp.dot index 2ea1994f1..028e35031 100644 --- a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_symlink.cpp.dot +++ b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_default_symlink.cpp.dot @@ -192,55 +192,55 @@ digraph iCFG { "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 100, column 3]\n " color=yellow style=filled] +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 98, column 3]\n " color=yellow style=filled] "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" ; "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" [label="2: Exit std::shared_ptr_shared_ptr \n " color=yellow style=filled] -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 101, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 101, column 5]\n " shape="box"] +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 99, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 99, column 5]\n " shape="box"] "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 101, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 100, column 13]\n n$2=*n$1:int* [line 100, column 13]\n " shape="box"] +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 99, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 98, column 13]\n n$2=*n$1:int* [line 98, column 13]\n " shape="box"] "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 182, column 3]\n " color=yellow style=filled] +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" ; "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" [label="2: Exit std::shared_ptr___infer_inner_destructor_~shared_ptr \n " color=yellow style=filled] -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 182, column 39]\n _=*n$0:int* [line 182, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 182, column 39]\n " shape="box"] +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 182, column 19]\n _=*n$2:int* [line 182, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 182, column 19]\n " shape="box"] +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 180, column 19]\n _=*n$2:int* [line 180, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 180, column 19]\n " shape="box"] "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" ; -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 182, column 3]\n " color=yellow style=filled] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" ; "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" [label="2: Exit std::shared_ptr_~shared_ptr \n " color=yellow style=filled] -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 182, column 39]\n _=*n$0:int* [line 182, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 182, column 39]\n " shape="box"] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" ; -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 234, column 3]\n " color=yellow style=filled] +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 232, column 3]\n " color=yellow style=filled] "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" ; "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" [label="2: Exit std::shared_ptr_reset \n " color=yellow style=filled] -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 240, column 15]\n n$1=*&p:int* [line 240, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 240, column 5]\n " shape="box"] +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 238, column 15]\n n$1=*&p:int* [line 238, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 238, column 5]\n " shape="box"] "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" ; diff --git a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_symlink.cpp.dot b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_symlink.cpp.dot index 2ea1994f1..028e35031 100644 --- a/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_symlink.cpp.dot +++ b/infer/tests/build_systems/codetoanalyze/clang_translation/src/main_symlink.cpp.dot @@ -192,55 +192,55 @@ digraph iCFG { "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_3" -> "model_set#shared_ptr#std#(4823396094259928824).b93622435d16d4672bfaf2944380f1be_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 100, column 3]\n " color=yellow style=filled] +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" [label="1: Start std::shared_ptr_shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 98, column 3]\n " color=yellow style=filled] "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_1" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" ; "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" [label="2: Exit std::shared_ptr_shared_ptr \n " color=yellow style=filled] -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 101, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 101, column 5]\n " shape="box"] +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 99, column 15]\n _fun_std::shared_ptr_model_set(n$0:void const **,null:int) [line 99, column 5]\n " shape="box"] "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_2" ; -"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 101, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 100, column 13]\n n$2=*n$1:int* [line 100, column 13]\n " shape="box"] +"shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" [label="4: Constructor Init \n n$1=*&this:int** [line 99, column 42]\n _fun_std::std__shared_ptr_std__shared_ptr(n$1:int**) [line 98, column 13]\n n$2=*n$1:int* [line 98, column 13]\n " shape="box"] "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_4" -> "shared_ptr#shared_ptr#std#{8741815665871862164|constexpr}.f88ab7f65e0cffeda975c68f431824d1_3" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 182, column 3]\n " color=yellow style=filled] +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" [label="1: Start std::shared_ptr___infer_inner_destructor_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_1" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" ; "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" [label="2: Exit std::shared_ptr___infer_inner_destructor_~shared_ptr \n " color=yellow style=filled] -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 182, column 39]\n _=*n$0:int* [line 182, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 182, column 39]\n " shape="box"] +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::std__shared_ptr___infer_inner_destructor_~std__shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_2" ; -"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 182, column 19]\n _=*n$2:int* [line 182, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 182, column 19]\n " shape="box"] +"__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" [label="4: Call _fun_std::shared_ptr_reset \n n$2=*&this:int** [line 180, column 19]\n _=*n$2:int* [line 180, column 19]\n _fun_std::shared_ptr_reset(n$2:int**,null:int*) [line 180, column 19]\n " shape="box"] "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_4" -> "__infer_inner_destructor_~shared_ptr#shared_ptr#std#(11841665744792554656).9277443e4e3f26d7cc1cd9ee0f2e3637_3" ; -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 182, column 3]\n " color=yellow style=filled] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" [label="1: Start std::shared_ptr_~shared_ptr\nFormals: this:int**\nLocals: \n DECLARE_LOCALS(&return); [line 180, column 3]\n " color=yellow style=filled] "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_1" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" ; "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" [label="2: Exit std::shared_ptr_~shared_ptr \n " color=yellow style=filled] -"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 182, column 39]\n _=*n$0:int* [line 182, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 182, column 39]\n " shape="box"] +"~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" [label="3: Destruction \n n$0=*&this:int** [line 180, column 39]\n _=*n$0:int* [line 180, column 39]\n _fun_std::shared_ptr___infer_inner_destructor_~shared_ptr(n$0:int**) [line 180, column 39]\n " shape="box"] "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_3" -> "~shared_ptr#shared_ptr#std#(11841665744792554656).57eab4801b4a7454644bdf188ec5633a_2" ; -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 234, column 3]\n " color=yellow style=filled] +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" [label="1: Start std::shared_ptr_reset\nFormals: this:int** p:int*\nLocals: \n DECLARE_LOCALS(&return); [line 232, column 3]\n " color=yellow style=filled] "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_1" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" ; "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" [label="2: Exit std::shared_ptr_reset \n " color=yellow style=filled] -"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 240, column 15]\n n$1=*&p:int* [line 240, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 240, column 5]\n " shape="box"] +"reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" [label="3: Call _fun_std::shared_ptr_model_set \n n$0=*&this:int** [line 238, column 15]\n n$1=*&p:int* [line 238, column 42]\n _fun_std::shared_ptr_model_set(n$0:void const **,n$1:void*) [line 238, column 5]\n " shape="box"] "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_3" -> "reset#shared_ptr#std#(5124141554651620350).9719d311878ee7b168751a9cb4fd4371_2" ;