llvm-project/clang/lib
Eric Liu 40ef2fb363 Implement tooling::Replacements as a class.
Summary:
- Implement clang::tooling::Replacements as a class to provide interfaces to
  control how replacements for a single file are combined and provide guarantee
  on the order of replacements being applied.
- tooling::Replacements only contains replacements for the same file now.
  Use std::map<std::string, tooling::Replacements> to represent multi-file
  replacements.
- Error handling for the interface change will be improved in followup patches.

Reviewers: djasper, klimek

Subscribers: cfe-commits

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

llvm-svn: 277335
2016-08-01 10:16:37 +00:00
..
ARCMigrate [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
AST Reapply r276069 with workaround for MSVC 2013 2016-07-30 22:33:34 +00:00
ASTMatchers [ASTMatcher] Add templateName matcher. 2016-07-29 15:45:11 +00:00
Analysis [analyzer] Add basic capabilities to detect source code clones. 2016-07-26 18:13:12 +00:00
Basic [OpenCL] Add extension cl_khr_mipmap_image to clang 2016-07-29 17:52:34 +00:00
CodeGen Fix VS2013 build of CGOpenMPRuntime.cpp 2016-07-30 00:41:37 +00:00
Driver [CUDA] Unswitch enumerators in the selection of the offloading tool chain. 2016-07-28 22:42:42 +00:00
Edit [OpenCL] Generate opaque type for sampler_t and function call for the initializer 2016-07-28 19:26:30 +00:00
Format Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
Frontend Initial vectorization support for svml calls (short vector math library). 2016-07-29 16:44:24 +00:00
FrontendTool Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
Headers Add more gcc compatibility names to clang's cpuid.h 2016-07-31 20:23:23 +00:00
Index [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Lex Revert r276973 "Adjust Registry interface to not require plugins to export a registry" 2016-07-28 17:17:22 +00:00
Parse Ensure Ident_GNU_final is properly initialized in the Parser Initialize function 2016-07-29 20:01:12 +00:00
Rewrite Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Sema Reapply r276069 with workaround for MSVC 2013 2016-07-30 22:33:34 +00:00
Serialization Reapply r276069 with workaround for MSVC 2013 2016-07-30 22:33:34 +00:00
StaticAnalyzer [analyzer] Update APIs taking user-facing strings. 2016-07-30 16:16:51 +00:00
Tooling Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
CMakeLists.txt