clang  6.0.0svn
Macros | Functions
CallAndMessageChecker.cpp File Reference
#include "ClangSACheckers.h"
#include "clang/AST/ParentMap.h"
#include "clang/Basic/TargetInfo.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/CallEvent.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for CallAndMessageChecker.cpp:

Go to the source code of this file.

Macros

#define REGISTER_CHECKER(name)
 

Functions

static void describeUninitializedArgumentInCall (const CallEvent &Call, int ArgumentNumber, llvm::raw_svector_ostream &Os)
 
static bool supportsNilWithFloatRet (const llvm::Triple &triple)
 

Macro Definition Documentation

◆ REGISTER_CHECKER

#define REGISTER_CHECKER (   name)
Value:
void ento::register##name(CheckerManager &mgr) { \
CallAndMessageChecker *Checker = \
mgr.registerChecker<CallAndMessageChecker>(); \
Checker->Filter.Check_##name = true; \
Checker->Filter.CheckName_##name = mgr.getCurrentCheckName(); \
}
CheckName getCurrentCheckName() const

Definition at line 608 of file CallAndMessageChecker.cpp.

Function Documentation

◆ describeUninitializedArgumentInCall()

static void describeUninitializedArgumentInCall ( const CallEvent Call,
int  ArgumentNumber,
llvm::raw_svector_ostream &  Os 
)
static

◆ supportsNilWithFloatRet()

static bool supportsNilWithFloatRet ( const llvm::Triple &  triple)
static