llvm-project/clang/tools
Dmitri Gribenko 84dd9f4d5b [libclang] Refactored SharedParsedRegionsStorage
Summary:
Removed the `PPRegionSetTy` typedef because it is only used 3 times, and
obscures code more than it helps.

Renamed SharedParsedRegionsStorage to ThreadSafeParsedRegions, because
that better reflects the reason for this type to exist.

Replaced the `copyTo()` method that had an out parameter with a getter.

Renamed the `merge()` method to `addParsedRegions()`.

Renamed `ParsedSrcLocationsTracker::ParsedRegions` to
`ParsedRegionsSnapshot`, which better reflects its role.

Subscribers: arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D67077

llvm-svn: 371041
2019-09-05 09:48:39 +00:00
..
arcmt-test ArrayRef'ized CompilerInvocation::CreateFromArgs 2019-08-27 22:13:31 +00:00
c-arcmt-test [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
c-index-test [Index] Stopped wrapping FrontendActions in libIndex and its users 2019-08-29 11:43:05 +00:00
clang-check [Driver] Use shared singleton instance of DriverOptTable 2019-09-04 14:26:28 +00:00
clang-diff [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
clang-extdef-mapping [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
clang-format [clang] Adopt new FileManager error-returning APIs 2019-08-01 21:31:56 +00:00
clang-format-vs clang-format extension: Widen the supported versions range 2019-06-13 07:07:24 +00:00
clang-fuzzer [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
clang-import-test ArrayRef'ized CompilerInvocation::CreateFromArgs 2019-08-27 22:13:31 +00:00
clang-offload-bundler [Clang][Bundler] Do not require host triple for extracting device bundles 2019-08-28 01:26:13 +00:00
clang-refactor Changed FrontendActionFactory::create to return a std::unique_ptr 2019-08-29 16:38:36 +00: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 [clang-scan-deps] NFC, refactor the DependencyScanningWorker to use a consumer 2019-08-30 01:25:57 +00:00
clang-shlib Revert [clang-shlib] Fix clang-shlib for PRIVATE dependencies 2019-07-12 17:23:35 +00:00
diag-build
diagtool [diagtool] Use `operator<<(Colors)` to print out colored output. 2019-08-08 07:04:01 +00:00
driver [Driver] Use shared singleton instance of DriverOptTable 2019-09-04 14:26:28 +00:00
libclang [libclang] Refactored SharedParsedRegionsStorage 2019-09-05 09:48:39 +00:00
scan-build [analyzer] scan-build: handle --sysroot=/path in addition to --sysroot /path. 2019-09-05 00:44:56 +00:00
scan-build-py [tools] Fix python DeprecationWarning: invalid escape sequence 2019-02-11 15:03:17 +00:00
scan-view [clang-scan-view] Force utf-8 when handling report (python2 only) 2019-07-16 08:56:47 +00:00
CMakeLists.txt [clang-scan-deps] initial outline of the tool that runs preprocessor to find 2019-06-12 21:32:49 +00:00