-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fixed #13129 - apply --std
with --clang
/ fixed usage of Standards::stdValue
#6742
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
"fun" fact: I found part of this in a 2.5 year old local changelist... |
b9240dc
to
2b1e751
Compare
4149fc7
to
e8590cd
Compare
Standards::stdValue
--std
with --clang
/ fixed usage of Standards::stdValue
CC @ludviggunne please also take a look at what you made me do 😉 |
Sorry! |
I was asking for a review not pleasantries. 😁 |
Looks good to me. |
Thanks! |
|
||
bool setC(std::string str) { | ||
stdValue = str; |
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.
I just wonder if setC
and setCPP
are needed.
If only setStd is called from outside we could implement all the logic in that directly or make setC and setCPP private? I feel maybe the code would be a bit simpler but on the other hand testability is important too.
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.
That should be detected by the CI then. Maybe there is a conflict. Will take a look later. And more changes are coming and will integrate that cleanup if possible.
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.
I see nothing wrong here.. so feel free to merge. I don't have a strong opinion about setC/setCPP, feel free to make that decision.
No description provided.