Commit graph

401 commits

Author SHA1 Message Date
Jonathan Müller
4b5fc57f32 Add test for default argument fix
Fixes #41.
2018-12-18 16:42:57 +01:00
Jonathan Müller
d971d9a59e Workaround Windows bug in test 2018-12-18 16:42:57 +01:00
Jonathan Müller
6f70de206b Fix false positive in variadic parameter workaround 2018-12-18 16:42:57 +01:00
Jonathan Müller
f66ec833c1 Fix issue with defaulted destructors 2018-12-18 16:42:57 +01:00
Jonathan Müller
69c6ca17f5 Change external macro test 2018-12-18 16:42:57 +01:00
Jonathan Müller
101b7ccc18 Simplify tokenizer
Fixes #26.
2018-12-18 16:42:57 +01:00
Jonathan Müller
21ed11b700 Add support for more compiler options
Fixes foonathan/standardese#115.
2018-12-04 20:34:59 +01:00
Jonathan Müller
4860bf6981 Add command line option for feature flags 2018-12-03 12:24:23 +01:00
Jonathan Müller
336a00946d Parse feature flags in compilation database 2018-12-03 12:20:32 +01:00
Jonathan Müller
c6aae718bd Add support for -fXX feature flags 2018-12-03 12:17:50 +01:00
Jonathan Müller
9411a232a4 Obtain the system include directories at runtime 2018-11-29 10:36:42 +01:00
Jonathan Müller
9268fd6ffa Update MacOs clang version 2018-11-29 10:26:20 +01:00
Jonathan Müller
7a4b2590d8 Cross platform fun 2018-11-28 19:26:15 +01:00
Jonathan Müller
0423511e80 Update readme 2018-11-28 17:10:46 +01:00
Jonathan Müller
8073d61049 Disable problematic integration test include 2018-11-28 17:08:05 +01:00
Jonathan Müller
8a60d52be1 Remove dependency on system include dir 2018-11-28 16:32:54 +01:00
Ingo Ruhnke
824f19effd Add handling of -isystem include flag (#70) 2018-10-25 23:24:41 +02:00
Jonathan Müller
44fb635a90 Handle upstream fix for #1 in tests 2018-10-25 22:09:09 +02:00
Jonathan Müller
34fd07b1b4 Ignore maximal munch issue in type spelling in clang 7 2018-10-25 22:08:57 +02:00
Jonathan Müller
6a3baa9974 Ignore more type kinds 2018-10-25 21:49:12 +02:00
Jonathan Müller
de7f29d267 Register namespace alias as forward declaration
They may occur multiple times in a project.
2018-09-24 21:48:49 +02:00
Jonathan Müller
8ffb2b748f Test clang 5 on travis 2018-09-24 21:48:49 +02:00
Jonathan Müller
a4c64dbc8d Implement a search for the clang binary 2018-09-24 16:28:16 +02:00
Jonathan Müller
bf872b31d1 Don't override CLANG_BINARY 2018-09-24 16:02:05 +02:00
Jonathan Müller
c26d230d33 [breaking] Drop support for clang 3.9.1 2018-09-24 15:59:12 +02:00
Jonathan Müller
9dfb518741 Only link llvm and clang libraries, not everything 2018-09-21 13:10:23 +02:00
Jonathan Müller
f8355100c9 Remove option that is no longer needed 2018-09-21 13:00:00 +02:00
Jonathan Müller
73f41aac05 Fix ctest configuration 2018-09-20 21:02:21 +02:00
Jonathan Müller
664a0bb2bb Support static linking libclang on unix systems 2018-09-20 20:59:33 +02:00
Jonathan Müller
9f18b7f4d8 Update clang-format 2018-09-20 19:57:03 +02:00
Manu Sánchez
c755a885bf Ignore git tags in llvm-config version numbers (#65)
Some llvm precompiled releases, such as 5.0.0 have a git tag as part of
the version number given by their llvm-config, but the rest of the setup
(for example, the system includes directory) uses the semantic
versioning tag ("5.0.0") only.

This commit adds a regex filter to ignore any tag appended to the llvm
version number, if any.
2018-08-10 16:33:12 +02:00
Manu Sánchez
7c54a84052 Update type_safe version to integrate latest fixes (#64) 2018-07-13 13:01:26 +02:00
Manu Sánchez
8d77d011ac Allow building tool, example, and tests from upper cmake projects (#63)
Now a subdirectory will by default only build the library, a standalone build will build everything.
2018-07-13 11:03:12 +02:00
Jonathan Müller
9edbbe5f82 Fix build setup 2018-07-11 11:21:16 +02:00
Zhansong Li
25afbdbe35 Fix catch2 download link
Fixes #61.
2018-07-11 11:07:56 +02:00
Jonathan Müller
524edb4a3b Download llvm on OSX 2018-07-11 11:02:41 +02:00
Jonathan Müller
5cc7e51bf2 Properly render macro parameters as identifiers 2018-06-20 10:29:59 +02:00
Jonathan Müller
56d4964b61 [breaking] Turn macro parameters into propert entities 2018-06-20 09:54:16 +02:00
Manu Sánchez
c341ae01f1 Change "odd flag" criteria on preprocessor command flags (#57)
The assert on libclang/preprocessor.cpp:263 fails with common flags
such as "-g", because the assertion says valid flags must have at least
three characters.

I've changed that condition to accept two char flags like -g
2018-06-06 13:39:00 +02:00
Jonathan Müller
e0e78c0a3e Fix spaces in include paths
Fixes #56.
2018-06-05 20:56:25 +02:00
Jonathan Müller
2d8be149aa Fix filename of diagnostics
See #37.
2018-04-02 16:43:32 +02:00
Manu Sánchez
6be7e4793e Allow LLVM downloads from custom server (#53)
Fixes #49.
2018-03-28 21:18:48 +02:00
Jonathan Müller
7b030190bd Expose __attribute__ and __declspec 2018-03-28 18:26:16 +02:00
Jonathan Müller
19f237043b Handle attribute names that are keywords 2018-03-28 17:16:39 +02:00
Rokas Kupstys
2122dad8b0 Expose __attribute__ and __declspec attributes. Closes #50. 2018-03-28 17:16:39 +02:00
Jonathan Müller
8255455533 Properly fix #46 2018-03-28 17:15:48 +02:00
Jonathan Müller
e67e354d9b Fix bad assertion 2018-03-28 10:40:57 +02:00
Jonathan Müller
045a33fbd6 Add a proper workaround for #46 2018-03-28 10:40:57 +02:00
Jonathan Müller
6cb99d4516 Revert "Add (crude) workaround for _DEBUGGER_STEP_INTO #line in MSVC"
This reverts commit 2004780ea6.
2018-03-26 20:49:16 +02:00
Jonathan Müller
61a2a22542 Add option to change preprocessor -CC to -C
See #37.
2018-03-20 16:12:23 +01:00