Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/build/clang-plugin/     Datei vom 27.6.2026 mit Größe 821 B image not shown  

Quelle  MustOverrideChecker.h  Sprache: C


/* 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/. */


#ifndef MustOverrideChecker_h_
#define MustOverrideChecker_h_

#include "plugin.h"

class MustOverrideChecker : public BaseCheck {
public:
  MustOverrideChecker(StringRef CheckName, ContextType *Context = nullptr)
      : BaseCheck(CheckName, Context), CI(nullptr) {}
  void registerMatchers(MatchFinder *AstMatcher) override;
  void registerPPCallbacks(CompilerInstance &CI) override;
  void check(const MatchFinder::MatchResult &Result) override;
  bool isLanguageVersionSupported(const LangOptions &LangOpts) const override {
    return LangOpts.CPlusPlus;
  }

private:
  const CompilerInstance *CI;
};

#endif

Messung
CHZG
999810098

¤ Dauer der Verarbeitung: 0.33 Sekunden  ¤

*© Formatika GbR, Deutschland