teak-llvm/clang/test
Logan Chien d3d385d624 Frontend: Fix SourceColumnMap assertion failure on non-ascii characters.
If there are some non-ascii character in the input source code, the
column index might be smallar than the byte index.  This will result
in two possible assertion failures.  This CL fixes the computation of
the column index and byte index.

1. The assertion in startOfNextColumn() and startOfPreviousColumn()
   should not be raised when the byte index is greater than the column
   index since the non-ascii characters may use more than one bytes to
   store a character in a column.

2. The length of the caret line should be equal to the number of columns
   of source line, instead of the length of the source line.  Otherwise,
   the assertion in selectInterestingSourceRegion will be raised because
   the removed columns plus the kept columns are not greater than the max
   column, which means that we should not remove any column at all.

llvm-svn: 225442
2015-01-08 13:19:07 +00:00
..
Analysis [CallGraph] Make sure the edges are not missed due to re-declarations 2014-12-17 00:34:07 +00:00
ARCMT Objective-C SDK modernizer. When modernizing an enum to 2014-12-10 18:25:24 +00:00
ASTMerge
CodeCompletion
CodeGen R600: Handle amdgcn triple 2015-01-06 20:34:47 +00:00
CodeGenCUDA IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
CodeGenCXX Slightly simplify the test from r225361. 2015-01-07 18:47:51 +00:00
CodeGenObjC IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
CodeGenObjCXX Have the driver and the target code agree on what the default ABI 2014-12-05 01:06:59 +00:00
CodeGenOpenCL Add __builtin_amdgpu_class 2015-01-06 23:14:57 +00:00
Coverage clang/test/Coverage/html-diagnostics.c: Use find(1) to avoid globbing. 2014-11-04 13:05:10 +00:00
CoverageMapping InstrProf: Don't emit coverage for uninstantiated templates 2014-11-18 00:34:46 +00:00
CXX Don't crash on an invalid trailing return type on a function before a '...' 2014-12-30 02:06:40 +00:00
Driver [PowerPC] Add support for -mcmpb 2015-01-06 23:06:41 +00:00
FixIt PR21969: Improve diagnostics for a conversion function that has any pieces of a 2014-12-19 02:07:47 +00:00
Format
Frontend Frontend: Fix SourceColumnMap assertion failure on non-ascii characters. 2015-01-08 13:19:07 +00:00
Headers Add more feature flags to the x86 instrinsic test. 2014-12-27 06:59:44 +00:00
Index Teach compile_commands.json test that windows-gnu is the new name for mingw32. 2014-12-17 11:04:07 +00:00
Integration
Layout Test case B: fixed check rule 2014-10-21 08:16:42 +00:00
Lexer Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
Misc Attempt to fix test from r225423 to get build bots green. 2015-01-08 02:40:08 +00:00
Modules Remove unused test input. 2014-12-23 19:30:13 +00:00
OpenMP [OPENMP] Bugfix for processing of global variables in OpenMP regions. 2014-12-16 07:00:22 +00:00
Parser Parse: __attribute__((keyword)) shouldn't error 2015-01-03 19:41:00 +00:00
PCH Do not warn on keyword undef 2014-12-12 06:37:55 +00:00
Preprocessor [multilib] Teach Clang's code about multilib by threading 2014-12-29 12:09:08 +00:00
Profile IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
Rewriter Objective-C modern rewriter. Patch to fix a rewriting bug 2014-10-28 23:46:58 +00:00
Sema Handle OpaqueValueExprs more intelligently in the TransformTypos tree 2015-01-07 21:16:39 +00:00
SemaCUDA Consider calls from implict host device functions as valid in SemaCUDA. 2014-12-16 20:12:38 +00:00
SemaCXX Handle OpaqueValueExprs more intelligently in the TransformTypos tree 2015-01-07 21:16:39 +00:00
SemaObjC Objective-C: Serialize "more than one decl" state of ObjCMethodList. 2014-12-27 22:14:15 +00:00
SemaObjCXX Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
SemaOpenCL Workaround attribute ordering issue with kernel only attributes 2014-12-05 18:03:58 +00:00
SemaTemplate Instantiation of a CXXMethodDecl may fail when the parameter type cannot be instantiated. Do not crash in this case. Fixes PR22040! 2015-01-02 01:33:12 +00:00
TableGen
Tooling Remove "REQUIRES:shell" from tests. They work for me. 2014-11-04 13:41:33 +00:00
Unit
VFS IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
.clang-format
CMakeLists.txt
cxx-sections.data
lit.cfg Fix lit for builds under /opt 2015-01-05 19:59:24 +00:00
lit.site.cfg.in
make_test_dirs.pl
Makefile Fix makefile for debuginfo-tests execution. 2014-10-17 23:50:47 +00:00
TestRunner.sh