clang: include/clang/Tooling/Refactoring/Rename/USRFindingAction.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_TOOLING_REFACTORING_RENAME_USRFINDINGACTION_H

15#define LLVM_CLANG_TOOLING_REFACTORING_RENAME_USRFINDINGACTION_H

16

18#include "llvm/ADT/ArrayRef.h"

19

20#include

21#include

22

27

29

30

31

32

33

34

35

36

38

39

41 ASTContext &Context);

42

46 : SymbolOffsets(SymbolOffsets), QualifiedNames(QualifiedNames),

47 ErrorOccurred(false), Force(Force) {}

49

53

54private:

55 std::vector SymbolOffsets;

56 std::vectorstd::string QualifiedNames;

57 std::vectorstd::string SpellingNames;

58 std::vector<std::vectorstd::string> USRList;

59 bool ErrorOccurred;

60 bool Force;

61};

62

63}

64}

65

66#endif

Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.

ASTConsumer - This is an abstract interface that should be implemented by clients that read ASTs.

Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...

This represents a decl that may have a name.

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