clang
9.0.0
|
#include "clang/Analysis/Analyses/ThreadSafetyCommon.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclGroup.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/OperationKinds.h"
#include "clang/AST/Stmt.h"
#include "clang/AST/Type.h"
#include "clang/Analysis/Analyses/ThreadSafetyTIL.h"
#include "clang/Analysis/CFG.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/OperatorKinds.h"
#include "clang/Basic/Specifiers.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include <algorithm>
#include <cassert>
#include <string>
#include <utility>
Go to the source code of this file.
Typedefs | |
using | CallingContext = SExprBuilder::CallingContext |
Functions | |
static bool | isIncompletePhi (const til::SExpr *E) |
static bool | isCalleeArrow (const Expr *E) |
static const ValueDecl * | getValueDeclFromSExpr (const til::SExpr *E) |
static bool | hasAnyPointerType (const til::SExpr *E) |
static const CXXMethodDecl * | getFirstVirtualDecl (const CXXMethodDecl *D) |
static void | maybeUpdateVD (til::SExpr *E, const ValueDecl *VD) |
Definition at line 69 of file ThreadSafetyCommon.cpp.
|
static |
Definition at line 334 of file ThreadSafetyCommon.cpp.
References clang::CXXMethodDecl::getCanonicalDecl().
|
static |
Definition at line 311 of file ThreadSafetyCommon.cpp.
Referenced by hasAnyPointerType().
|
static |
Definition at line 323 of file ThreadSafetyCommon.cpp.
References AttributeLangSupport::C, clang::threadSafety::til::CAST_objToPtr, and getValueDeclFromSExpr().
Definition at line 83 of file ThreadSafetyCommon.cpp.
References clang::Expr::IgnoreParenCasts(), and clang::MemberExpr::isArrow().
Referenced by clang::threadSafety::SExprBuilder::translateAttrExpr().
|
static |
Definition at line 63 of file ThreadSafetyCommon.cpp.
References clang::threadSafety::til::Phi::PH_Incomplete.
|
static |
Definition at line 659 of file ThreadSafetyCommon.cpp.
References clang::threadSafety::CopyOnWriteVector< T >::makeWritable(), clang::threadSafety::CopyOnWriteVector< T >::push_back(), clang::threadSafety::CopyOnWriteVector< T >::size(), and V.