This is an archive of the discontinued LLVM Phabricator instance.

Make DiagnosticIDs::getAllDiagnostics use std::vector
ClosedPublic

Authored by leanil on Dec 20 2017, 7:55 AM.

Details

Reviewers
rsmith
xazax.hun
Summary

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