clang: include/clang/Sema/CleanupInfo.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef LLVM_CLANG_SEMA_CLEANUPINFO_H

15#define LLVM_CLANG_SEMA_CLEANUPINFO_H

16

18

20 bool ExprNeedsCleanups = false;

21 bool CleanupsHaveSideEffects = false;

22

23public:

25

27

29 ExprNeedsCleanups = true;

30 CleanupsHaveSideEffects |= SideEffects;

31 }

32

34 ExprNeedsCleanups = false;

35 CleanupsHaveSideEffects = false;

36 }

37

39 ExprNeedsCleanups |= Rhs.ExprNeedsCleanups;

40 CleanupsHaveSideEffects |= Rhs.CleanupsHaveSideEffects;

41 }

42};

43

44}

45

46#endif

void mergeFrom(CleanupInfo Rhs)

void setExprNeedsCleanups(bool SideEffects)

bool cleanupsHaveSideEffects() const

bool exprNeedsCleanups() const

The JSON file list parser is used to communicate input to InstallAPI.