clang: lib/Lex/PPCallbacks.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

10

11using namespace clang;

12

13

15

19

20

22

28}

llvm::MachO::FileType FileType

Defines the PPCallbacks interface.

virtual void HasInclude(SourceLocation Loc, StringRef FileName, bool IsAngled, OptionalFileEntryRef File, SrcMgr::CharacteristicKind FileType)

Hook called when a '__has_include' or '__has_include_next' directive is read.

void HasInclude(SourceLocation Loc, StringRef FileName, bool IsAngled, OptionalFileEntryRef File, SrcMgr::CharacteristicKind FileType) override

Hook called when a '__has_include' or '__has_include_next' directive is read.

~PPChainedCallbacks() override

Encodes a location in the source.

CharacteristicKind

Indicates whether a file or directory holds normal user code, system code, or system code which is im...

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