Mercurial > hg > CbC > CbC_llvm
comparison clang/lib/Lex/PPCallbacks.cpp @ 252:1f2b6ac9f198 llvm-original
LLVM16-1
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 09:04:13 +0900 |
parents | 0572611fdcc8 |
children |
comparison
equal
deleted
inserted
replaced
237:c80f45b162ad | 252:1f2b6ac9f198 |
---|---|
13 | 13 |
14 // Out of line key method. | 14 // Out of line key method. |
15 PPCallbacks::~PPCallbacks() = default; | 15 PPCallbacks::~PPCallbacks() = default; |
16 | 16 |
17 void PPCallbacks::HasInclude(SourceLocation Loc, StringRef FileName, | 17 void PPCallbacks::HasInclude(SourceLocation Loc, StringRef FileName, |
18 bool IsAngled, Optional<FileEntryRef> File, | 18 bool IsAngled, OptionalFileEntryRef File, |
19 SrcMgr::CharacteristicKind FileType) {} | 19 SrcMgr::CharacteristicKind FileType) {} |
20 | 20 |
21 // Out of line key method. | 21 // Out of line key method. |
22 PPChainedCallbacks::~PPChainedCallbacks() = default; | 22 PPChainedCallbacks::~PPChainedCallbacks() = default; |
23 | 23 |
24 void PPChainedCallbacks::HasInclude(SourceLocation Loc, StringRef FileName, | 24 void PPChainedCallbacks::HasInclude(SourceLocation Loc, StringRef FileName, |
25 bool IsAngled, Optional<FileEntryRef> File, | 25 bool IsAngled, OptionalFileEntryRef File, |
26 SrcMgr::CharacteristicKind FileType) { | 26 SrcMgr::CharacteristicKind FileType) { |
27 First->HasInclude(Loc, FileName, IsAngled, File, FileType); | 27 First->HasInclude(Loc, FileName, IsAngled, File, FileType); |
28 Second->HasInclude(Loc, FileName, IsAngled, File, FileType); | 28 Second->HasInclude(Loc, FileName, IsAngled, File, FileType); |
29 } | 29 } |
30 |