Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track data flow into variables and function returns #146

Open
wants to merge 315 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
315 commits
Select commit Hold shift + click to select a range
98a4ef5
Import cmake improvement by Daan De Meyer
MaskRay Apr 6, 2018
992b3cc
Use clang_File_tryGetRealPathName
MaskRay Apr 7, 2018
6e68e9e
Simplify
MaskRay Apr 8, 2018
8d19e0a
Remove import_manager.cc
MaskRay Apr 8, 2018
75638b5
Simplify Position & Range; prettify Maybe; remove file_contents.{h,cc}
MaskRay Apr 8, 2018
2a06fb5
Better definition/references on #include lines
MaskRay Apr 8, 2018
97b1592
Simplify lsp.h and fix qual_name_offset when SetVarDetail is called o…
MaskRay Apr 8, 2018
236e7c1
Simplify indexer and query
MaskRay Apr 9, 2018
fa4b8c7
Remove eyesore
MaskRay Apr 10, 2018
a7c89fb
Catch filesystem_error
MaskRay Apr 11, 2018
d45c057
Backport recent update of completion
MaskRay Apr 14, 2018
f8752cd
Add caseSensitivity to config->{completion,workspaceSymbol}
MaskRay Apr 14, 2018
2c4d387
MessagePack -> custom binary format
MaskRay Apr 14, 2018
4d519dc
Update loguru
MaskRay Apr 15, 2018
fa9df5b
Remove variant and clean up
MaskRay Apr 16, 2018
b4cca89
using SIGSTOP (avoid interactive signal blocking) (#2)
amosbird Apr 18, 2018
d821ac3
Merge {timestamp_manager,iindexer}.{cc,h}; remove standard_includes.*…
MaskRay Apr 22, 2018
01f1064
Improve workspace/symbol sorting heuristic
MaskRay Apr 30, 2018
fac5c56
Use usr as primary key and remove id; simplify import pipeline
MaskRay Apr 30, 2018
d337d9b
.
MaskRay May 2, 2018
ccb5cba
.
MaskRay May 4, 2018
86efddf
README
MaskRay May 5, 2018
984c636
Redesign import_pipeline.cc and mitigate race (duplicate Query*::uses…
MaskRay May 5, 2018
a4a0712
Reflect optional by Brandon Tolsch
MaskRay May 8, 2018
04a848e
Add CLANG_USE_BUNDLED_LIBC++ to cmake
scturtle May 8, 2018
b55819a
Random changes. (#6)
scturtle May 8, 2018
7243364
Fix file_id. (#8)
scturtle May 8, 2018
bac704f
Backport and cleanup
MaskRay May 9, 2018
99e7c56
cmake: make FreeBSD 11,12 build
MaskRay May 11, 2018
224ba97
Use clang+llvm C++ in cmake; parse args with clang driver
MaskRay May 12, 2018
87dcb8f
clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz.SHA256 -> 16.04
MaskRay May 13, 2018
d3a36a4
Use llvm::cl and simplify main.cc import_pipeline.cc
MaskRay May 13, 2018
f145c44
experimental/filesystem -> LLVM/Support/FileSystem.h; sparsepp -> Den…
MaskRay May 13, 2018
576959e
Congratulations to Tea Deliverers
MaskRay May 14, 2018
19d0aad
clean up clang_complete found by scturtle; clean up project
MaskRay May 14, 2018
ba45e7c
cmake: link against zlib; use StringMap
MaskRay May 15, 2018
4e2f648
textDocument/references: include base references by default
MaskRay May 17, 2018
32bde07
filesystem.cc: deduplicate with UniqueID
MaskRay May 20, 2018
07f0cdb
Simplify; improve $ccls/inheritanceHierarchy
MaskRay May 26, 2018
8fabe3d
Replace loguru with a custom logger
MaskRay May 27, 2018
c9f0b65
Simplify pipeline
MaskRay May 28, 2018
23c9c3a
$ccls/memberHierarchy: add field offset
MaskRay May 29, 2018
b35d3c8
Remove $ccls/random; remove DB::symbols; decrease DB::entities grow rate
MaskRay May 30, 2018
ec00f85
$ccls/vars: differentiate local/field/parameter
MaskRay May 31, 2018
39a17a9
Remove WithFileContent & lex_utils.{cc,h}
MaskRay Jun 1, 2018
a36e548
Remove Timer and PerformanceImportFile
MaskRay Jun 1, 2018
6658010
Add Config->largeFileSize; pure virtual or defaulted methods are defi…
MaskRay Jun 1, 2018
7b1ff44
Use clang::PrintingPolicy and remove type_printer
MaskRay Jun 1, 2018
0decb01
Add Config->reparseForDependency
MaskRay Jun 2, 2018
1341266
Infer system include paths from CompilerInvocation
MaskRay Jun 3, 2018
c8a81ae
Inject anonymous struct/union into parent scopes
MaskRay Jun 6, 2018
e5d8153
Internalize strings & remove diagnostics_publisher.cc
MaskRay Jun 8, 2018
6a1902a
Fix .. in compdb path; better type alias
MaskRay Jun 9, 2018
c5dc759
Put `static const` into IndexVar::def (a definition is not required u…
MaskRay Jun 17, 2018
559a68a
Display diagnostics from header files
MaskRay Jun 23, 2018
207e79e
Use ChangeStd{in,out}ToBinary
MaskRay Jul 1, 2018
8a9640a
Add all to textDocument/documentSymbol
MaskRay Jul 1, 2018
0df5a2c
rename
MaskRay Jul 3, 2018
6a8837d
diagnostics
MaskRay Jul 3, 2018
f81454b
textDocument/references: add excludeRole
MaskRay Jul 5, 2018
775c72b
clang+llvm libs
MaskRay Jul 7, 2018
7dd0241
First draft: replace libclang indexer with clangIndex
MaskRay Jul 6, 2018
2196e17
Clean up clang_tu
MaskRay Jul 7, 2018
df02c29
clangIndex
MaskRay Jul 7, 2018
cc65ea9
Misc changes to clangIndex
MaskRay Jul 8, 2018
eb8acf9
pipeline
MaskRay Jul 8, 2018
ed1b221
Remove submodule doctest
MaskRay Jul 9, 2018
c6553c7
clangIndex
MaskRay Jul 8, 2018
0a30409
cmake: remove -lc++experimental -ldl -lexecinfo
MaskRay Jul 9, 2018
7d1d4b4
$ccls/publishSemanticHighlighting: use pair<int,int> in place of lsRange
MaskRay Jul 9, 2018
7c1ff07
Fix memberHierarchy
MaskRay Jul 9, 2018
c04d062
Add some ObjC kinds
MaskRay Jul 9, 2018
0c50ee7
Cleanup
MaskRay Jul 10, 2018
3737d4c
Support uses from other files and improve references in macro replace…
MaskRay Jul 13, 2018
39d4bbf
Use clangTooling
MaskRay Jul 13, 2018
0780e80
Fix FreeBSD build with -DUSE_SHARED_LLVM=off
MaskRay Jul 14, 2018
d604fc3
Use Sema/CodeCompleteConsumer
MaskRay Jul 14, 2018
4612aa0
$ccls/publishSemanticHighlighting: support both line/character-style …
MaskRay Jul 14, 2018
5dcccea
Use Clang C++ for completion and diagnostics
MaskRay Jul 14, 2018
df72a9e
Simplify
MaskRay Jul 15, 2018
eea1b92
Enable clangDriver in project.cc
MaskRay Jul 15, 2018
dd05ad9
Diagnostics
MaskRay Jul 15, 2018
814f054
Misc improvement to indexer
MaskRay Jul 15, 2018
8912b00
Support BindingDecl and VarTemplate{,Partial}SpecializationDecl
MaskRay Jul 16, 2018
344f00f
CrashRecoveryContext
MaskRay Jul 16, 2018
73ac788
Remove libclang
MaskRay Jul 16, 2018
af54645
Fix spell for clang < 7
MaskRay Jul 16, 2018
0732d37
Better bases/derived and initializer
MaskRay Jul 17, 2018
46d397f
--init
MaskRay Jul 18, 2018
19fa911
links
MaskRay Jul 19, 2018
27d641b
Add Query*::file_id to allow textDocument/hover on declarations
MaskRay Jul 20, 2018
e67ea3a
Use ContainerDC for extent, index callees, set StaticMethod
MaskRay Jul 21, 2018
8b4a8d2
Fix Twine; index TypedefNameDecl to specialization; anonymous RecordD…
MaskRay Jul 23, 2018
ff102c9
Fix preload completion session.
scturtle Jul 25, 2018
03aa024
Misc.
scturtle Jul 25, 2018
122eda1
Improve comment and outline
MaskRay Jul 25, 2018
b95b475
Fix diagnostics on MacOS and duplicated bases.
scturtle Jul 27, 2018
c710471
Misc
MaskRay Jul 27, 2018
0bb311a
Add textDocument/codeAction for clang FixIt
MaskRay Jul 29, 2018
b4aa070
cmake: for -DSYSTEM_CLANG=off, 6.0.0 -> 6.0.1
MaskRay Jul 29, 2018
924fedb
Uniquify textDocument/references
MaskRay Jul 31, 2018
b5c2a48
rapidjson url (#43)
damon-kwok Aug 3, 2018
3931951
Validate RecordDecl
MaskRay Aug 3, 2018
b9e1c2e
Add flat to $ccls/inheritanceHierarchy
MaskRay Aug 4, 2018
344ade0
Fix compile on Windows + MSYS2-MinGW64 (#46)
Riatre Aug 6, 2018
8cbb317
clang-format
MaskRay Aug 9, 2018
06aa252
Fix typo error (#49)
inengch Aug 13, 2018
2f5fcad
Remove CompileCommandsEntry and reduce clangDriver invocations
MaskRay Aug 18, 2018
431eef2
textDocument/hover: prefer definitions in the same file
MaskRay Aug 19, 2018
66b0279
correctly grabbing the ownership of index files. (#54)
amosbird Aug 20, 2018
f3490a3
Add license notice
MaskRay Aug 21, 2018
ec2b893
Fix VarDef::is_local; default cacheDirectory to ".ccls-cache"
MaskRay Aug 23, 2018
48c92c0
Add LLVM_ENABLE_RTTI (default: OFF) to allow linking against Arch Lin…
MaskRay Aug 23, 2018
caddc18
Uniquify $ccls/inheritanceHierarchy and add flat to $ccls/memberHiera…
MaskRay Aug 24, 2018
bd3e067
SkipFunctionBodiesScope; improve fuzzy
MaskRay Aug 27, 2018
f808dd8
Use StoreInMemory Preamble for CodeComplete
MaskRay Aug 28, 2018
87c5491
New diagnostics
MaskRay Aug 29, 2018
74790e2
fix clang_tu.h && clang_complete.cc (#61)
FirstLoveLife Aug 29, 2018
1ae97c6
detailed_name: "{\n}" -> "{}" ; completion
MaskRay Aug 30, 2018
5cc3006
Filter deps with `index.blacklist`. (#64)
scturtle Aug 30, 2018
407c7cc
Remove ASTUnit from indexer and clean up
MaskRay Aug 30, 2018
11e92d5
README
MaskRay Sep 1, 2018
145630b
Fix unaligned load/store; add index.multiVersion prototype, rename in…
MaskRay Sep 2, 2018
a33f4df
index.multiVersion: int
MaskRay Sep 3, 2018
aebf2df
Add index.multiVersion{Black,White}list
MaskRay Sep 3, 2018
e92378d
Add all: boolean to textDocument/documentSymbol
MaskRay Sep 3, 2018
0a51424
Add $ccls/navigate and improve textDocument/definition
MaskRay Sep 3, 2018
56da577
Add clang.excludeArgs and rename diagnostics.onType to onChange
MaskRay Sep 4, 2018
b77fba6
Improve hover and documentSymbol
MaskRay Sep 6, 2018
8b3ebf2
Remove $ccls/base and clean up; deduplicate codeLens
MaskRay Sep 7, 2018
e20a8e7
Add DeclUse as element type of declarations
MaskRay Sep 8, 2018
82d31a2
Implement index.onChange: true; enable spell checking for diagnostics
MaskRay Sep 8, 2018
58191fd
Support empty cacheDirectory and fix cache load
MaskRay Sep 8, 2018
da982a6
Reuse preamble (built by "comp-preload") in indexer
MaskRay Sep 8, 2018
92ee7f3
Add diagnostics.onSave
MaskRay Sep 8, 2018
c202dd3
Make CXXConversion references wider; use getTypedefNameForAnonDecl; i…
MaskRay Sep 9, 2018
a7c1633
Misc
MaskRay Sep 10, 2018
c9e6b31
Revamp completion and signatureHelp, set completion.detailedLabel: tr…
MaskRay Sep 11, 2018
a45686a
diagnostics; use custom DenseMapInfo
MaskRay Sep 11, 2018
a607dce
Normalize paths on Windows
Riatre Sep 11, 2018
c7a6c5c
Make $ccls/reload reset DB and reload cached index files
MaskRay Sep 12, 2018
e2f29d7
pipeline improvement for files not having a project entry (e.g. .h)
MaskRay Sep 12, 2018
6bca153
Make $ccls/inheritanceHierarchy and textDocument/typeDefinition find …
MaskRay Sep 12, 2018
1969731
textDocument/documentSymbol
MaskRay Sep 13, 2018
a174105
Better diagnostics
MaskRay Sep 13, 2018
70deeca
Rename hierarchies to $ccls/{call,inheritance,member}
MaskRay Sep 13, 2018
56c6ec4
Skip informative scope foo::
MaskRay Sep 16, 2018
34c1ebc
Remove [spell.start, spell.end) -> [spell.start, extent.end) hack
MaskRay Sep 16, 2018
a18977b
Add clang.pathMappings to reuse cache files with differect source paths
MaskRay Sep 16, 2018
14b73f0
Add hierarchicalDocumentSymbolSupport
MaskRay Sep 16, 2018
763106c
Simplify pipeline and fix race
MaskRay Sep 18, 2018
525b6da
intern strings in dependencies and IndexInclude::resolved_path
MaskRay Sep 19, 2018
08645d6
intern args
MaskRay Sep 19, 2018
f515b4b
Improve VarDef::type for textDocument/typeDefinition
MaskRay Sep 19, 2018
f9bd84a
Clean up FileConsumer and improve pipeline
MaskRay Sep 20, 2018
4175629
Simplify semantic highlighting
MaskRay Sep 21, 2018
4d76108
Delete file_consumer.*
MaskRay Sep 21, 2018
1a51916
Remove chunks with CK_Information kind from insertText. (#78)
Riatre Sep 22, 2018
28d3332
Publish diagnostics of inferred files and change diagnostics.{onChang…
MaskRay Sep 22, 2018
6ea3995
Fix spurious "Failed to index" errors
MaskRay Sep 23, 2018
7eb58bb
Misc
MaskRay Sep 23, 2018
22daed7
Add kind to $ccls/member and iterate all QueryType::def
MaskRay Sep 23, 2018
e320ce4
Include macros in completion result
Riatre Sep 22, 2018
71e9835
documentSymbol: ignore TypeParameter
MaskRay Sep 23, 2018
32f7d14
Allow force disabling snippet via client.snippetSupport
Riatre Sep 13, 2018
854225b
Misc
MaskRay Sep 23, 2018
8f40c0c
Remove clang_utils.*
MaskRay Sep 23, 2018
ce68028
Add GetAdjustedDecl to adjust Decl's that are missed by clangIndex
MaskRay Sep 23, 2018
eb644bb
Add index.initial{Blacklist,Whitelist}
MaskRay Sep 24, 2018
0eb9428
Add index.trackDependency and improve pipeline
MaskRay Sep 24, 2018
41fcc02
Simplify semantic highlighting; improve hover of auto &&
MaskRay Sep 24, 2018
d6ad864
Update threaded_queue.h (#82)
amosbird Sep 27, 2018
05109b6
Merge textDocument_did{Change,Close,Open,Save}.cc
MaskRay Sep 28, 2018
a127ca9
Support textDocument/{formatting,onTypeFormatting,rangeFormatting}
MaskRay Sep 28, 2018
d487120
Construct SourceManager with UserFilesAreVolatile
MaskRay Sep 28, 2018
da70452
Revamp codeLens & codeAction
MaskRay Sep 29, 2018
79373ba
Rename some initialization options
MaskRay Sep 30, 2018
84984c6
Use non-inferred entries and build preamble for .h; index on didOpen …
MaskRay Oct 1, 2018
f2227cb
Clean
MaskRay Oct 1, 2018
da07cb2
Add $ccls/info
MaskRay Oct 1, 2018
8d49b44
regard conversion as method instead of constructor
FirstLoveLife Oct 2, 2018
29f05d9
Use pthread if defined(__unix__) || defined(__APPLE__)
MaskRay Oct 2, 2018
fc8a60c
Add PreambleStatCache
MaskRay Oct 3, 2018
c7ee3d8
For $ccls/member, use unadjusted RecordDecl (if there is forward decl…
MaskRay Oct 3, 2018
38feb8d
Add completion.maxNum: 100
MaskRay Oct 3, 2018
6ec032c
Redesign SymbolRef, Ref, Use
MaskRay Oct 4, 2018
8c21701
Use DeclRef spell to represent Use spell + Use extent
MaskRay Oct 4, 2018
77a6b89
Clean and update tests after Index* refactoring
MaskRay Oct 5, 2018
ed18069
Improve completion
MaskRay Oct 6, 2018
31921a9
Support workspace folders
MaskRay Oct 8, 2018
c857be4
Fix additionalTextEdits -> textEdit hack for VS Code (#89)
Riatre Oct 9, 2018
e29056b
Namespace: improve indexer and don't trace bases in $ccls/member
MaskRay Oct 10, 2018
949aeba
Add namespace alias clang::vfs = llvm::vfs to adapt D52783
MaskRay Oct 10, 2018
ccfabb9
Fix hierarchical document symbol
Riatre Oct 10, 2018
f27639b
-DSYSTEM_CLANG=off: 6.0.1 -> 7.0.0
MaskRay Oct 12, 2018
f83bc28
Adapt trunk change and write comments to PCH
MaskRay Oct 12, 2018
705ed77
Misc changes to project
MaskRay Oct 14, 2018
53632bd
Add pipeline::{Notify,Reply,ReplyError} and simplify message handling
MaskRay Oct 14, 2018
f8a6f75
Add ExtentRef; merge symbol2refcnt and outline2refcnt
MaskRay Oct 15, 2018
5f98d5b
Simplify
MaskRay Oct 15, 2018
5814fbb
Improve extent of definition/declaration; uniquify typeDefinition
MaskRay Oct 19, 2018
252b0d6
Improve DeducedType
MaskRay Oct 19, 2018
e101e47
Add command line option -index=root to index without starting languag…
MaskRay Oct 23, 2018
6fc35ab
Fix textDocument/implementation
MaskRay Oct 23, 2018
9b8947f
Deprioritize completion items with additionTextEdits
MaskRay Oct 23, 2018
cec7e3a
Fix broken link in README.md (#101)
dfrib Oct 24, 2018
e2478c8
Implement textDocument/foldingRange
MaskRay Oct 24, 2018
323d2ec
Implement textDocument/documentLink
MaskRay Oct 25, 2018
123f504
Refactor message handler and namespace ccls
MaskRay Oct 28, 2018
ec87319
*.h -> *.hh
MaskRay Oct 29, 2018
5af2956
Simplify and better compatibility with encodings retaining the featur…
MaskRay Oct 29, 2018
fb1d117
Report InvalidParams for serialization error
MaskRay Oct 31, 2018
aa35a4c
textDocument/references workspace/symbol: add folders
MaskRay Oct 30, 2018
29202a6
Fix EnumConstantDecl's kind & EnumDecl's vars
MaskRay Nov 2, 2018
8c7d982
project.cc: deduplicate more cases
MaskRay Nov 2, 2018
4bfb1fa
Simplify and work around vscode _sortTextLow
MaskRay Nov 3, 2018
3b32cc6
Misc
MaskRay Nov 4, 2018
c0b6123
Remove `ls` prefix from many LSP interfaces
MaskRay Nov 3, 2018
085a64b
Reduce MAKE_REFLECT_STRUCT in lsp.hh
MaskRay Nov 4, 2018
376abc3
Improve semantic highlight in templates
MaskRay Nov 8, 2018
5774787
Work around relative --sysroot=
MaskRay Nov 8, 2018
826432b
If clang >= 8, delete search path detection and use Sema::CodeComplet…
MaskRay Nov 9, 2018
50f5dcc
Fix some MSVC 2017 errors
MaskRay Nov 11, 2018
8e60ad4
hierarchicalDocumentSymbol: display member function declarations
MaskRay Nov 11, 2018
ad8ee60
Use SM.isInMainFile; suppress -Werror in preamble
MaskRay Nov 10, 2018
e98f7c0
Fix VS2017 build issues and add Appveyor CI script (#118)
DsoTsin Nov 13, 2018
5cd28df
Add Apache LICENSE file (#121)
adzenith Nov 13, 2018
a1cebbd
README: add client feature table
MaskRay Nov 16, 2018
7ae32d7
hierarchicalDocumentSymbol: support SymbolKind::Function declaration …
MaskRay Nov 16, 2018
32469a3
Use clang::isIdentifierBody and clean up utils/working_files
MaskRay Nov 17, 2018
8c684c1
.ccls: add %objective-c %objective-cpp
MaskRay Nov 20, 2018
eb75e05
indexer: handle DecltypeType and empty main file; diag: -Wno-unused-f…
MaskRay Nov 23, 2018
af4d81d
Refactor ReplyOnce; error if InitializeParams.rootUri is null
MaskRay Nov 23, 2018
bad0fa5
serializer: make visitor/vis value/v consistent
MaskRay Nov 23, 2018
7b14d85
completion: delete insertText; don't set filterText if it is the same…
MaskRay Nov 23, 2018
b84bd9d
Make DocumentLink::range narrower
MaskRay Nov 24, 2018
f415e5e
codeAction: use codeActionProvider: CodeActionOptions and respect Cod…
MaskRay Nov 25, 2018
3036f9f
constexpr std::string_view -> const std::string_view
MaskRay Nov 26, 2018
f13a17a
Make EmptyParam empty & rewrite LruCache
MaskRay Nov 27, 2018
f974c85
Refactor Matcher to use pimpl and merge match.hh into utils.hh
MaskRay Nov 27, 2018
b8c370a
Merge query.hh and query_util.hh
MaskRay Nov 27, 2018
e97f01a
Merge maybe.hh into utils.hh
MaskRay Nov 27, 2018
c3b4b7f
Fix ComputeGuessScore and delete dead code
MaskRay Nov 27, 2018
6e464c2
completion: use Text for Macro{Instantiation,Definition}
MaskRay Nov 30, 2018
3fdcfb1
Refactor WorkingFiles and CompletionManager
MaskRay Dec 1, 2018
f7f7f5c
Add ReplyOnce::NotReady and error if didOpen is not seen
MaskRay Dec 2, 2018
125d00e
Refactor serializer
MaskRay Dec 2, 2018
79a33f7
query: fix UpdateUses when a new entity is seen; simplify {DeclRef,Us…
MaskRay Dec 3, 2018
f380efe
Spin IncludeComplete's destructor until scanning completes (#147)
LeszekSwirski Dec 4, 2018
31f6901
Track data flow into variables and function returns
LeszekSwirski Dec 4, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
55 changes: 14 additions & 41 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,22 @@
version: "{build}"
image: Visual Studio 2017
platform: x64

clone_folder: C:\projects\cquery
os: Visual Studio 2017

install:
- git submodule update --init

environment:
CLICOLOR_FORCE: 1
matrix:
- MSYSTEM: MINGW64
- MSYSTEM: MSVC
platform:
- x64

matrix:
fast_finish: true # set this flag to immediately finish build once one of the jobs fails.
allow_failures:
- platform: x64
build:
parallel: true # enable MSBuild parallel builds
verbosity: minimal

install:
- if not exist llvm.tar.xz appveyor DownloadFile "https://ziglang.org/deps/llvm+clang-7.0.0-win64-msvc-release.tar.xz" -FileName llvm.tar.xz
- 7z e -txz llvm.tar.xz
- 7z x llvm.tar
- git submodule update --init --recursive
build_script:
- ps: |
If ($Env:MSYSTEM -Eq "MSVC") {
$dir = "cquery-${env:appveyor_build_version}-win64"
cd C:\projects\cquery
python waf configure --msvc_version="msvc 15.0"
python waf build
mkdir "${dir}\build\release\bin" -ea 0
mkdir "${dir}\build\release\lib\LLVM-6.0.0-win64\lib\clang\6.0.0\"
copy "build\release\bin\*" "${dir}\build\release\bin"
copy -recurse "build\LLVM-6.0.0-win64\lib\clang\6.0.0\include" "${dir}\build\release\lib\LLVM-6.0.0-win64\lib\clang\6.0.0\"
7z a -tzip "C:\projects\cquery\${dir}.zip" "${dir}"
} Else {
C:\msys64\usr\bin\bash -lc @'
pacman -S --needed --noconfirm mingw-w64-x86_64-clang python
cd /c/projects/cquery
CXXFLAGS=-Wall /usr/bin/python waf configure build --llvm-config llvm-config 2>&1
'@
}
- set PATH=%PATH%;C:\msys64\%MSYSTEM%\bin
- build\release\bin\cquery --ci --log-all-to-stderr --test-unit
- IF "%MSYSTEM%"=="MSVC" build\release\bin\cquery --ci --log-all-to-stderr --test-index
- cmake -G"Visual Studio 15 2017 Win64" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release -DSYSTEM_CLANG=ON -DCLANG_ROOT=C:\projects\ccls\llvm+clang-7.0.0-win64-msvc-release
- cmake --build build --target ccls --config Release

artifacts:
- path: 'cquery-*.zip'

cache:
- C:\projects\cquery\build\LLVM-6.0.0-win64.exe
- C:\projects\cquery\build\LLVM-6.0.0-win64\
- path: build\Release
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BasedOnStyle: Chromium
BasedOnStyle: LLVM
6 changes: 0 additions & 6 deletions .clang_complete

This file was deleted.

7 changes: 0 additions & 7 deletions .gitattributes

This file was deleted.

29 changes: 4 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
.cquery_cached_index
.DS_Store
.lock-waf*
.vs
.vscode/
.vscode/.ropeproject
.waf*
*.cquery
*.sln
*.swp
*.vcxproj
*.vcxproj.filters
*.vcxproj.user
**/*.pyc
.*
build
cquery_diagnostics.log
cquery_log.txt
Debug
e2e_cache
foo
libcxx
vscode-extension.vsix
waf-*
waf2*
waf3*
x64
debug
release
/compile_commands.json
14 changes: 1 addition & 13 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
[submodule "third_party/rapidjson"]
path = third_party/rapidjson
url = https://github.com/miloyip/rapidjson
[submodule "third_party/doctest"]
path = third_party/doctest
url = https://github.com/onqtam/doctest
[submodule "third_party/sparsepp"]
path = third_party/sparsepp
url = https://github.com/greg7mdp/sparsepp
[submodule "third_party/loguru"]
path = third_party/loguru
url = https://github.com/emilk/loguru
[submodule "third_party/msgpack-c"]
path = third_party/msgpack-c
url = https://github.com/msgpack/msgpack-c
url = https://github.com/Tencent/rapidjson
2 changes: 0 additions & 2 deletions .pep8

This file was deleted.

166 changes: 0 additions & 166 deletions .travis.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .ycm_extra_conf.py

This file was deleted.

Loading