forked from OSchip/llvm-project
af4fb416bd
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 |
||
---|---|---|
.. | ||
AnalysisConsumer.cpp | ||
AnalyzerHelpFlags.cpp | ||
CMakeLists.txt | ||
CheckerRegistry.cpp | ||
CreateCheckerManager.cpp | ||
FrontendActions.cpp | ||
ModelConsumer.cpp | ||
ModelInjector.cpp | ||
ModelInjector.h |