-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fix a number of clang-tidy detected defects #22416
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
base: master
Are you sure you want to change the base?
Changes from all commits
e3500df
0b98a8f
e545ba8
6b402ca
cedaea4
6abc741
ffb178c
a7d6408
838273e
b919ead
9122b4e
fc654ab
bf42867
9d97c8e
f8b95cb
5358831
3b12904
3e68499
805465b
44a761c
2d9a47a
6f54a11
e0bf5d5
dddfd6f
708b6af
4a8fd72
89ba1d4
d089da8
90369e4
17e3aaf
97318e7
c2e0f6f
24c8940
b3530e6
fd00f3a
e299cd1
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 |
|---|---|---|
|
|
@@ -236,14 +236,6 @@ namespace TClassEdit { | |
| { | ||
| return 0 == name.compare(0, 17, "std::__pair_base<") || 0 == name.compare(0, 12, "__pair_base<"); | ||
| } | ||
| inline std::string GetUniquePtrType(std::string_view name) | ||
|
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.
Contributor
Author
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. Note that the function as is returns a temporary, so it may crash if actually used. No one complained so far. I can still deprecate it but I'd have a preference for removing. Let me know if you'd prefer a slower removal. |
||
| { | ||
| // Find the first template parameter | ||
| std::vector<std::string> v; | ||
| int i; | ||
| GetSplit(name.data(), v, i); | ||
| return v[1]; | ||
| } | ||
| std::string GetNameForIO(const std::string& templateInstanceName, | ||
| TClassEdit::EModType mode = TClassEdit::kNone, | ||
| bool* hasChanged = nullptr); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.