Skip to content

cleaned and fixed up TokenList/Macro copy/move constructor/assignment#167

Merged
danmar merged 1 commit intocppcheck-opensource:masterfrom
firewave:ctor-assign
Feb 13, 2022
Merged

cleaned and fixed up TokenList/Macro copy/move constructor/assignment#167
danmar merged 1 commit intocppcheck-opensource:masterfrom
firewave:ctor-assign

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

@firewave firewave commented May 4, 2019

No description provided.

Comment thread simplecpp.cpp Outdated

simplecpp::TokenList::TokenList(std::istream &istr, std::vector<std::string> &filenames, const std::string &filename, OutputList *outputList)
: frontToken(NULL), backToken(NULL), files(filenames)
: TokenList(filenames)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delegated constructors is a C++11 feature.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@firewave Do you plan to update this PR?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure... when I am done with the anniversary cake 🎂

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amai2012 finally...

@firewave firewave marked this pull request as draft January 27, 2022 19:30
@firewave firewave marked this pull request as ready for review February 12, 2022 21:44
Comment thread simplecpp.cpp Outdated
other.backToken = nullptr;
frontToken = other.frontToken;
other.frontToken = nullptr;
frontToken = other.frontToken;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tabs

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Somehow my IDE suddenly doesn't do "smart tabs" anymore.

@danmar danmar merged commit 77c778a into cppcheck-opensource:master Feb 13, 2022
@firewave firewave deleted the ctor-assign branch February 13, 2022 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants