llvm-project/clang/unittests
Eric Liu e86a5f4c65 Make llvm::Error generated from replacement interfaces more specific.
Summary:
The new error information contains the type of error (e.g. overlap or bad file path)
and the replacement(s) that is causing the error. This enables us to resolve some errors.
For example, for insertion at the same location conflict, we need to know the
existing replacement which conflicts with the new replacement in order to calculate
the new position to be insert before/after the existing replacement (for merging).

Reviewers: klimek, bkramer

Subscribers: djasper, cfe-commits

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

llvm-svn: 287639
2016-11-22 13:46:42 +00:00
..
AST Make output of -ast-print a valid C++ code. 2016-11-10 08:49:37 +00:00
ASTMatchers [ASTMatcher] Add CXXNewExpr support to hasDeclaration 2016-10-31 22:04:07 +00:00
Analysis CFGTests: Update libdeps. 2016-07-08 17:06:27 +00:00
Basic [VFS] Replace TimeValue usage with std::chrono 2016-11-09 10:52:22 +00:00
CodeGen Make sure the LLVMContext outlive the CompilerInstance 2016-04-14 05:37:41 +00:00
Driver [Driver] Set the default driver mode based on the executable. 2016-08-12 17:47:52 +00:00
Format [clang-format] Fixed line merging of more than two lines 2016-11-15 15:07:07 +00:00
Frontend [Frontend] Allow attaching an external sema source to compiler instance and extra diags to TypoCorrections 2016-11-16 18:15:26 +00:00
Lex [Lexer] Don't merge macro args from different macro files 2016-05-19 23:44:02 +00:00
Rewrite Remove autoconf support 2016-01-26 21:30:40 +00:00
Sema [Sema] Allow an external sema source to handle delayed typo corrections. 2016-05-19 10:46:10 +00:00
StaticAnalyzer Add a method to get the list of registered static analyzer checkers. 2016-11-08 07:23:32 +00:00
Tooling Make llvm::Error generated from replacement interfaces more specific. 2016-11-22 13:46:42 +00:00
libclang Fixed more signed/unsigned mismatch warnings introduced in my change at r279076 2016-08-18 20:56:48 +00:00
CMakeLists.txt CFGBuilder: Fix crash when visiting a range-based for over a dependent type 2016-07-08 10:50:51 +00:00