-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3de468b
commit 79a19b3
Showing
6 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "cxx2flow" | ||
version = "0.5.9" | ||
version = "0.5.10" | ||
edition = "2018" | ||
authors = ["mgt <[email protected]>"] | ||
description = "Convert your C/C++ code to control flow chart" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
void basic() { | ||
for (auto i : vec) { | ||
i = i + 1; | ||
} | ||
} | ||
|
||
void auto_ref() { | ||
for (auto & i : map) { | ||
a; | ||
} | ||
} | ||
|
||
void const_auto_rvref() { | ||
for (const auto &&i : vec) { | ||
i - 1; | ||
} | ||
} | ||
|
||
void auto_destruct() { | ||
for (auto [x, y] : vec) { | ||
x + y; | ||
} | ||
} | ||
|
||
void int_init() { | ||
for (int i : vec) { | ||
i; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters