HomePhabricator

Make DiagnosticIDs::getAllDiagnostics use std::vector. NFC.

Description

Make DiagnosticIDs::getAllDiagnostics use std::vector. NFC.

The size of the result vector is currently around 4600 with
Flavor::WarningOrError, which makes std::vector a better candidate than
llvm::SmallVector.

Patch by: Andras Leitereg!

Differential Revision: https://reviews.llvm.org/D39372

Details

Committed
xazaxDec 20 2017, 8:55 AM
Differential Revision
D39372: Make DiagnosticIDs::getAllDiagnostics static.
Parents
rL321189: [clang] Add BeforeExecute method to PrecompiledPreamble
Branches
Unknown
Tags
Unknown