File tree 2 files changed +2
-2
lines changed
include/clang/Tooling/Inclusions
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ namespace tooling {
28
28
// / This function can be expensive as it may scan the source code to find out
29
29
// / dont-include-me pattern heuristically.
30
30
bool isSelfContainedHeader (const FileEntry *FE, const SourceManager &SM,
31
- HeaderSearch &HeaderInfo);
31
+ const HeaderSearch &HeaderInfo);
32
32
33
33
// / This scans the given source code to see if it contains #import(s).
34
34
bool codeContainsImports (llvm::StringRef Code);
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ llvm::StringRef getFileContents(const FileEntry *FE, const SourceManager &SM) {
67
67
} // namespace
68
68
69
69
bool isSelfContainedHeader (const FileEntry *FE, const SourceManager &SM,
70
- HeaderSearch &HeaderInfo) {
70
+ const HeaderSearch &HeaderInfo) {
71
71
assert (FE);
72
72
if (!HeaderInfo.isFileMultipleIncludeGuarded (FE) &&
73
73
!HeaderInfo.hasFileBeenImported (FE) &&
You can’t perform that action at this time.
0 commit comments