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

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef LLVM_CLANG_BASIC_SANITIZERSPECIALCASELIST_H

15#define LLVM_CLANG_BASIC_SANITIZERSPECIALCASELIST_H

16

19#include "llvm/ADT/StringRef.h"

20#include "llvm/Support/SpecialCaseList.h"

21#include

22#include

23#include

24

25namespace llvm {

26namespace vfs {

27class FileSystem;

28}

29}

30

32

34public:

35 static std::unique_ptr

36 create(const std::vectorstd::string &Paths, llvm::vfs::FileSystem &VFS,

37 std::string &Error);

38

39 static std::unique_ptr

40 createOrDie(const std::vectorstd::string &Paths,

41 llvm::vfs::FileSystem &VFS);

42

43

45 StringRef Category = StringRef()) const;

46

47

48

49

50

51 std::pair<unsigned, unsigned>

53 StringRef Category = StringRef()) const;

54

55protected:

56

58

61

63 const Section &S;

64 };

65

67};

68

69}

70

71#endif

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

Defines the clang::SanitizerKind enum.

static std::unique_ptr< SanitizerSpecialCaseList > create(const std::vector< std::string > &Paths, llvm::vfs::FileSystem &VFS, std::string &Error)

bool inSection(SanitizerMask Mask, StringRef Prefix, StringRef Query, StringRef Category=StringRef()) const

std::pair< unsigned, unsigned > inSectionBlame(SanitizerMask Mask, StringRef Prefix, StringRef Query, StringRef Category=StringRef()) const

void createSanitizerSections()

static std::unique_ptr< SanitizerSpecialCaseList > createOrDie(const std::vector< std::string > &Paths, llvm::vfs::FileSystem &VFS)

std::vector< SanitizerSection > SanitizerSections

Definition SanitizerSpecialCaseList.h:66

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

Diagnostic wrappers for TextAPI types for error reporting.

SanitizerSection(SanitizerMask SM, const Section &S)

Definition SanitizerSpecialCaseList.h:60

const Section & S

Definition SanitizerSpecialCaseList.h:63

SanitizerMask Mask

Definition SanitizerSpecialCaseList.h:62