Skip to content

Commit 19c5459

Browse files
committed
format
1 parent 8294b04 commit 19c5459

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

lib/checkclass.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3844,13 +3844,13 @@ const Check::FileInfo * CheckClass::loadFileInfoFromXml(const tinyxml2::XMLEleme
38443844
static ErrorMessage oneDefinitionRuleViolationErrorMessage(std::list<ErrorMessage::FileLocation> locationList, const std::string &file0, const std::string &symbolName)
38453845
{
38463846
return ErrorMessage(std::move(locationList),
3847-
file0,
3848-
Severity::error,
3849-
"$symbol:" + symbolName +
3850-
"\nThe one definition rule is violated, different classes/structs have the same name '$symbol'",
3851-
"ctuOneDefinitionRuleViolation",
3852-
CWE_ONE_DEFINITION_RULE,
3853-
Certainty::normal);
3847+
file0,
3848+
Severity::error,
3849+
"$symbol:" + symbolName +
3850+
"\nThe one definition rule is violated, different classes/structs have the same name '$symbol'",
3851+
"ctuOneDefinitionRuleViolation",
3852+
CWE_ONE_DEFINITION_RULE,
3853+
Certainty::normal);
38543854
}
38553855

38563856
bool CheckClass::analyseWholeProgram(const CTU::FileInfo &ctu, const std::list<const Check::FileInfo*> &fileInfo, const Settings& settings, ErrorLogger &errorLogger)

0 commit comments

Comments
 (0)