-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from GenSpectrum/staticAnalysis
Reenable linter and code style standardization
- Loading branch information
Showing
180 changed files
with
2,079 additions
and
791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
}, | ||
"expectedQueryResult": [ | ||
{ | ||
"count": 3 | ||
"count": 1 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#ifndef SILO_AA_SYMBOL_MAP_H | ||
#define SILO_AA_SYMBOL_MAP_H | ||
|
||
#include <vector> | ||
|
||
#include <boost/serialization/access.hpp> | ||
|
||
#include "silo/common/aa_symbols.h" | ||
|
||
namespace silo { | ||
|
||
template <typename T> | ||
class AASymbolMap { | ||
friend class boost::serialization::access; | ||
|
||
private: | ||
template <class Archive> | ||
[[maybe_unused]] void serialize(Archive& archive, const uint32_t /* version */) { | ||
// clang-format off | ||
archive& data; | ||
// clang-format on | ||
} | ||
|
||
std::array<T, AA_SYMBOL_COUNT> data; | ||
|
||
public: | ||
inline T& operator[](AA_SYMBOL symbol) { return data.at(static_cast<uint8_t>(symbol)); } | ||
inline const T& at(AA_SYMBOL symbol) const { return data.at(static_cast<uint8_t>(symbol)); } | ||
}; | ||
|
||
} // namespace silo | ||
|
||
#endif // SILO_AA_SYMBOL_MAP_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#ifndef SILO_DATE_H | ||
#define SILO_DATE_H | ||
|
||
#include <cstdint> | ||
#include <optional> | ||
#include <string> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#ifndef SILO_FORMAT_NUMBER_H | ||
#define SILO_FORMAT_NUMBER_H | ||
|
||
#include <cstdint> | ||
#include <string> | ||
|
||
namespace silo { | ||
|
Oops, something went wrong.