reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

tools/clang/include/clang/Analysis/ConstructionContext.h
  300 class VariableConstructionContext : public ConstructionContext {
  366 class ConstructorInitializerConstructionContext : public ConstructionContext {
  437 class NewAllocatedObjectConstructionContext : public ConstructionContext {
  460 class TemporaryObjectConstructionContext : public ConstructionContext {
  556 class ReturnedValueConstructionContext : public ConstructionContext {
  625 class ArgumentConstructionContext : public ConstructionContext {

Declarations

tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
   45 class ConstructionContext;

References

include/llvm/Support/Casting.h
   57   static inline bool doit(const From &Val) {
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
tools/clang/include/clang/Analysis/CFG.h
  158   explicit CFGConstructor(CXXConstructExpr *CE, const ConstructionContext *C)
  164   const ConstructionContext *getConstructionContext() const {
  197   explicit CFGCXXRecordTypedCall(Expr *E, const ConstructionContext *C)
  209   const ConstructionContext *getConstructionContext() const {
 1100   void appendConstructor(CXXConstructExpr *CE, const ConstructionContext *CC,
 1106                                 const ConstructionContext *CC,
tools/clang/include/clang/Analysis/ConstructionContext.h
  274   static const ConstructionContext *createMaterializedTemporaryFromLayers(
  283   static const ConstructionContext *
  292   static const ConstructionContext *
  300 class VariableConstructionContext : public ConstructionContext {
  304   VariableConstructionContext(ConstructionContext::Kind K, const DeclStmt *DS)
  313   static bool classof(const ConstructionContext *CC) {
  327       : VariableConstructionContext(ConstructionContext::SimpleVariableKind,
  331   static bool classof(const ConstructionContext *CC) {
  360   static bool classof(const ConstructionContext *CC) {
  366 class ConstructorInitializerConstructionContext : public ConstructionContext {
  371       ConstructionContext::Kind K, const CXXCtorInitializer *I)
  380   static bool classof(const ConstructionContext *CC) {
  395             ConstructionContext::SimpleConstructorInitializerKind, I) {}
  398   static bool classof(const ConstructionContext *CC) {
  430   static bool classof(const ConstructionContext *CC) {
  437 class NewAllocatedObjectConstructionContext : public ConstructionContext {
  443       : ConstructionContext(ConstructionContext::NewAllocatedObjectKind),
  451   static bool classof(const ConstructionContext *CC) {
  460 class TemporaryObjectConstructionContext : public ConstructionContext {
  466       ConstructionContext::Kind K, const CXXBindTemporaryExpr *BTE,
  491   static bool classof(const ConstructionContext *CC) {
  507             ConstructionContext::SimpleTemporaryObjectKind, BTE, MTE) {}
  510   static bool classof(const ConstructionContext *CC) {
  526   const ConstructionContext *ElidedCC;
  532       const CXXConstructExpr *ElidedCE, const ConstructionContext *ElidedCC)
  534             ConstructionContext::ElidedTemporaryObjectKind, BTE, MTE),
  547   const ConstructionContext *getConstructionContextAfterElision() const {
  551   static bool classof(const ConstructionContext *CC) {
  556 class ReturnedValueConstructionContext : public ConstructionContext {
  560   explicit ReturnedValueConstructionContext(ConstructionContext::Kind K,
  570   static bool classof(const ConstructionContext *CC) {
  587             ConstructionContext::SimpleReturnedValueKind, RS) {}
  590   static bool classof(const ConstructionContext *CC) {
  612             ConstructionContext::CXX17ElidedCopyReturnedValueKind, RS),
  620   static bool classof(const ConstructionContext *CC) {
  625 class ArgumentConstructionContext : public ConstructionContext {
  653   static bool classof(const ConstructionContext *CC) {
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
  805       const ConstructionContext *CC, EvalCallOptions &CallOpts);
tools/clang/lib/Analysis/CFG.cpp
  775   const ConstructionContext *retrieveAndCleanupConstructionContext(Expr *E) {
  784     return ConstructionContext::createFromLayers(cfg->getBumpVectorContext(),
  800     if (const ConstructionContext *CC =
  814     if (const ConstructionContext *CC =
  844     if (const ConstructionContext *CC =
 5321                                        const ConstructionContext *CC) {
 5324   case ConstructionContext::SimpleConstructorInitializerKind: {
 5330   case ConstructionContext::CXX17ElidedCopyConstructorInitializerKind: {
 5338   case ConstructionContext::SimpleVariableKind: {
 5343   case ConstructionContext::CXX17ElidedCopyVariableKind: {
 5349   case ConstructionContext::NewAllocatedObjectKind: {
 5354   case ConstructionContext::SimpleReturnedValueKind: {
 5359   case ConstructionContext::CXX17ElidedCopyReturnedValueKind: {
 5366   case ConstructionContext::SimpleTemporaryObjectKind: {
 5372   case ConstructionContext::ElidedTemporaryObjectKind: {
 5379   case ConstructionContext::ArgumentKind: {
tools/clang/lib/Analysis/ConstructionContext.cpp
   44 const ConstructionContext *
   69   const ConstructionContext *ElidedCC = nullptr;
   95 const ConstructionContext *ConstructionContext::createBoundTemporaryFromLayers(
  164 const ConstructionContext *ConstructionContext::createFromLayers(
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
  114     const ConstructionContext *CC, EvalCallOptions &CallOpts) {
  123     case ConstructionContext::CXX17ElidedCopyVariableKind:
  124     case ConstructionContext::SimpleVariableKind: {
  136     case ConstructionContext::CXX17ElidedCopyConstructorInitializerKind:
  137     case ConstructionContext::SimpleConstructorInitializerKind: {
  162     case ConstructionContext::NewAllocatedObjectKind: {
  184     case ConstructionContext::SimpleReturnedValueKind:
  185     case ConstructionContext::CXX17ElidedCopyReturnedValueKind: {
  232     case ConstructionContext::ElidedTemporaryObjectKind: {
  278     case ConstructionContext::SimpleTemporaryObjectKind: {
  314     case ConstructionContext::ArgumentKind: {
  424   const ConstructionContext *CC = C ? C->getConstructionContext() : nullptr;
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
  706     const ConstructionContext *CC = CCE ? CCE->getConstructionContext()