Fangrui Song
|
73ba3f0d6f
|
Move -x & -std= options just after compiler driver
|
2017-12-31 13:37:59 -08:00 |
|
Jacob Dufault
|
9dde5041cb
|
Always use -fparse-all-comments
|
2017-12-27 07:56:17 -08:00 |
|
Jacob Dufault
|
fb491e6c6d
|
Format using clang format 4.0.0
|
2017-12-23 08:33:26 -08:00 |
|
Jacob Dufault
|
e1ac3103a8
|
Add TEXT_REPLACE in index tests.
This allows USRs to vary across platforms in index tests, which is required to
make them pass on all platforms.
|
2017-12-22 08:48:12 -08:00 |
|
Joel Hock
|
4b420c53d3
|
add unit test
|
2017-12-19 08:16:52 -08:00 |
|
Joel Hock
|
bea5b38bc5
|
/.cquery file parsing fixes
- relative path handling
- first line was being ignored if it was a flag (code assumed it was path to clang binary)
|
2017-12-19 08:16:52 -08:00 |
|
Jacob Dufault
|
487680e8d1
|
Fix project.cc unit tests.
-x processing broke.
|
2017-12-15 21:05:48 -08:00 |
|
Walter Erquinigo
|
5238c50027
|
objc
|
2017-12-15 12:02:32 -08:00 |
|
Jacob Dufault
|
9e6d33689f
|
Trim lines when reading from .cquery file.
Otherwise there may be newlines and the like.
|
2017-12-03 18:25:21 -08:00 |
|
Josh Elsasser
|
82643dc79d
|
Ensure that paths passed to libclang are fully expanded
- "-include" arguments must have their paths resolved
- clang_resource_dir must have its path resolved
|
2017-12-03 12:53:05 -08:00 |
|
Jacob Dufault
|
cf5f465e9e
|
Add -Wno-unknown-warning-option
|
2017-12-01 10:11:09 -08:00 |
|
Jacob Dufault
|
b727e36afc
|
Move cleanup_maybe_relative_path to top of func in project.cc
|
2017-12-01 09:59:28 -08:00 |
|
Jacob Dufault
|
9b44bf7901
|
Run ./format.sh
|
2017-12-01 09:55:41 -08:00 |
|
Fangrui Song
|
87f6452b5d
|
Rename clang_args to .cquery
|
2017-11-27 12:31:54 -05:00 |
|
Jacob Dufault
|
d5951c0e69
|
Revert "Specify nullptr for source_filename in clang_parseTranslationUnit2 so that we do not need to strip main source filename from args"
This reverts commit 6adc3a28c39a5f6b58a0a57bfae83916051c19f8.
|
2017-11-27 08:20:42 -08:00 |
|
Fangrui Song
|
2b54296992
|
Specify nullptr for source_filename in clang_parseTranslationUnit2 so that we do not need to strip main source filename from args
|
2017-11-27 11:13:07 -05:00 |
|
Walter Erquinigo
|
31d7423490
|
Rebuild vscode plugin and fix some naming
|
2017-11-26 12:11:09 -05:00 |
|
Walter Erquinigo
|
3cee3cb775
|
Support an optional compilation database dir at initialization
|
2017-11-26 12:11:09 -05:00 |
|
Jacob Dufault
|
6a23c5bace
|
Enable path in args test
|
2017-11-19 15:46:02 -08:00 |
|
Fangrui Song
|
fb38537f20
|
Strip main source filename if it is a relative path in GetCompilationEntryFromCompileCommandEntry
|
2017-11-19 18:30:27 -05:00 |
|
Jacob Dufault
|
261b04a131
|
Update test once more
|
2017-11-19 14:48:26 -08:00 |
|
Jacob Dufault
|
475cd6b668
|
Add failing test for issue #42
|
2017-11-19 14:46:05 -08:00 |
|
Jacob Dufault
|
97417ecc93
|
Reformat code
|
2017-11-19 14:11:54 -08:00 |
|
Fangrui Song
|
297ed1d13e
|
Use indented TEST_SUITE
|
2017-11-19 14:13:11 -05:00 |
|
Jacob Dufault
|
6a50c48aaa
|
Formatting and a TODO
|
2017-11-18 09:29:48 -08:00 |
|
Jacob Dufault
|
601af73ca9
|
Move all libclangmm/* files into src/* directory
|
2017-11-11 11:41:09 -08:00 |
|
Jacob Dufault
|
7d549f3fdf
|
Move libclangmm/Utility.h into clang_utils.h
|
2017-11-04 16:02:39 -07:00 |
|
Jacob Dufault
|
1f0c1e922f
|
Fix compile_commands.json parsing when filename is absolute.
Some compile_commands.json generators will emit absolute paths for the
filename, such as cmake.
|
2017-10-31 15:43:27 -07:00 |
|
Jacob Dufault
|
7734943620
|
Format all code in src/
|
2017-10-31 12:49:19 -07:00 |
|
Jacob Dufault
|
98c701b217
|
Fix project loading absolute path normalization for clang_args
|
2017-10-28 14:51:36 -07:00 |
|
Jacob Dufault
|
ccff74a79c
|
Fix performance regression in loading compile_commands.json
Regression was caused by accidental copying.
|
2017-10-24 19:00:29 -07:00 |
|
Jacob Dufault
|
738b338d47
|
Emit timings for project loading
|
2017-10-24 18:39:44 -07:00 |
|
Jacob Dufault
|
58f2107714
|
Inject -resource-dir automatically.
|
2017-10-24 18:02:15 -07:00 |
|
Jacob Dufault
|
a155f5b686
|
Fix a bunch of bugs in argument handling and address some TODOs
|
2017-10-18 01:24:52 -07:00 |
|
Jacob Dufault
|
0e7c8bdf05
|
Fix argument handling for chrome
|
2017-10-18 00:02:33 -07:00 |
|
Jacob Dufault
|
3003385d76
|
Update clang argument parsing
|
2017-10-17 23:23:07 -07:00 |
|
Jacob Dufault
|
6b0c3831fa
|
Add project parsing test
|
2017-09-21 23:50:27 -07:00 |
|
Jacob Dufault
|
bd8582e718
|
A bit more code cleanup in project.cc
|
2017-09-21 20:09:11 -07:00 |
|
Jacob Dufault
|
a96be1d6e5
|
Cleanup how include directories are passed around in project.
|
2017-09-21 20:02:48 -07:00 |
|
Jacob Dufault
|
f5314b62b1
|
Reformat to Chromium style.
|
2017-09-21 18:14:57 -07:00 |
|
Jacob Dufault
|
e771f05f3f
|
Linux build fixes
|
2017-07-29 21:46:21 -07:00 |
|
Jacob Dufault
|
c37396a36d
|
First pass at logging using loguru
|
2017-07-27 19:14:46 -07:00 |
|
James Cook
|
0876886c60
|
Fix build error on Linux for INT_MIN (#10)
* Fix compiler warnings and turn on warnings as errors
* Fix build error on Linux for INT_MIN
|
2017-06-20 08:17:23 -07:00 |
|
Jacob Dufault
|
36ee8bec47
|
Consider filename ending when guessing arguments.
This should improve guessing for, ie, test files, like foo_test.cc.
|
2017-06-19 19:09:15 -07:00 |
|
James Cook
|
5b4986f04b
|
Fix compiler warnings and turn on warnings as errors
|
2017-06-19 18:30:44 -07:00 |
|
Jacob Dufault
|
8d9374ee59
|
Disable logging of filtered project paths, but let user enable it in config.
|
2017-05-21 23:45:47 -07:00 |
|
Jacob Dufault
|
440fa950a0
|
Use -xc (instead of -xc++) for files ending with .c.
A good chunk of c files will fail to compile under c++ mode.
|
2017-05-21 23:06:30 -07:00 |
|
Jacob Dufault
|
8910d0a13e
|
Fix warnings (almost all numeric cast-related)
|
2017-05-21 16:22:00 -07:00 |
|
Jacob Dufault
|
864ff122d8
|
Scan include directories for include completion candidates.
|
2017-05-21 12:51:15 -07:00 |
|
Jacob Dufault
|
94bd6fc301
|
Add #include auto-complete.
|
2017-05-21 00:37:53 -07:00 |
|