clang: include/clang/Basic/LLVM.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15#ifndef LLVM_CLANG_BASIC_LLVM_H

16#define LLVM_CLANG_BASIC_LLVM_H

17

18

19

20

21#include "llvm/Support/Casting.h"

22

23

24#include "llvm/ADT/SmallVector.h"

25

26namespace llvm {

27

28 class StringRef;

29 class Twine;

30 class VersionTuple;

35 template<typename T, unsigned N> class SmallVector;

38

39 template

41

42

46

47 class raw_ostream;

48 class raw_pwrite_stream;

49

50}

51

52

54

55 using llvm::isa;

56 using llvm::isa_and_nonnull;

57 using llvm::isa_and_present;

58 using llvm::cast;

59 using llvm::dyn_cast;

60 using llvm::dyn_cast_or_null;

61 using llvm::dyn_cast_if_present;

62 using llvm::cast_or_null;

63 using llvm::cast_if_present;

64

65

73 using llvm::StringRef;

74 using llvm::Twine;

75 using llvm::VersionTuple;

76

77

79

80

84

85 using llvm::raw_ostream;

86 using llvm::raw_pwrite_stream;

87}

88

89#endif

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

Diagnostic wrappers for TextAPI types for error reporting.