Checker.cpp 739 B

12345678910111213141516171819202122
  1. //== Checker.cpp - Registration mechanism for checkers -----------*- C++ -*--=//
  2. //
  3. // The LLVM Compiler Infrastructure
  4. //
  5. // This file is distributed under the University of Illinois Open Source
  6. // License. See LICENSE.TXT for details.
  7. //
  8. //===----------------------------------------------------------------------===//
  9. //
  10. // This file defines Checker, used to create and register checkers.
  11. //
  12. //===----------------------------------------------------------------------===//
  13. #include "clang/StaticAnalyzer/Core/Checker.h"
  14. using namespace clang;
  15. using namespace ento;
  16. StringRef CheckerBase::getTagDescription() const {
  17. // FIXME: We want to return the package + name of the checker here.
  18. return "A Checker";
  19. }