Vuo 2.4.4
Loading...
Searching...
No Matches
VuoPreprocessorCallbacks.hh
Go to the documentation of this file.
1
10#pragma once
11
12#include "clang/Lex/PPCallbacks.h"
14
18class VuoPreprocessorCallbacks : public clang::PPCallbacks
19{
20public:
21 VuoPreprocessorCallbacks(VuoCModuleCompiler *moduleCompiler, clang::vfs::InMemoryFileSystem *inMemoryFileSystem, bool shouldDefineGenericTypes);
22 bool FileNotFound(StringRef fileName, SmallVectorImpl<char> &recoveryPath);
23 void InclusionDirective(clang::SourceLocation hashLoc, const clang::Token &includeTok, StringRef fileName, bool isAngled,
24 clang::CharSourceRange fileNameRange, const clang::FileEntry *file, StringRef searchPath, StringRef relativePath,
25 const clang::Module *imported);
26
27private:
28 VuoCModuleCompiler *moduleCompiler;
29 clang::vfs::InMemoryFileSystem *inMemoryFileSystem;
30 bool shouldDefineGenericTypes;
31};