clang: lib/Sema/CheckExprLifetime.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12#ifndef LLVM_CLANG_SEMA_CHECK_EXPR_LIFETIME_H

13#define LLVM_CLANG_SEMA_CHECK_EXPR_LIFETIME_H

14

18

20

21

23

24

26

29};

30

32

33

34

35

36

37

38

39

41};

42

43

44

45

48

49

50

53

56

57

58

59

62

64

65}

66

67#endif

Represents a static or instance method of a struct/union/class.

This represents one expression.

Represents a function declaration or definition.

Describes an entity that is being initialized.

Sema - This implements semantic analysis and AST building for C.

bool implicitObjectParamIsLifetimeBound(const FunctionDecl *FD)

void checkExprLifetimeMustTailArg(Sema &SemaRef, const InitializedEntity &Entity, Expr *Init)

Check that the lifetime of the given expr (and its subobjects) is sufficient, assuming that it is pas...

bool isGLSPointerType(QualType QT)

void checkInitLifetime(Sema &SemaRef, const InitializedEntity &Entity, Expr *Init)

Check that the lifetime of the given expr (and its subobjects) is sufficient for initializing the ent...

void checkAssignmentLifetime(Sema &SemaRef, const AssignedEntity &Entity, Expr *Init)

Check that the lifetime of the given expr (and its subobjects) is sufficient for assigning to the ent...

void checkCaptureByLifetime(Sema &SemaRef, const CapturingEntity &Entity, Expr *Init)

Describes an entity that is being assigned.

CXXMethodDecl * AssignmentOperator