clang API Documentation
#include "clang/Basic/AllDiagnostics.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticOptions.h"
#include <algorithm>
#include <cstring>
#include <utility>
Go to the source code of this file.
Functions | |
static void | EmitUnknownDiagWarning (DiagnosticsEngine &Diags, diag::Flavor Flavor, StringRef Prefix, StringRef Opt) |
static void EmitUnknownDiagWarning | ( | DiagnosticsEngine & | Diags, |
diag::Flavor | Flavor, | ||
StringRef | Prefix, | ||
StringRef | Opt | ||
) | [static] |
Definition at line 35 of file Warnings.cpp.
References clang::DiagnosticIDs::getNearestOption(), clang::DiagnosticsEngine::Report(), and clang::diag::WarningOrError.
Referenced by clang::ProcessWarningOptions().