Skip to content

Commit 499ba13

Browse files
committed
minor fixes
1 parent 248a458 commit 499ba13

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

.clang-tidy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ CheckOptions:
5353
value: (c|d|d1|d2|d3|d4|d5|d5_restoredCtx|eP|f|f3|f4|f5|fCalleeSummary|g|n|dPrime|fPrime)
5454
- key: readability-identifier-naming.ParameterIgnoredRegexp
5555
value: (d|d1|d2|d3|d4|d5|eP|f|n)
56+
- key: readability-identifier-naming.FunctionIgnoredRegexp
57+
value: (try_emplace|from_json|to_json)
5658
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
5759
value: 1
5860
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions

include/phasar/Utils/EquivalenceClassMap.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ template <typename KeyT, typename ValueT> struct EquivalenceClassMap {
9999
// Inserts Key into the corresponding equivalence class for Value. If Value
100100
// is not already in the map a new equivalence class is created.
101101
template <typename... Ts>
102-
insert_return_type try_emplace(KeyT &&Key, Ts &&...Args) { // NOLINT
102+
insert_return_type try_emplace(KeyT &&Key, Ts &&...Args) {
103103
ValueT Val{std::forward<Ts...>(Args...)};
104104

105105
for (auto &KVPair : StoredData) {
@@ -115,7 +115,7 @@ template <typename KeyT, typename ValueT> struct EquivalenceClassMap {
115115
// Inserts Key into the corresponding equivalence class for Value. If Value
116116
// is not already in the map a new equivalence class is created.
117117
template <typename... Ts>
118-
insert_return_type try_emplace(const KeyT &Key, Ts &&...Args) { // NOLINT
118+
insert_return_type try_emplace(const KeyT &Key, Ts &&...Args) {
119119
ValueT Val{std::forward<Ts...>(Args...)};
120120

121121
for (auto &KVPair : StoredData) {

include/phasar/Utils/LLVMIRToSrc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ struct SourceCodeInfo {
7171

7272
/// Used from the JSON library internally to implicitly convert between json and
7373
/// SourceCodeInfo
74-
void from_json(const nlohmann::json &J, SourceCodeInfo &Info); // NOLINT
74+
void from_json(const nlohmann::json &J, SourceCodeInfo &Info);
7575
/// Used from the JSON library internally to implicitly convert between json and
7676
/// SourceCodeInfo
77-
void to_json(nlohmann::json &J, const SourceCodeInfo &Info); // NOLINT
77+
void to_json(nlohmann::json &J, const SourceCodeInfo &Info);
7878

7979
SourceCodeInfo getSrcCodeInfoFromIR(const llvm::Value *V);
8080

include/phasar/Utils/Logger.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ SeverityLevel toSeverityLevel(const std::string &S);
5151

5252
std::ostream &operator<<(std::ostream &OS, const SeverityLevel &Level);
5353

54-
extern SeverityLevel LogFilterLevel; // NOLINT
54+
extern SeverityLevel LogFilterLevel;
5555

5656
#ifdef DYNAMIC_LOG
5757
BOOST_LOG_INLINE_GLOBAL_LOGGER_DEFAULT(

0 commit comments

Comments
 (0)