clang  5.0.0
Functions
MisusedMovedObjectChecker.cpp File Reference
#include "ClangSACheckers.h"
#include "clang/AST/ExprCXX.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 dependency graph for MisusedMovedObjectChecker.cpp:

Go to the source code of this file.

Functions

static ProgramStateRef removeFromState (ProgramStateRef State, const MemRegion *Region)
 
static bool isAnyBaseRegionReported (ProgramStateRef State, const MemRegion *Region)
 

Function Documentation

static bool isAnyBaseRegionReported ( ProgramStateRef  State,
const MemRegion Region 
)
static

Definition at line 110 of file MisusedMovedObjectChecker.cpp.

References E, and clang::ento::MemRegion::isSubRegionOf().

static ProgramStateRef removeFromState ( ProgramStateRef  State,
const MemRegion Region 
)
static

Definition at line 97 of file MisusedMovedObjectChecker.cpp.

References E, and State.