Struct clang::diagnostic::DiagnosticFormatter [] [src]

pub struct DiagnosticFormatter<'tu> { /* fields omitted */ }

Builds formatted strings from diagnostics.

Methods

impl<'tu> DiagnosticFormatter<'tu>
[src]

[src]

Sets whether the diagnostic text will be prefixed by the file and line of the source location the diagnostic indicates. This prefix may also contain column and/or source range information.

[src]

Sets whether the column will be included in the source location prefix.

[src]

Sets whether the source ranges will be included to the source location prefix.

[src]

Sets whether the option associated with the diagnostic (e.g., -Wconversion) will be placed in brackets after the diagnostic text if there is such an option.

[src]

Sets whether the category number associated with the diagnostic will be placed in brackets after the diagnostic text if there is such a category number.

[src]

Sets whether the category name associated with the diagnostic will be placed in brackets after the diagnostic text if there is such a category name.

impl<'tu> DiagnosticFormatter<'tu>
[src]

[src]

Returns a formatted string.

Trait Implementations

impl<'tu> Clone for DiagnosticFormatter<'tu>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'tu> Debug for DiagnosticFormatter<'tu>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'tu> !Send for DiagnosticFormatter<'tu>

impl<'tu> !Sync for DiagnosticFormatter<'tu>