diff options
author | Gabor Horvath <xazax.hun@gmail.com> | 2017-11-14 12:14:49 +0000 |
---|---|---|
committer | Gabor Horvath <xazax.hun@gmail.com> | 2017-11-14 12:14:49 +0000 |
commit | 328d3afc3b41eb0922d9b4a6d5aaa99753df8e78 (patch) | |
tree | e1252dc8d7882ea4b4ed25ed050c70703a4a55de /clang/lib/Basic/Diagnostic.cpp | |
parent | 848581cadb3f5cd0229cf580c5cb56f679900d3d (diff) | |
download | bcm5719-llvm-328d3afc3b41eb0922d9b4a6d5aaa99753df8e78.tar.gz bcm5719-llvm-328d3afc3b41eb0922d9b4a6d5aaa99753df8e78.zip |
Make DiagnosticIDs::getAllDiagnostics static. NFC.
Patch by: Andras Leitereg!
Differential Revision: https://reviews.llvm.org/D39372
llvm-svn: 318150
Diffstat (limited to 'clang/lib/Basic/Diagnostic.cpp')
-rw-r--r-- | clang/lib/Basic/Diagnostic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/Diagnostic.cpp b/clang/lib/Basic/Diagnostic.cpp index 47f6a139b15..640b42c1ca2 100644 --- a/clang/lib/Basic/Diagnostic.cpp +++ b/clang/lib/Basic/Diagnostic.cpp @@ -364,7 +364,7 @@ void DiagnosticsEngine::setSeverityForAll(diag::Flavor Flavor, SourceLocation Loc) { // Get all the diagnostics. SmallVector<diag::kind, 64> AllDiags; - Diags->getAllDiagnostics(Flavor, AllDiags); + DiagnosticIDs::getAllDiagnostics(Flavor, AllDiags); // Set the mapping. for (diag::kind Diag : AllDiags) |