aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
AgeCommit message (Expand)AuthorFilesLines
2024-06-24[SourceManager] Expose max usage of source location space as a Statistic (#96...Ilya Biryukov1-0/+17
2024-06-13[Safe Buffers] Serialize unsafe_buffer_usage pragmas (#92031)Ziqing Luo1-0/+18
2024-05-18[clang][NFC] Further improvements to const-correctnessVlad Serebrennikov1-3/+3
2024-05-17[clang][NFC] Improve const-correctness in `SourceManager` (#92436)Vlad Serebrennikov1-0/+4
2023-11-06[clang] Improve `SourceManager::PrintStats()`Jan Svoboda1-5/+7
2023-10-23[Clang] Report an error and crash on source location exhaustion in macros (#6...Ilya Biryukov1-5/+11
2023-10-10Use llvm::endianness::{big,little,native} (NFC)Kazu Hirata1-1/+1
2023-10-06[clang][modules] Move `SLocEntry` search into `ASTReader` (#66966)Jan Svoboda1-65/+5
2023-10-06[Basic] Fix a warningKazu Hirata1-1/+2
2023-10-06[clang][modules] Remove preloaded SLocEntries from PCM files (#66962)Jan Svoboda1-66/+99
2023-10-03[clang] NFCI: Use `FileEntryRef` for `FileID` creation (#67838)Jan Svoboda1-14/+4
2023-09-30Introduce paged vector (#66430)Giulio Eulisse1-5/+5
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-2/+2
2023-09-29[clang] NFCI: Use `FileEntryRef` in `SourceManager::FileInfos` (#67742)Jan Svoboda1-3/+2
2023-09-28[clang] NFCI: Use `FileEntryRef` in `SourceManager::setFileIsTransient()`Jan Svoboda1-2/+2
2023-09-28[clang][Parser][NFC] Fix a doc comment mishapTimm Bäder1-1/+1
2023-09-13[clang] NFCI: Use `FileEntryRef` in `SrcMgr::ContentCache`Jan Svoboda1-1/+1
2023-09-08Reapply "[clang] NFCI: Adopt `SourceManager::getFileEntryRefForID()`"Jan Svoboda1-1/+1
2023-09-06Revert "[clang] NFCI: Adopt `SourceManager::getFileEntryRefForID()`"Jan Svoboda1-1/+1
2023-09-06[clang] NFCI: Adopt `SourceManager::getFileEntryRefForID()`Jan Svoboda1-1/+1
2023-05-24LLVM_FALLTHROUGH => [[fallthrough]]. NFCCraig Topper1-1/+1
2023-01-28Use llvm::count{lr}_{zero,one} (NFC)Kazu Hirata1-2/+1
2023-01-14[clang] Remove remaining uses of llvm::Optional (NFC)Kazu Hirata1-1/+0
2023-01-14[clang] Use std::optional instead of llvm::Optional (NFC)Kazu Hirata1-12/+12
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-10Don't include None.h (NFC)Kazu Hirata1-1/+0
2022-12-04Correct typo introduced in f607884a04b0ca06951227a01d00bc59b948d337serge-sans-paille1-1/+1
2022-12-03[Basic] Use std::nullopt instead of None (NFC)Kazu Hirata1-11/+11
2022-11-30[Basic] Fix a warningKazu Hirata1-1/+1
2022-11-30[clang] Speedup LineOffsetMapping::getserge-sans-paille1-23/+25
2022-11-16When we run out of source locations, try to produce useful informationRichard Smith1-0/+91
2022-11-08Fix duplicate word typos; NFCRageking81-1/+1
2022-10-18Fix incorrect check for running out of source locations.Paul Pluzhnikov1-1/+3
2022-10-15[clang] Fix a warningKazu Hirata1-4/+5
2022-10-07[SourceManager] Fix the incorrect counting stats in getFileIDLoaded.Haojian Wu1-2/+0
2022-10-07[SourceManager] Improve getFileIDLocal.Haojian Wu1-20/+17
2022-10-06[SourceManager] Improve getFileIDLoaded.Haojian Wu1-16/+18
2022-10-05[clang] Update ModuleMap::getModuleMapFile* to use FileEntryRefBen Langmuir1-5/+8
2022-10-05Fix SourceManager::isBeforeInTranslationUnit bug with token-pastingSam McCall1-28/+49
2022-08-27Avoid else-if after return, NFCJun Zhang1-4/+4
2022-08-10[clang] SourceManager: fix at SourceManager::getFileIDLoaded for the case of ...Ivan Murashko1-3/+6
2022-04-25[Basic] SourceManager docs: macro expansion SLocs aren't a single token. NFCSam McCall1-12/+10
2021-11-19[clang][NFC] Inclusive terms: replace some uses of sanity in clangZarko Todorovski1-8/+3
2021-11-09[clang] GCC directive extension extension: Hash NNN linesNathan Sidwell1-16/+18
2021-07-21[clang] Introduce SourceLocation::[U]IntTy typedefs.Simon Tatham1-30/+32
2021-04-09[clang][SourceManager] Fix -Wparentheses warning (NFC)Yang Fan1-2/+2