The size of the result vector is currently around 4600 with Flavor::WarningOrError, which makes std::vector a better candidate than llvm::SmallVector.
Diff Detail
Diff Detail
Paths
| Differential D41451
Make DiagnosticIDs::getAllDiagnostics use std::vector ClosedPublic Authored by leanil on Dec 20 2017, 7:55 AM.
Details
Diff Detail Event TimelineThis revision is now accepted and ready to land.Dec 20 2017, 7:56 AM leanil added a parent revision: D38171: [clang-tidy] Implement clang-tidy check aliases.Dec 20 2017, 8:00 AM
Revision Contents
Diff 127721 include/clang/Basic/DiagnosticIDs.h
lib/Basic/Diagnostic.cpp
lib/Basic/DiagnosticIDs.cpp
|