llvm-capstone/clang/tools
Duncan P. N. Exon Smith 74a8783480 SourceManager: Clarify that FileInfo always has a ContentCache, NFC
It turns out that `FileInfo` *always* has a ContentCache. Clarify that
in the code:
- Update the private version of `SourceManager::createFileID` to take a
  `ContentCache&` instead of `ContentCache*`, and rename it to
  `createFileIDImpl` for clarity.
- Change `FileInfo::getContentCache` to return a reference.

Differential Revision: https://reviews.llvm.org/D89554
2020-10-23 12:38:53 -04:00
..
arcmt-test Revert "Use InitLLVM to setup a pretty stack printer" 2019-11-25 21:06:56 -05:00
c-arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-index-test Expose AtomicType in the libclang C API. 2020-04-16 08:06:58 -04:00
clang-check Add -ast-dump-decl-types flag to include types of value and type 2020-06-22 16:47:51 -07:00
clang-diff clang-{tools,unittests}: Stop using SourceManager::getBuffer, NFC 2020-10-15 00:35:16 -04:00
clang-extdef-mapping [NFC] Add missing 'override's 2020-07-20 19:52:49 -07:00
clang-format clang-format: Assert in-memory file created in createInMemoryFile, NFC 2020-10-16 10:20:32 -04:00
clang-format-vs clang-format-vs : Fix Unicode formatting 2019-11-27 09:58:59 +01:00
clang-fuzzer [AIX] Turn -fdata-sections on by default in Clang 2020-10-14 15:58:31 +00:00
clang-import-test clang-{tools,unittests}: Stop using SourceManager::getBuffer, NFC 2020-10-15 00:35:16 -04:00
clang-offload-bundler [HIP] Align device binary 2020-10-02 18:10:44 -04:00
clang-offload-wrapper [CMake] Make intrinsics_gen dependency unconditional. 2020-07-17 16:43:17 -07:00
clang-refactor Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00
clang-rename Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
clang-scan-deps [NFC] Add missing 'override's 2020-07-20 19:52:49 -07:00
clang-shlib [clang-shlib] Don't link with static clang libraries 2020-07-10 14:28:05 -07:00
diag-build
diagtool Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" 2020-10-19 17:48:04 -04:00
driver [Driver] Clean up -gz & --compress-debug-sections 2020-10-19 23:06:33 -07:00
libclang SourceManager: Clarify that FileInfo always has a ContentCache, NFC 2020-10-23 12:38:53 -04:00
scan-build [analyzer] scan-build: Fix silencing multiple core checkers. 2020-07-18 10:37:00 -07:00
scan-build-py scan-build-py: fix multiprocessing error 2020-09-05 11:10:14 -07:00
scan-view [scan-view] Explicitly use utf-8 in send_string 2020-09-07 09:26:38 +02:00
CMakeLists.txt [MinGW][clang-shlib] Build only when LLVM_LINK_LLVM_DYLIB is enabled 2020-10-12 23:28:23 +03:00