llvm-project/clang/unittests/Basic
Ben Langmuir d038bb196c [clang] Fix redirection behaviour for cached FileEntryRef
In 6a79e2ff19 we changed Filemanager::getEntryRef() to return the
redirecting FileEntryRef instead of looking through the redirection.
This commit fixes the case when looking up a cached file path to also
return the redirecting FileEntryRef. This mainly affects the behaviour
of calling getNameAsRequested() on the resulting entry ref.

Differential Revision: https://reviews.llvm.org/D131273
2022-08-05 12:23:38 -07:00
..
CMakeLists.txt [clang] Emit SARIF Diagnostics: Create `clang::SarifDocumentWriter` interface 2022-07-18 08:37:59 -04:00
CharInfoTest.cpp Cleanup identifier parsing; NFC 2021-09-14 09:12:22 -04:00
DarwinSDKInfoTest.cpp [clang, clang-tools-extra] Use has_value instead of hasValue (NFC) 2022-07-12 22:47:41 -07:00
DiagnosticTest.cpp Implement soft reset of the diagnostics engine. 2022-06-24 14:46:54 +00:00
FileEntryTest.cpp [clang] Add FileEntryRef::getNameAsRequested() 2022-08-03 09:41:08 -07:00
FileManagerTest.cpp [clang] Fix redirection behaviour for cached FileEntryRef 2022-08-05 12:23:38 -07:00
LineOffsetMappingTest.cpp [clang][unittest] Don't hardcode the string "Assertion" 2020-10-26 18:10:56 +01:00
SanitizersTest.cpp [clang][cli] Generate and round-trip language options 2021-02-09 10:18:55 +01:00
SarifTest.cpp Use value instead of getValue (NFC) 2022-07-19 21:18:26 -07:00
SourceManagerTest.cpp Allow interfaces to operate on in-memory buffers with no source location info. 2022-06-26 13:21:23 +00:00