clang: include/clang/Analysis/CodeInjector.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

15

16#ifndef LLVM_CLANG_ANALYSIS_CODEINJECTOR_H

17#define LLVM_CLANG_ANALYSIS_CODEINJECTOR_H

18

20

21class Stmt;

22class FunctionDecl;

23class ObjCMethodDecl;

24

25

26

27

28

29

30

31

32

33

34

36public:

39

42};

43}

44

45#endif

CodeInjector is an interface which is responsible for injecting AST of function definitions that may ...

virtual Stmt * getBody(const FunctionDecl *D)=0

virtual Stmt * getBody(const ObjCMethodDecl *D)=0

Represents a function declaration or definition.

ObjCMethodDecl - Represents an instance or class method declaration.

Stmt - This represents one statement.

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