clean codes

This commit is contained in:
Roy Qu 2024-04-06 04:05:00 +08:00
parent 762c27b860
commit 384396d196
1 changed files with 0 additions and 12 deletions

View File

@ -834,18 +834,6 @@ void CppPreprocessor::openInclude(QString fileName)
innerMostFile->branches = mBranchResults.count();
}
// // Add the new file to the includes of the current file
// // Only add items to the include list of the given file if the file hasn't been scanned yet
// // The above is fixed by checking for duplicates.
// // The proper way would be to do backtracking of files we have FINISHED scanned.
// // These are not the same files as the ones in fScannedFiles. We have STARTED scanning these.
// {
// if Assigned(fCurrentIncludes) then
// with fCurrentIncludes^ do
// if not ContainsText(IncludeFiles, FileName) then
// IncludeFiles := IncludeFiles + AnsiQuotedStr(FileName, '"') + ',';
// }
// Create and add new buffer/position
PParsedFile parsedFile = std::make_shared<ParsedFile>();
parsedFile->index = 0;