llvm/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp

//== ObjCContainersASTChecker.cpp - CoreFoundation containers API *- C++ -*-==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// An AST checker that looks for common pitfalls when using 'CFArray',
// 'CFDictionary', 'CFSet' APIs.
//
//===----------------------------------------------------------------------===//
#include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/Analysis/AnalysisDeclContext.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugReporter.h"
#include "clang/StaticAnalyzer/Core/Checker.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/raw_ostream.h"

usingnamespaceclang;
usingnamespaceento;

namespace {
class WalkAST : public StmtVisitor<WalkAST> {};
} // end anonymous namespace

static StringRef getCalleeName(CallExpr *CE) {}

void WalkAST::VisitCallExpr(CallExpr *CE) {}

void WalkAST::VisitChildren(Stmt *S) {}

namespace {
class ObjCContainersASTChecker : public Checker<check::ASTCodeBody> {};
}

void ento::registerObjCContainersASTChecker(CheckerManager &mgr) {}

bool ento::shouldRegisterObjCContainersASTChecker(const CheckerManager &mgr) {}