aboutsummaryrefslogtreecommitdiff
path: root/clang/include/clang/Basic/SourceManager.h
AgeCommit message (Expand)AuthorFilesLines
2025-07-12Revert "[Clang] [Diagnostics] Simplify filenames that contain '..'" (#148367)Sirraide1-16/+0
2025-07-08[Clang] [Diagnostics] Simplify filenames that contain '..' (#143520)Sirraide1-0/+16
2025-07-07[clang] Speedup getFileIDLocal with a separate offset table. (#146604)Haojian Wu1-0/+2
2025-07-04[clang] SourceManager: Cache offsets for LastFileIDLookup to speed up getFile...Haojian Wu1-2/+3
2025-06-26[clang] NFC: Add alias for std::pair<FileID, unsigned> used in SourceLocation...Haojian Wu1-16/+12
2025-05-22Reapply "[clang] Remove intrusive reference count from `DiagnosticOptions` (#...Jan Svoboda1-0/+1
2025-05-22Revert "[clang] Remove intrusive reference count from `DiagnosticOptions` (#1...Kazu Hirata1-1/+0
2025-05-22[clang] Remove intrusive reference count from `DiagnosticOptions` (#139584)Jan Svoboda1-0/+1
2025-05-12[NFC] Optimize file kind determination (#139492)Serge Pavlov1-0/+9
2024-09-05Recover performance loss after PagedVector introduction (#67972)Giulio Eulisse1-1/+1
2024-06-24[SourceManager] Expose max usage of source location space as a Statistic (#96...Ilya Biryukov1-0/+1
2024-06-13[Safe Buffers] Serialize unsafe_buffer_usage pragmas (#92031)Ziqing Luo1-0/+5
2024-05-17[clang][NFC] Improve const-correctness in `SourceManager` (#92436)Vlad Serebrennikov1-3/+41
2024-05-11[clang] Use StringRef::operator== instead of StringRef::equals (NFC) (#91844)Kazu Hirata1-3/+3
2023-12-08[clang] NFC: Remove `OptionalFileEntryRefDegradesToFileEntryPtr` (#74899)Jan Svoboda1-6/+8
2023-11-06[clang][NFC] Annotate most of `clang/Basic` headers with `preferred_type`Vlad Serebrennikov1-0/+6
2023-10-06[clang][modules] Move `SLocEntry` search into `ASTReader` (#66966)Jan Svoboda1-0/+20
2023-10-06[clang][modules] Remove preloaded SLocEntries from PCM files (#66962)Jan Svoboda1-0/+10
2023-10-03[clang] NFCI: Use `FileEntryRef` for `FileID` creation (#67838)Jan Svoboda1-8/+1
2023-09-30Introduce paged vector (#66430)Giulio Eulisse1-1/+2
2023-09-29[clang] NFCI: Use `FileEntryRef` in `SourceManager::getMemoryBufferForFileOr{...Jan Svoboda1-2/+2
2023-09-29[clang] NFCI: Use `FileEntryRef` in `SourceManager::overrideFileContents()`Jan Svoboda1-6/+2
2023-09-29[clang] NFCI: Use `FileEntryRef` in `SourceManager::FileInfos` (#67742)Jan Svoboda1-3/+3
2023-09-28[clang] NFCI: Use `FileEntryRef` in `SourceManager::setFileIsTransient()`Jan Svoboda1-1/+1
2023-09-13[clang] NFCI: Use `FileEntryRef` in `SrcMgr::ContentCache`Jan Svoboda1-3/+3
2023-03-14[clang] Use *{Set,Map}::contains (NFC)Kazu Hirata1-3/+2
2023-01-14[clang] Use std::optional instead of llvm::Optional (NFC)Kazu Hirata1-10/+10
2023-01-14[clang] Add #include <optional> (NFC)Kazu Hirata1-0/+1
2022-12-20[Clang] Prepare for llvm::Optional becoming std::optional.Benjamin Kramer1-2/+2
2022-12-18Revert "[clang] Convert OptionalFileEntryRefDegradesToFileEntryPtr to std::op...Krzysztof Parzyszek1-3/+2
2022-12-17[clang] Convert OptionalFileEntryRefDegradesToFileEntryPtr to std::optionalKrzysztof Parzyszek1-2/+3
2022-12-08[clang] Use std::nullopt instead of None in comments (NFC)Kazu Hirata1-2/+2
2022-12-04[clang] Use std::nullopt instead of None in comments (NFC)Kazu Hirata1-5/+6
2022-12-03[Basic] Use std::nullopt instead of None (NFC)Kazu Hirata1-6/+7
2022-11-16When we run out of source locations, try to produce useful informationRichard Smith1-1/+5
2022-11-01[clang] NFC: Extract lower-level SourceManager functionsJan Svoboda1-9/+19
2022-10-05[clang] Update ModuleMap::getModuleMapFile* to use FileEntryRefBen Langmuir1-9/+13
2022-10-05Fix SourceManager::isBeforeInTranslationUnit bug with token-pastingSam McCall1-15/+19
2022-08-01Fixed a number of typosGabriel Ravier1-3/+3
2022-06-26Allow interfaces to operate on in-memory buffers with no source location info.Tapasweni Pathak1-3/+14
2022-04-25[Basic] SourceManager docs: macro expansion SLocs aren't a single token. NFCSam McCall1-15/+19
2022-04-22Revert "Revert "Revert "[clang][pp] adds '#pragma include_instead'"""Christopher Di Bella1-0/+1
2021-07-21[clang] Introduce SourceLocation::[U]IntTy typedefs.Simon Tatham1-48/+54
2021-01-25SourceManager: Migrate to FileEntryRef in getOrCreateContentCache, NFCDuncan P. N. Exon Smith1-1/+1
2021-01-14[clang] Use SourceLocations in unions [NFCI]Mikhail Maltsev1-18/+15
2020-12-09ARCMigrate: Migrate ObjCMT.cpp over to FileEntryRefDuncan P. N. Exon Smith1-0/+7
2020-12-09Frontend: Migrate to FileEntryRef in CompilerInstance::InitializeSourceManage...Duncan P. N. Exon Smith1-0/+4
2020-12-09Frontend: Migrate to FileEntryRef in VerifyDiagnosticConsumer.cpp, NFCDuncan P. N. Exon Smith1-0/+3
2020-11-30Serialization: Change InputFile to use FileEntryRef and add getVirtualFileRef...Duncan P. N. Exon Smith1-4/+3
2020-10-28Fix Wdocumentation unknown parameter warnings. NFCI.Simon Pilgrim1-3/+0