diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
commit | cfca06d7963fa0909f90483b42a6d7d194d01e08 (patch) | |
tree | 209fb2a2d68f8f277793fc8df46c753d31bc853b /clang/lib/Lex/PPCallbacks.cpp | |
parent | 706b4fc47bbc608932d3b491ae19a3b9cde9497b (diff) |
Notes
Diffstat (limited to 'clang/lib/Lex/PPCallbacks.cpp')
-rw-r--r-- | clang/lib/Lex/PPCallbacks.cpp | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/clang/lib/Lex/PPCallbacks.cpp b/clang/lib/Lex/PPCallbacks.cpp index cd8b04b20d245..b618071590baf 100644 --- a/clang/lib/Lex/PPCallbacks.cpp +++ b/clang/lib/Lex/PPCallbacks.cpp @@ -7,7 +7,24 @@ //===----------------------------------------------------------------------===// #include "clang/Lex/PPCallbacks.h" +#include "clang/Basic/FileManager.h" using namespace clang; -void PPChainedCallbacks::anchor() { } +// Out of line key method. +PPCallbacks::~PPCallbacks() = default; + +void PPCallbacks::HasInclude(SourceLocation Loc, StringRef FileName, + bool IsAngled, Optional<FileEntryRef> File, + SrcMgr::CharacteristicKind FileType) {} + +// Out of line key method. +PPChainedCallbacks::~PPChainedCallbacks() = default; + +void PPChainedCallbacks::HasInclude(SourceLocation Loc, StringRef FileName, + bool IsAngled, Optional<FileEntryRef> File, + SrcMgr::CharacteristicKind FileType) { + First->HasInclude(Loc, FileName, IsAngled, File, FileType); + Second->HasInclude(Loc, FileName, IsAngled, File, FileType); +} + |