/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <string> #include <set>
#include"plugin.hxx"
// Look for places calling std::find on a standard container where it should be using the container find method, which // is more efficient. // // This lives in /store because the implementation is a hack and is highly dependent on the inwards // of the libc++ library on the machine it runs on. //
namespace {
class FindOnContainer: public loplugin::FilteringPlugin<FindOnContainer>
{ public: explicit FindOnContainer(InstantiationData const & data): FilteringPlugin(data) {}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.