clang  6.0.0svn
Macros | Functions
CStringChecker.cpp File Reference
#include "ClangSACheckers.h"
#include "InterCheckerAPI.h"
#include "clang/Basic/CharInfo.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
#include "clang/StaticAnalyzer/Core/Checker.h"
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for CStringChecker.cpp:

Go to the source code of this file.

Macros

#define REGISTER_CHECKER(name)
 

Functions

static bool isCPPStdLibraryFunction (const FunctionDecl *FD, StringRef Name)
 

Macro Definition Documentation

◆ REGISTER_CHECKER

#define REGISTER_CHECKER (   name)
Value:
void ento::register##name(CheckerManager &mgr) { \
CStringChecker *checker = mgr.registerChecker<CStringChecker>(); \
checker->Filter.Check##name = true; \
checker->Filter.CheckName##name = mgr.getCurrentCheckName(); \
}
CheckName getCurrentCheckName() const
CHECKER * registerChecker()
Used to register checkers.

Definition at line 2256 of file CStringChecker.cpp.

Function Documentation

◆ isCPPStdLibraryFunction()

static bool isCPPStdLibraryFunction ( const FunctionDecl FD,
StringRef  Name 
)
static

Definition at line 2044 of file CStringChecker.cpp.