-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Clang 20.1 UT Errors #3949
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
Clang 20.1 UT Errors #3949
Conversation
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.
Flight code looks good. I agree with @thomas-bc about using STest.
| // Format the string here, so that it is done in the task context | ||
| // of the caller. Format doc borrowed from PassiveTextLogger. | ||
| const char *severityString = "UNKNOWN"; | ||
| const char *severityString = nullptr; |
Check notice
Code scanning / CodeQL
Use of basic integral type Note
|
|
||
| void ConsoleTextLoggerImpl::TextLogger_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity& severity, Fw::TextLogString &text) { | ||
| const char *severityString = "UNKNOWN"; | ||
| const char *severityString = nullptr; |
Check notice
Code scanning / CodeQL
Use of basic integral type Note
Change Description
Fix clang-tidy errors when using >= clang-tidy version 18
Rationale
A rationale for this change. e.g. fixes bug, or most projects need XYZ feature.
Testing/Review Recommendations
install updated fpp (from my updated fpp repo corresonding to nasa/fpp#764)
genreate and build UTs with clang-tidy > 18
No failures
Builds fine
Future Work
None