HomePhabricator

[clangd] NFC: Use TopN instead of std::priority_queue

Description

[clangd] NFC: Use TopN instead of std::priority_queue

Quality.cpp defines a structure for convenient storage of Top N items,
it should be used instead of the std::priority_queue with slightly
obscure semantics.

This patch does not affect functionality.

Reviewed By: sammccall

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

Details

Committed
omtcyfzSep 6 2018, 6:15 AM
Reviewer
sammccall
Differential Revision
D51676: [clangd] NFC: Use TopN instead of std::priority_queue
Parents
rCTE341543: [clangd] NFC: mark single-parameter constructors explicit
Branches
Unknown
Tags
Unknown