clang  6.0.0svn
Functions
BugReporterVisitors.cpp File Reference
#include "clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprObjC.h"
#include "clang/Analysis/CFGStmtMap.h"
#include "clang/Lex/Lexer.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugReporter.h"
#include "clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for BugReporterVisitors.cpp:

Go to the source code of this file.

Functions

static bool isInitializationOfVar (const ExplodedNode *N, const VarRegion *VR)
 Returns true if N represents the DeclStmt declaring and initializing VR. More...
 
static const MemRegiongetLocationRegionIfReference (const Expr *E, const ExplodedNode *N)
 
static const ExprpeelOffOuterExpr (const Expr *Ex, const ExplodedNode *N)
 

Function Documentation

◆ getLocationRegionIfReference()

static const MemRegion* getLocationRegionIfReference ( const Expr E,
const ExplodedNode N 
)
static

Definition at line 918 of file BugReporterVisitors.cpp.

◆ isInitializationOfVar()

static bool isInitializationOfVar ( const ExplodedNode N,
const VarRegion VR 
)
static

◆ peelOffOuterExpr()

static const Expr* peelOffOuterExpr ( const Expr Ex,
const ExplodedNode N 
)
static