Lines 752-758
class DiagnosticsEngine : public RefCountedBase<DiagnosticsEngine> {
Link Here
|
752 |
/// WARNINGs and EXTENSIONs can be mapped arbitrarily. |
752 |
/// WARNINGs and EXTENSIONs can be mapped arbitrarily. |
753 |
/// |
753 |
/// |
754 |
/// \param Loc The source location that this change of diagnostic state should |
754 |
/// \param Loc The source location that this change of diagnostic state should |
755 |
/// take affect. It can be null if we are setting the latest state. |
755 |
/// take effect. It can be null if we are setting the latest state. |
756 |
void setSeverity(diag::kind Diag, diag::Severity Map, SourceLocation Loc); |
756 |
void setSeverity(diag::kind Diag, diag::Severity Map, SourceLocation Loc); |
757 |
|
757 |
|
758 |
/// Change an entire diagnostic group (e.g. "unknown-pragmas") to |
758 |
/// Change an entire diagnostic group (e.g. "unknown-pragmas") to |
Lines 765-771
class DiagnosticsEngine : public RefCountedBase<DiagnosticsEngine> {
Link Here
|
765 |
/// state of the -Wfoo group and vice versa. |
765 |
/// state of the -Wfoo group and vice versa. |
766 |
/// |
766 |
/// |
767 |
/// \param Loc The source location that this change of diagnostic state should |
767 |
/// \param Loc The source location that this change of diagnostic state should |
768 |
/// take affect. It can be null if we are setting the state from command-line. |
768 |
/// take effect. It can be null if we are setting the state from command-line. |
769 |
bool setSeverityForGroup(diag::Flavor Flavor, StringRef Group, |
769 |
bool setSeverityForGroup(diag::Flavor Flavor, StringRef Group, |
770 |
diag::Severity Map, |
770 |
diag::Severity Map, |
771 |
SourceLocation Loc = SourceLocation()); |
771 |
SourceLocation Loc = SourceLocation()); |