llvm-project/clang/lib/StaticAnalyzer/Frontend
Duncan P. N. Exon Smith af4fb416bd clang/StaticAnalyzer: Stop using SourceManager::getBuffer
Update clang/lib/StaticAnalyzer to stop relying on a `MemoryBuffer*`,
using the `MemoryBufferRef` from `getBufferOrNone` or the
`Optional<MemoryBufferRef>` from `getBufferOrFake`, depending on whether
there's logic for checking validity of the buffer. The change to
clang/lib/StaticAnalyzer/Core/IssueHash.cpp is potentially a
functionality change, since the logic was wrong (it checked for
`nullptr`, which was never returned by the old API), but if that was
reachable the new behaviour should be better.

Differential Revision: https://reviews.llvm.org/D89414
2020-10-15 00:34:24 -04:00
..
AnalysisConsumer.cpp clang/StaticAnalyzer: Stop using SourceManager::getBuffer 2020-10-15 00:34:24 -04:00
AnalyzerHelpFlags.cpp [analyzer][NFC] Move the data structures from CheckerRegistry to the Core library 2020-07-04 12:31:51 +02:00
CMakeLists.txt [openmp] Base of tablegen generated OpenMP common declaration 2020-06-23 10:32:32 -04:00
CheckerRegistry.cpp [analyzer] Force dependency checkers to be hidden 2020-07-06 13:05:45 +02:00
CreateCheckerManager.cpp [analyzer][NFC] Move the data structures from CheckerRegistry to the Core library 2020-07-04 12:31:51 +02:00
FrontendActions.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
ModelConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ModelInjector.cpp Move ASTRecordReader into its own header; NFC. 2019-12-14 03:28:23 -05:00
ModelInjector.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00