-
Notifications
You must be signed in to change notification settings - Fork 285
Changes to util needed to merge VSD #5205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,6 +60,16 @@ void symbol_table_baset::show(std::ostream &out) const | |
| out << symbols.at(name); | ||
| } | ||
|
|
||
| symbol_table_baset::const_iteratort symbol_table_baset::end() const | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I’m not sure this change is even necessary; Develop
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It has a non-const version - this adds a const version |
||
| { | ||
| return symbols.end(); | ||
| } | ||
|
|
||
| symbol_table_baset::const_iteratort symbol_table_baset::begin() const | ||
| { | ||
| return symbols.begin(); | ||
| } | ||
|
|
||
| /// Print the contents of the symbol table. | ||
| /// \param out: The ostream to direct output to | ||
| /// \param symbol_table: The symbol table to print out | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ SCENARIO("irept_memory", "[core][utils][irept]") | |
| const std::size_t ref_count_size = 0; | ||
| #endif | ||
|
|
||
| #ifndef USE_STRING | ||
| #ifndef USE_STD_STRING | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make commit message title more precise. |
||
| const std::size_t data_size = sizeof(dstringt); | ||
| REQUIRE(sizeof(dstringt) == sizeof(unsigned)); | ||
| #else | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit message doesn't match content