Fangrui Song
0f63be2418
Support BindingDecl and VarTemplate{,Partial}SpecializationDecl
6 years ago
Fangrui Song
8cce275206
Misc improvement to indexer
* Make CXXConstructor span one more column to left/right
* Use OrigD to collect Decl::Record members
* Better comment parsing
* Limit lines of initializers and macro definition to 3
* Attribute macro arg uses to spelling loc
* Remove FuncDef::declaring_type
6 years ago
Fangrui Song
ebf07265eb
Diagnostics
6 years ago
Fangrui Song
d743743282
Enable clangDriver in project.cc
https://bugs.llvm.org/show_bug.cgi?id=37695 is not fixed. But since we have eliminated libclang for indexing and completion the bug no longer bothers us.
6 years ago
Fangrui Song
b3d5ea8be5
Simplify
6 years ago
Fangrui Song
c4e22bde23
Use Clang C++ for completion and diagnostics
6 years ago
Fangrui Song
d1c90ec85a
$ccls/publishSemanticHighlighting: support both line/character-style and position-style ranges
6 years ago
Fangrui Song
a4dd5d0c44
Use Sema/CodeCompleteConsumer
6 years ago
Fangrui Song
d3536831c3
Fix FreeBSD build with -DUSE_SHARED_LLVM=off
6 years ago
Fangrui Song
aa9cdad54f
Use clangTooling
6 years ago
Fangrui Song
b759798e5d
Support uses from other files and improve references in macro replacement-list
6 years ago
Fangrui Song
24e99fd767
Cleanup
6 years ago
Fangrui Song
16448e98d1
Add some ObjC kinds
6 years ago
Fangrui Song
548f44dd79
Fix memberHierarchy
6 years ago
Fangrui Song
d816e1b918
$ccls/publishSemanticHighlighting: use pair<int,int> in place of lsRange
6 years ago
Fangrui Song
7ad03c22bd
cmake: remove -lc++experimental -ldl -lexecinfo
6 years ago
Fangrui Song
3e8f8fea64
clangIndex
6 years ago
Fangrui Song
32dad17e81
Remove submodule doctest
6 years ago
Fangrui Song
f9befbd5fb
pipeline
6 years ago
Fangrui Song
8e4d62212b
Misc changes to clangIndex
6 years ago
Fangrui Song
96e0f0fafa
clangIndex
6 years ago
Fangrui Song
9b54e5391c
Clean up clang_tu; retrieve comments with clang::ASTContext::getRawCommentForAnyRedecl
6 years ago
Fangrui Song
103aa711d3
First draft: replace libclang indexer with clangIndex
6 years ago
Fangrui Song
bc6a48c405
clang+llvm libs
6 years ago
Fangrui Song
a94788b89f
textDocument/references: add excludeRole
6 years ago
Fangrui Song
b784685c61
diagnostics
6 years ago
Fangrui Song
2682964039
Rename message files (e.g. ccls_call_hierarchy.cc -> ccls_callHierarchy.cc)
6 years ago
Fangrui Song
9852e618cd
Add all to textDocument/documentSymbol
6 years ago
Fangrui Song
7198db1777
Use ChangeStd{in,out}ToBinary
6 years ago
Fangrui Song
b6375de2f3
Display diagnostics from header files
6 years ago
Fangrui Song
a96d9613f4
Put `static const` into IndexVar::def (a definition is not required unless odr-used)
6 years ago
Fangrui Song
9b9bf1cd19
Fix .. in compdb path; better type alias
7 years ago
Fangrui Song
1830103ec6
Internalize strings & remove diagnostics_publisher.cc
7 years ago
Fangrui Song
d21476d7ee
Inject anonymous struct/union into parent scopes
7 years ago
Fangrui Song
732e002b13
Infer system include paths from CompilerInvocation
7 years ago
Fangrui Song
18fa5efa2a
Add Config->reparseForDependency
Specify 1 if for large projects you don't want to reparse dependents at load time when a common .h changes.
7 years ago
Fangrui Song
d165a0b0ea
Use clang::PrintingPolicy and remove type_printer
7 years ago
Fangrui Song
806a05b234
Add Config->largeFileSize; pure virtual or defaulted methods are definitions; fix $ccls/callHierarchy
7 years ago
Fangrui Song
f0559bba54
Remove Timer and PerformanceImportFile
7 years ago
Fangrui Song
34dc1e93e9
Remove WithFileContent & lex_utils.{cc,h}
7 years ago
Fangrui Song
da545f1139
$ccls/vars: differentiate local/field/parameter
7 years ago
Fangrui Song
bb08fdfa02
Remove $ccls/random; remove DB::symbols; decrease DB::entities grow rate
7 years ago
Fangrui Song
42bcf2b58f
$ccls/memberHierarchy: add field offset
7 years ago
Fangrui Song
a962061698
Simplify pipeline
7 years ago
Fangrui Song
cf0d16fa0c
Replace loguru with a custom logger
7 years ago
Fangrui Song
a6094ef714
Simplify; improve $ccls/inheritanceHierarchy
7 years ago
Fangrui Song
f5ce45fd55
filesystem.cc: deduplicate with UniqueID
7 years ago
Fangrui Song
6d96d9dce2
textDocument/references: include base references by default
7 years ago
Fangrui Song
c279090ac5
cmake: link against zlib; use StringMap
7 years ago
Fangrui Song
d2e0c7ca24
clean up clang_complete found by scturtle; clean up project
7 years ago