Skip to content

Commit 580b864

Browse files
committed
fixed formatting error
1 parent 135839a commit 580b864

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,15 @@ void ento::registerNullDereferenceChecker(CheckerManager &Mgr) {
369369
Chk->CheckNullDereference = true;
370370
Chk->SuppressAddressSpaces = Mgr.getAnalyzerOptions().getCheckerBooleanOption(
371371
Mgr.getCurrentCheckerName(), "SuppressAddressSpaces");
372-
Chk->BT_Null.reset(new BugType(Mgr.getCurrentCheckerName(), "Dereference of null pointer", categories::LogicError));
373-
Chk->BT_Undef.reset(new BugType(Mgr.getCurrentCheckerName(), "Dereference of undefined pointer value", categories::LogicError));
374-
Chk->BT_Label.reset(new BugType(Mgr.getCurrentCheckerName(), "Dereference of the address of a label", categories::LogicError));
372+
Chk->BT_Null.reset(new BugType(Mgr.getCurrentCheckerName(),
373+
"Dereference of null pointer",
374+
categories::LogicError));
375+
Chk->BT_Undef.reset(new BugType(Mgr.getCurrentCheckerName(),
376+
"Dereference of undefined pointer value",
377+
categories::LogicError));
378+
Chk->BT_Label.reset(new BugType(Mgr.getCurrentCheckerName(),
379+
"Dereference of the address of a label",
380+
categories::LogicError));
375381
}
376382

377383
bool ento::shouldRegisterNullDereferenceChecker(const CheckerManager &Mgr) {

0 commit comments

Comments
 (0)