Skip to content

Commit 911217c

Browse files
committed
Fix formatting
1 parent 0be6598 commit 911217c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,9 @@ getFixIt(const tooling::Diagnostic &Diagnostic, bool AnyFix) {
360360

361361
void ClangTidyDiagnosticConsumer::HandleDiagnostic(
362362
DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info) {
363-
assert(InSourceFile ||
364-
Info.getLocation()
365-
.isInvalid()); // A diagnostic should not be reported outside of a
366-
// BeginSourceFile()/EndSourceFile() pair if it has
367-
// a source location.
363+
// A diagnostic should not be reported outside of a
364+
// BeginSourceFile()/EndSourceFile() pair if it has a source location.
365+
assert(InSourceFile || Info.getLocation().isInvalid());
368366

369367
if (LastErrorWasIgnored && DiagLevel == DiagnosticsEngine::Note)
370368
return;

0 commit comments

Comments
 (0)