File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -553,10 +553,10 @@ class HeaderSearch {
553
553
// / macro.
554
554
// /
555
555
// / This routine does not consider the effect of \#import
556
- bool isFileMultipleIncludeGuarded (const FileEntry *File);
556
+ bool isFileMultipleIncludeGuarded (const FileEntry *File) const ;
557
557
558
558
// / Determine whether the given file is known to have ever been \#imported.
559
- bool hasFileBeenImported (const FileEntry *File) {
559
+ bool hasFileBeenImported (const FileEntry *File) const {
560
560
const HeaderFileInfo *FI = getExistingFileInfo (File);
561
561
return FI && FI->isImport ;
562
562
}
Original file line number Diff line number Diff line change @@ -1375,7 +1375,7 @@ HeaderSearch::getExistingFileInfo(const FileEntry *FE,
1375
1375
return HFI;
1376
1376
}
1377
1377
1378
- bool HeaderSearch::isFileMultipleIncludeGuarded (const FileEntry *File) {
1378
+ bool HeaderSearch::isFileMultipleIncludeGuarded (const FileEntry *File) const {
1379
1379
// Check if we've entered this file and found an include guard or #pragma
1380
1380
// once. Note that we dor't check for #import, because that's not a property
1381
1381
// of the file itself.
You can’t perform that action at this time.
0 commit comments