llvm-project/clang/test
Ilya Biryukov ef4ece75fd [CodeComplete] Fix completion in the middle of ident in ctor lists.
Summary:
The example that was broken before (^ designates completion points):

    class Foo {
      Foo() : fie^ld^() {} // no completions were provided here.
      int field;
    };

To fix it we don't cut off lexing after an identifier followed by code
completion token is lexed. Instead we skip the rest of identifier and
continue lexing.
This is consistent with behavior of completion when completion token is
right before the identifier.

Reviewers: sammccall, aaron.ballman, bkramer, sepavloff, arphaman, rsmith

Reviewed By: aaron.ballman

Subscribers: cfe-commits

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

llvm-svn: 330833
2018-04-25 15:13:34 +00:00
..
ARCMT [ObjC] Allow declaring __strong pointer fields in structs in Objective-C 2018-02-28 07:15:55 +00:00
ASTMerge Fix typos in clang 2018-04-06 15:14:32 +00:00
Analysis [analyzer] Add support for the note diagnostic pieces to plist output format. 2018-04-24 20:45:48 +00:00
CXX DR727: remove wrong assertion for use of class-scope explicit 2018-04-23 18:38:30 +00:00
CodeCompletion [CodeComplete] Fix completion in the middle of ident in ctor lists. 2018-04-25 15:13:34 +00:00
CodeGen add check for long double for __builtin_dump_struct 2018-04-25 10:09:20 +00:00
CodeGenCUDA Fix failure in lit test kernel-call.cu due to name mangling 2018-04-25 13:07:58 +00:00
CodeGenCXX [Solaris] __float128 is supported on Solaris/x86 2018-04-23 09:28:08 +00:00
CodeGenCoroutines [coroutines] Add __builtin_coro_noop => llvm.coro.noop 2018-04-02 17:35:37 +00:00
CodeGenObjC [CodeGen] Fix a crash that occurs when a non-trivial C struct with a 2018-04-16 20:23:52 +00:00
CodeGenObjCXX [Sema][ObjC] Ensure that the return type of an ObjC method is a complete 2018-04-12 06:01:41 +00:00
CodeGenOpenCL Fix some tests that were failing on Windows 2018-04-20 15:33:44 +00:00
Coverage
CoverageMapping [Coverage] Handle break/continue outside of loop bodies 2018-02-16 07:59:43 +00:00
Driver Revert "[Driver] Android triples are not aliases for other triples." 2018-04-24 22:06:40 +00:00
FixIt [Parser][FixIt] Better diagnostics for "typedef" instead of "typename" typo 2018-02-08 14:37:58 +00:00
Format [clang-format] Fix bug where -dump-config failed on ObjC header 2018-01-29 17:36:43 +00:00
Frontend Improve checks in test/Frontend/ftime-report-template-decl.cpp 2018-04-23 18:05:35 +00:00
Headers Fix typos in clang 2018-04-06 15:14:32 +00:00
Import [ASTImporter] Support LambdaExprs and improve template support 2018-01-26 11:36:54 +00:00
Index [CodeComplete] Fix completion at the end of keywords 2018-04-24 13:48:53 +00:00
Integration
Layout DR1672, DR1813, DR1881, DR2120: Implement recent fixes to "standard 2018-04-05 18:55:37 +00:00
Lexer hwasan: add -fsanitize=kernel-hwaddress flag 2018-04-13 18:05:21 +00:00
Misc Add tests for llvm-bcanalyzer stream types 2018-04-22 00:04:35 +00:00
Modules [ODRHash] Hash template arguments of methods. 2018-04-25 00:31:15 +00:00
OpenMP [OPENMP] Do not cast captured by value variables with pointer types in 2018-04-23 17:33:41 +00:00
PCH Add tests for llvm-bcanalyzer stream types 2018-04-22 00:04:35 +00:00
Parser [c++2a] [concepts] Add rudimentary parsing support for template concept declarations 2018-04-25 02:42:26 +00:00
Preprocessor [HIP] Add predefined macros __HIPCC__ and __HIP_DEVICE_COMPILE__ 2018-04-25 13:33:19 +00:00
Profile [PGO] Detect more structural changes with the stable hash 2017-11-14 23:56:53 +00:00
Refactor [refactor][extract] avoid extracting expressions from types in functions 2017-11-14 18:59:01 +00:00
Rewriter
Sema [Attr] Print enum attributes at correct position 2018-04-24 14:50:23 +00:00
SemaCUDA Fix typos in clang 2018-04-06 15:14:32 +00:00
SemaCXX Improve -Warray-bounds to handle multiple array extents rather than only handling the top-most array extent. 2018-04-24 19:21:04 +00:00
SemaObjC [Sema] Warn about memcpy'ing non-trivial C structs. 2018-04-17 19:13:41 +00:00
SemaObjCXX [Sema][ObjC] Ensure that the return type of an ObjC method is a complete 2018-04-12 06:01:41 +00:00
SemaOpenCL [OpenCL] Add "cles_khr_int64" extension. 2018-01-26 11:48:46 +00:00
SemaTemplate Fix some handling of AST nodes with diagnostics. 2018-03-28 04:16:13 +00:00
TableGen TableGen: Give up on exact fixits for diagnostic groups 2018-03-06 17:55:00 +00:00
Templight [Templight] Template Instantiation Observer 2018-02-10 14:04:45 +00:00
Tooling Fix test clang-diff-json.cpp 2018-02-10 21:28:55 +00:00
Unit [lit] Set shlibpath_var on Solaris 2017-11-27 13:33:19 +00:00
VFS [vfs] Don't bail out after a missing -ivfsoverlay file 2018-03-23 17:37:27 +00:00
clang-rename
.clang-format
CMakeLists.txt [ThinLTO/CFI] Include TYPE_ID summaries into GLOBALVAL_SUMMARY_BLOCK 2018-02-14 22:41:15 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [debuginfo] Remove temporary FIXME. 2017-12-14 22:12:46 +00:00
lit.site.cfg.py.in
make_test_dirs.pl