Feature/corechanges logging#283
Conversation
fc16939 to
c90c79f
Compare
c90c79f to
a86203c
Compare
…tring_view not a const string&
Cpp-Linter Report
|
There was a problem hiding this comment.
Cpp-linter Review
Used clang-tidy v19.1.7
Click here for the full clang-tidy patch
diff --git a/medvis/dicom/src/io/gdcmvolumereader.cpp b/medvis/dicom/src/io/gdcmvolumereader.cpp
index 6610583..335fcb9 100644
--- a/medvis/dicom/src/io/gdcmvolumereader.cpp
+++ b/medvis/dicom/src/io/gdcmvolumereader.cpp
@@ -660 +660 @@ std::shared_ptr<Volume> GdcmVolumeReader::generateVolume(const gdcm::Image& imag
- // TODO: check this heuristic!!!
+ // TODO(runner): check this heuristic!!!
Have any feedback or feature suggestions? Share it here.
|
|
||
| // TODO: check this heuristics!!! | ||
| if (modality == "CT") { | ||
| // TODO: check this heuristic!!! |
There was a problem hiding this comment.
clang-tidy diagnostics
- missing username/bug in TODO [google-readability-todo]
| // TODO: check this heuristic!!! | |
| // TODO(runner): check this heuristic!!! |
| net->forEachProcessor([&](Processor* p) { | ||
| if (auto* n = agnode(G, const_cast<char*>(p->getIdentifier().c_str()), 0)) { | ||
| const std::string identifier{p->getIdentifier()}; | ||
| if (auto* n = agnode(G, const_cast<char*>(identifier.c_str()), 0)) { |
There was a problem hiding this comment.
clang-tidy diagnostic
misc/graphviz/src/graphvizsettings.cpp:162:37: warning: [cppcoreguidelines-pro-type-const-cast]
do not use const_cast to remove const qualifier
162 | if (auto* n = agnode(G, const_cast<char*>(identifier.c_str()), 0)) {
| ^| net->forEachProcessor([&](Processor* p) { | ||
| if (auto* n = agnode(G, const_cast<char*>(p->getIdentifier().c_str()), 0)) { | ||
| const std::string identifier{p->getIdentifier()}; | ||
| if (auto* n = agnode(G, const_cast<char*>(identifier.c_str()), 0)) { |
There was a problem hiding this comment.
clang-tidy diagnostic
misc/graphviz/src/graphvizsettings.cpp:178:33: warning: [cppcoreguidelines-pro-type-const-cast]
do not use const_cast to remove const qualifier
178 | if (auto* n = agnode(G, const_cast<char*>(identifier.c_str()), 0)) {
| ^8290430 to
3101e2a
Compare
There was a problem hiding this comment.
Cpp-linter Review
Used clang-tidy v19.1.7
Click here for the full clang-tidy patch
diff --git a/medvis/dicom/src/io/gdcmvolumereader.cpp b/medvis/dicom/src/io/gdcmvolumereader.cpp
index 6610583..335fcb9 100644
--- a/medvis/dicom/src/io/gdcmvolumereader.cpp
+++ b/medvis/dicom/src/io/gdcmvolumereader.cpp
@@ -660 +660 @@ std::shared_ptr<Volume> GdcmVolumeReader::generateVolume(const gdcm::Image& imag
- // TODO: check this heuristic!!!
+ // TODO(runner): check this heuristic!!!
Have any feedback or feature suggestions? Share it here.
|
|
||
| // TODO: check this heuristics!!! | ||
| if (modality == "CT") { | ||
| // TODO: check this heuristic!!! |
There was a problem hiding this comment.
clang-tidy diagnostics
- missing username/bug in TODO [google-readability-todo]
| // TODO: check this heuristic!!! | |
| // TODO(runner): check this heuristic!!! |
| net->forEachProcessor([&](Processor* p) { | ||
| if (auto* n = agnode(G, const_cast<char*>(p->getIdentifier().c_str()), 0)) { | ||
| const std::string identifier{p->getIdentifier()}; | ||
| if (auto* n = agnode(G, const_cast<char*>(identifier.c_str()), 0)) { |
There was a problem hiding this comment.
clang-tidy diagnostic
misc/graphviz/src/graphvizsettings.cpp:162:37: warning: [cppcoreguidelines-pro-type-const-cast]
do not use const_cast to remove const qualifier
162 | if (auto* n = agnode(G, const_cast<char*>(identifier.c_str()), 0)) {
| ^| net->forEachProcessor([&](Processor* p) { | ||
| if (auto* n = agnode(G, const_cast<char*>(p->getIdentifier().c_str()), 0)) { | ||
| const std::string identifier{p->getIdentifier()}; | ||
| if (auto* n = agnode(G, const_cast<char*>(identifier.c_str()), 0)) { |
There was a problem hiding this comment.
clang-tidy diagnostic
misc/graphviz/src/graphvizsettings.cpp:178:33: warning: [cppcoreguidelines-pro-type-const-cast]
do not use const_cast to remove const qualifier
178 | if (auto* n = agnode(G, const_cast<char*>(identifier.c_str()), 0)) {
| ^There was a problem hiding this comment.
Cpp-linter Review
Used clang-tidy v19.1.7
Click here for the full clang-tidy patch
diff --git a/medvis/dicom/src/io/gdcmvolumereader.cpp b/medvis/dicom/src/io/gdcmvolumereader.cpp
index 6610583..335fcb9 100644
--- a/medvis/dicom/src/io/gdcmvolumereader.cpp
+++ b/medvis/dicom/src/io/gdcmvolumereader.cpp
@@ -660 +660 @@ std::shared_ptr<Volume> GdcmVolumeReader::generateVolume(const gdcm::Image& imag
- // TODO: check this heuristic!!!
+ // TODO(runner): check this heuristic!!!
Have any feedback or feature suggestions? Share it here.
|
|
||
| // TODO: check this heuristics!!! | ||
| if (modality == "CT") { | ||
| // TODO: check this heuristic!!! |
There was a problem hiding this comment.
clang-tidy diagnostics
- missing username/bug in TODO [google-readability-todo]
| // TODO: check this heuristic!!! | |
| // TODO(runner): check this heuristic!!! |
| net->forEachProcessor([&](Processor* p) { | ||
| if (auto* n = agnode(G, const_cast<char*>(p->getIdentifier().c_str()), 0)) { | ||
| const std::string identifier{p->getIdentifier()}; | ||
| if (auto* n = agnode(G, const_cast<char*>(identifier.c_str()), 0)) { |
There was a problem hiding this comment.
clang-tidy diagnostic
misc/graphviz/src/graphvizsettings.cpp:162:37: warning: [cppcoreguidelines-pro-type-const-cast]
do not use const_cast to remove const qualifier
162 | if (auto* n = agnode(G, const_cast<char*>(identifier.c_str()), 0)) {
| ^| net->forEachProcessor([&](Processor* p) { | ||
| if (auto* n = agnode(G, const_cast<char*>(p->getIdentifier().c_str()), 0)) { | ||
| const std::string identifier{p->getIdentifier()}; | ||
| if (auto* n = agnode(G, const_cast<char*>(identifier.c_str()), 0)) { |
There was a problem hiding this comment.
clang-tidy diagnostic
misc/graphviz/src/graphvizsettings.cpp:178:33: warning: [cppcoreguidelines-pro-type-const-cast]
do not use const_cast to remove const qualifier
178 | if (auto* n = agnode(G, const_cast<char*>(identifier.c_str()), 0)) {
| ^
No description provided.