Commit Graph

  • a10bb50f51 Begin cache restructure so it can be tested Jacob Dufault 2017-12-29 11:27:56 -0600
  • 3c0b2ff042 Move most of import_pipeline.cc into anonymous namespace Jacob Dufault 2017-12-29 10:45:10 -0600
  • c596e55dcc Cleanup some includes. Jacob Dufault 2017-12-29 10:29:47 -0600
  • 48f3c75053 Add using declaration to optional.h, include STL optional if available or fallback to third-party one. Jacob Dufault 2017-12-29 10:29:10 -0600
  • b6071004df Rename IndexMain to Indexer_Main Jacob Dufault 2017-12-29 09:56:34 -0600
  • d4ce12bb9a Add --use-clang-cxx to waf and move type printer to src/type_printer.cc Fangrui Song 2017-12-29 01:19:02 -0800
  • 59e79b3c42 Move entry_points.h into import_pipeline.h Jacob Dufault 2017-12-29 09:52:43 -0600
  • 36e7fa9a76 More work on e2e tests Jacob Dufault 2017-12-29 09:39:06 -0600
  • 2c10ed2669 Some renaming for e2e tests Jacob Dufault 2017-12-28 10:23:14 -0800
  • ad193b2ace Initialize ImportPipelineStatus::num_active_threads Jacob Dufault 2017-12-28 10:21:30 -0800
  • fd264310c2 [waf] Add -std=c++11 when CXXFLAGS is specified without -std= setting Fangrui Song 2017-12-28 22:23:59 -0800
  • 5029173c8a [waf] Add --use-clang-cxx in prep for using clang C++ API Fangrui Song 2017-12-28 21:42:33 -0800
  • 6636617b4d [comments] Import mpark/variant and make MarkedString a variant (#200) Fangrui Song 2017-12-28 15:21:40 -0800
  • 34052fbf27 [indexer] Index some references in ClassTemplate Fangrui Song 2017-12-28 10:53:13 -0800
  • 719c6c9ae9 Enhance index test selection filtering Jacob Dufault 2017-12-28 09:55:17 -0800
  • 4781e9a53d Move tests to index_tests Jacob Dufault 2017-12-28 09:42:55 -0800
  • 3ab2f2e2b7 Update formatting Jacob Dufault 2017-12-28 09:22:26 -0800
  • 7939aec743 Remove WorkThread::Result. Jacob Dufault 2017-12-28 09:18:54 -0800
  • 8468ef09c3 Reduce verbosity of index tests. Make it easier to identify failures. Jacob Dufault 2017-12-28 09:15:46 -0800
  • 5ace7e7062 Remove logging Jacob Dufault 2017-12-28 09:03:35 -0800
  • 792815b60a Update tests Jacob Dufault 2017-12-28 08:59:22 -0800
  • 243630ca2e wip Jacob Dufault 2017-12-28 08:55:46 -0800
  • 56135f615c [template] Attribute template parameter references to the parameter declaration. Class templates still do not work Fangrui Song 2017-12-28 00:37:10 -0800
  • cff432a223 [template] Index references to non-type template parameters Fangrui Song 2017-12-27 23:42:56 -0800
  • 32bcac38af Simplify LruCache a little bit. (#199) scturtle 2017-12-28 15:27:42 +0800
  • d7d8b820ac [template] Index template parameter references Fangrui Song 2017-12-27 22:58:01 -0800
  • f86de0b544 function signature: blacklist "typeof " Fangrui Song 2017-12-27 19:51:16 -0800
  • 6fa08b2b90 Refactor function signatures: fix infinite loop processing constructors Fangrui Song 2017-12-27 18:42:08 -0800
  • 8bdce31789 Produce detailed function signatures which include parameter names romix 2017-12-27 15:49:26 -0800
  • 3c6cf1017c [waf] Make --llvm-config set RPATH and detect clang resource dir with $(llvm-config --bindir)/clang (#196) Fangrui Song 2017-12-27 14:52:32 -0800
  • 9dde5041cb Always use -fparse-all-comments Jacob Dufault 2017-12-27 07:56:17 -0800
  • ef4af128fc Exit early if unit tests fail Jacob Dufault 2017-12-27 07:54:03 -0800
  • b8e7a5bcb3 Format code Jacob Dufault 2017-12-27 07:53:35 -0800
  • a84c863e5e Filter some completion results based on the input. Chao Shen 2017-12-26 16:44:27 +0800
  • 3df71f4145 [hover] Change the first MarkedString's language to "text" Fangrui Song 2017-12-25 21:48:28 -0800
  • 5a22a5cc66 [hover] Return comments and hover as two MarkedString's Fangrui Song 2017-12-25 21:26:03 -0800
  • 23bbe81b92 Un-indent extracted comments (#191) Fangrui Song 2017-12-25 11:20:47 -0800
  • 20c156f71d Make lsTextDocumentContentChangeEvent::{range,rangeLength} optional. fix #185 (#189) Fangrui Song 2017-12-25 00:58:26 -0800
  • bfccac525c Add experimental command line option --enable-comments to index comments and display them on textDocument/hover (#188) Fangrui Song 2017-12-24 18:47:39 -0800
  • 03b50ea3cc Serialize decl comments and use them in GetHoverForSymbol romix 2017-12-23 18:22:22 -0800
  • 338db49637 [waf] Add --variant=asan (#186) Fangrui Song 2017-12-24 16:24:26 -0800
  • 2ffc068760 Handle function calls from templates. fix #174 Fangrui Song 2017-12-24 14:23:58 -0800
  • dced34dd58 Reopen #174 Fangrui Song 2017-12-24 13:28:53 -0800
  • 4b9bc342f5 Fix called_id Fangrui Song 2017-12-24 10:43:32 -0800
  • 6a8537c2bf Handle function references in templates. fix #174 (#184) Fangrui Song 2017-12-24 10:27:17 -0800
  • dd4044998d Add TemplateVisitor to handle CXCursor_OverloadedDeclRef in templates Fangrui Song 2017-12-24 00:35:38 -0800
  • 09a23020de Update tests after detailed_name refinement: (anon) -> (anon struct)/(anon enum)/... Fangrui Song 2017-12-23 22:54:57 -0800
  • cdcf75ac84 Raise maxWorkspaceSearchResults to 500 and sort results even if the max number has been reached Fangrui Song 2017-12-23 22:49:45 -0800
  • b52ec9070c [workspace/symbol] Use short_name for sorting and detailed_name for displaying results Fangrui Song 2017-12-23 21:23:01 -0800
  • 24f428c670 [workspace/symbol] Sort candidates with a fuzzy matching algorithm (#182) Fangrui Song 2017-12-23 19:23:29 -0800
  • dce1365eb6 Move import pipeline into import_pipeline.cc Jacob Dufault 2017-12-23 17:30:52 -0800
  • f10521372b Initilize var.def.cls to unknown. scturtle 2017-12-24 09:17:02 +0800
  • cb7ccbe543 Change var.def.is_* to enum. scturtle 2017-12-24 08:49:11 +0800
  • f6d84cd68c Merge IpcManager and QueueManager Jacob Dufault 2017-12-23 16:25:18 -0800
  • 27b5816a7f Small doc updates Jacob Dufault 2017-12-23 15:42:54 -0800
  • 64f094d347 Move BuildWorkspaceEdit to text_document_rename.cc Jacob Dufault 2017-12-23 15:41:09 -0800
  • 2bc44d59f2 Add --wait-for-input. Jacob Dufault 2017-12-23 14:52:46 -0800
  • b69e32a749 Disable xcode 6.4 and g++-5 on macos Jacob Dufault 2017-12-23 08:32:27 -0800
  • 1bf47e97f9 Enable --test-unit and --test-index on CI Jacob Dufault 2017-12-22 09:17:16 -0800
  • af5ae31c34 Don't emit more diagnostics after hitting -ferror-limit Fangrui Song 2017-12-23 15:20:13 -0800
  • c04c9fa750 Don't emit more diagnostics after hitting -ferror-limit Fangrui Song 2017-12-23 15:08:36 -0800
  • 9362b4539f Fix symlink creation on Windows. Riatre Foo 2017-12-24 02:38:48 +0800
  • 1056869ffa Remove dependency on builtin clang_resource_dir. Riatre Foo 2017-12-24 02:37:37 +0800
  • f9f4020f3c Update tests after improvement of function type heuristic Fangrui Song 2017-12-23 10:29:23 -0800
  • 646d154b9b Better heuristics, noexcept specifier and C11 _Atomic specifier Fangrui Song 2017-12-23 09:57:12 -0800
  • 156d4891c3 [hover] Better heuristics to insert function name right before the paren pair enclosing parameters (#178) Fangrui Song 2017-12-23 09:29:13 -0800
  • fb491e6c6d Format using clang format 4.0.0 Jacob Dufault 2017-12-23 08:01:43 -0800
  • 4aeb6acf04 Test improvements: Jacob Dufault 2017-12-23 07:51:34 -0800
  • 6538274e66 Update tests Jacob Dufault 2017-12-23 07:36:08 -0800
  • 0985613d16 Add is_global and is_member. Chao Shen 2017-12-23 10:10:23 +0800
  • 2056e44d22 Insert qualified name right before matching paren ( of last ) in function's type spelling Fangrui Song 2017-12-22 15:48:27 -0800
  • 9d4cf2a351 Update tests Fangrui Song 2017-12-22 14:56:16 -0800
  • c3c0feecb2 [indexer] Make hover optional (#176) Fangrui Song 2017-12-22 14:48:55 -0800
  • ba4a5e91cb [indexer] Remove IsLocalSemanticContainer check in qualified names Fangrui Song 2017-12-22 09:21:53 -0800
  • ea323a3b4b Actually skip the test Jacob Dufault 2017-12-22 09:14:11 -0800
  • 43b44bb5e5 Fix outline test on debian Jacob Dufault 2017-12-22 09:08:02 -0800
  • b4b45d36b5 Only run Objective-C tests on Apple platforms Jacob Dufault 2017-12-22 09:07:21 -0800
  • fd7c01796c Do not include path in lambda detail/hover string Jacob Dufault 2017-12-22 08:59:37 -0800
  • 36ea900258 Remove tests/stl.cc. Jacob Dufault 2017-12-22 08:49:13 -0800
  • e1ac3103a8 Add TEXT_REPLACE in index tests. Jacob Dufault 2017-12-22 08:48:12 -0800
  • ee30f8f73e Update class.m test Jacob Dufault 2017-12-22 08:46:22 -0800
  • a97abff569 Update tests Jacob Dufault 2017-12-22 08:26:27 -0800
  • d7a183c796 Try to keep semantic highlighting colors stable across open files. Jacob Dufault 2017-12-22 07:29:13 -0800
  • 043e9a4d44 [indexer] Fix hover info of class member functions Fangrui Song 2017-12-21 22:46:45 -0800
  • 57b95d8a8c Update README.md walter erquinigo 2017-12-21 16:07:32 -0800
  • ca02ee4339 [waf] Support --bundled-clang=5.0.1 Fangrui Song 2017-12-21 18:52:16 -0800
  • ba1ca37326 [indexer] Make $cquery/base find correct overriden functions (#169) Fangrui Song 2017-12-20 23:18:48 -0800
  • 6aefa9b114 [indexer] Handle unnamed namespaces Fangrui Song 2017-12-20 19:52:34 -0800
  • 6e231628fe Specify lambda return type to work around clang 3.5 build issue Fangrui Song 2017-12-20 19:28:57 -0800
  • 3410f9769c textDocument/definitions: on a variable definition, get both declarations and variable_type definition. Fangrui Song 2017-12-19 22:20:44 -0800
  • 519abd1090 Make a couple of tests consistent across platforms Jacob Dufault 2017-12-20 10:29:58 -0800
  • b75875a83e Fix CI Jacob Dufault 2017-12-20 10:27:10 -0800
  • cb6aa5f1c9 Fix some warnings in tests. Jacob Dufault 2017-12-20 09:43:26 -0800
  • e26f1caaba Some changes to index tests: Jacob Dufault 2017-12-20 09:10:57 -0800
  • 4bf8dbe3ea Move std::cin.tie to main Jacob Dufault 2017-12-20 09:09:05 -0800
  • ee78b527ae [indexer] Treat empty short_name as implicit call which should not be included in all_symbols Fangrui Song 2017-12-19 22:20:44 -0800
  • 1dfa88ed1c Update third_party dependencies to FreeBSD buildable versions Fangrui Song 2017-12-19 20:24:41 -0800
  • b574dcb83f update readme Joel Hock 2017-12-19 00:27:15 -0600
  • 4b420c53d3 add unit test Joel Hock 2017-12-19 00:16:21 -0600
  • bea5b38bc5 /.cquery file parsing fixes Joel Hock 2017-12-18 23:25:25 -0600