struct FormattingAttemptStatus

Declaration

struct FormattingAttemptStatus { /* full declaration omitted */ };

Description

Represents the status of a formatting attempt.

Declared at: clang/include/clang/Format/Format.h:4142

Member Variables

public bool FormatComplete = true
A value of ``false`` means that any of the affected ranges were not formatted due to a non-recoverable syntax error.
public unsigned int Line = 0
If ``FormatComplete`` is false, ``Line`` records a one-based original line number at which a syntax error might have occurred. This is based on a best-effort analysis and could be imprecise.