Skip to content

Commit 4705d4e

Browse files
committed
fix build clang-tidy
1 parent ef5e523 commit 4705d4e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ void ExpandModularHeadersPPCallbacks::PragmaDiagnostic(SourceLocation Loc,
228228
}
229229
void ExpandModularHeadersPPCallbacks::HasInclude(SourceLocation Loc, StringRef,
230230
bool, OptionalFileEntryRef,
231-
SrcMgr::CharacteristicKind) {
231+
SrcMgr::CharacteristicKind,
232+
bool AddToDepCollector) {
232233
parseToLocation(Loc);
233234
}
234235
void ExpandModularHeadersPPCallbacks::PragmaOpenCLExtension(

clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ class ExpandModularHeadersPPCallbacks : public PPCallbacks {
9090
void PragmaDiagnostic(SourceLocation Loc, StringRef, diag::Severity,
9191
StringRef) override;
9292
void HasInclude(SourceLocation Loc, StringRef, bool, OptionalFileEntryRef,
93-
SrcMgr::CharacteristicKind) override;
93+
SrcMgr::CharacteristicKind,
94+
bool AddToDepCollector = true) override;
9495
void PragmaOpenCLExtension(SourceLocation NameLoc, const IdentifierInfo *,
9596
SourceLocation StateLoc, unsigned) override;
9697
void PragmaWarning(SourceLocation Loc, PragmaWarningSpecifier,

0 commit comments

Comments
 (0)