aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2021-04-08[NFC] Fix warning introduced in 20105b6b4874a85813f7a4a3d8ad2a0f023dda14serge-sans-paille1-1/+1
2021-04-08[clang] Speedup line offset mapping computationserge-sans-paille1-11/+55
2021-04-07Revert "[clang] Speedup line offset mapping computation"Nico Weber1-53/+11
2021-04-07[clang] Speedup line offset mapping computationserge-sans-paille1-11/+53
2021-03-01Use a fast path when initializing LineOffsetMappingserge-sans-paille1-7/+10
2021-01-25SourceManager: Migrate to FileEntryRef in getOrCreateContentCache, NFCDuncan P. N. Exon Smith1-9/+7
2021-01-25SourceManager: Unify FileEntry/FileEntryRef versions of createFileIDDuncan P. N. Exon Smith1-5/+2
2020-12-23Basic: Add native support for stdin to SourceManager and FileManagerDuncan P. N. Exon Smith1-0/+1
2020-12-23Basic: Support named pipes natively in SourceManager and FileManagerDuncan P. N. Exon Smith1-19/+30
2020-11-30Serialization: Change InputFile to use FileEntryRef and add getVirtualFileRef...Duncan P. N. Exon Smith1-9/+7
2020-10-27FileManager: Shrink FileEntryRef to the size of a pointerDuncan P. N. Exon Smith1-1/+1
2020-10-26SourceManager: Use the same fake SLocEntry whenever it fails to loadDuncan P. N. Exon Smith1-3/+5
2020-10-26SourceManager: Fix an SLocEntry memory regression introduced with FileEntryRefDuncan P. N. Exon Smith1-1/+1
2020-10-26SourceManager: Return non-const references in getOrCreateContentCache and rel...Duncan P. N. Exon Smith1-38/+27
2020-10-23SourceManager: Simplify by inlining what remains of ComputeLineNumbers, NFCDuncan P. N. Exon Smith1-28/+10