clang  6.0.0svn
Typedefs | Functions
ThreadSafetyCommon.cpp File Reference
#include "clang/Analysis/Analyses/ThreadSafetyCommon.h"
#include "clang/AST/Attr.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/StmtCXX.h"
#include "clang/Analysis/Analyses/ThreadSafetyTIL.h"
#include "clang/Analysis/Analyses/ThreadSafetyTraverse.h"
#include "clang/Analysis/AnalysisDeclContext.h"
#include "clang/Analysis/CFG.h"
#include "clang/Basic/OperatorKinds.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/StringRef.h"
#include <algorithm>
Include dependency graph for ThreadSafetyCommon.cpp:

Go to the source code of this file.

Typedefs

typedef SExprBuilder::CallingContext CallingContext
 

Functions

static bool isIncompletePhi (const til::SExpr *E)
 
static bool isCalleeArrow (const Expr *E)
 
static const ValueDeclgetValueDeclFromSExpr (const til::SExpr *E)
 
static bool hasCppPointerType (const til::SExpr *E)
 
static const CXXMethodDeclgetFirstVirtualDecl (const CXXMethodDecl *D)
 
static void maybeUpdateVD (til::SExpr *E, const ValueDecl *VD)
 

Typedef Documentation

◆ CallingContext

Definition at line 62 of file ThreadSafetyCommon.cpp.

Function Documentation

◆ getFirstVirtualDecl()

static const CXXMethodDecl* getFirstVirtualDecl ( const CXXMethodDecl D)
static

Definition at line 319 of file ThreadSafetyCommon.cpp.

References clang::CXXMethodDecl::getCanonicalDecl().

◆ getValueDeclFromSExpr()

static const ValueDecl* getValueDeclFromSExpr ( const til::SExpr E)
static

Definition at line 296 of file ThreadSafetyCommon.cpp.

◆ hasCppPointerType()

static bool hasCppPointerType ( const til::SExpr E)
static

Definition at line 308 of file ThreadSafetyCommon.cpp.

◆ isCalleeArrow()

static bool isCalleeArrow ( const Expr E)
static

◆ isIncompletePhi()

static bool isIncompletePhi ( const til::SExpr E)
static

Definition at line 56 of file ThreadSafetyCommon.cpp.

◆ maybeUpdateVD()

static void maybeUpdateVD ( til::SExpr E,
const ValueDecl VD 
)
static