Julian Rüth
36b64d29b9
Segfault when parsing an empty extern "C" {} block ( #110 )
...
extern declaration blocks can be empty: https://en.cppreference.com/w/cpp/language/language_linkage
2021-02-03 19:28:49 +01:00
nealhow
6542b72a71
Fix MSVC warnings ( #104 )
...
/WX Treats all compiler warnings as errors. It should be disabled to prevent compilation issues with CMake on Windows.
/W4 displays level 1, level 2, and level 3 warnings, and all level 4 (informational) warnings that aren't off by default. /W3 is the default setting in the IDE and should be enforced to prevent issues with CMake.
2020-10-02 13:33:45 +02:00
Jonathan Müller
4bc743327d
Fix float literal detection
...
Fixes #95 .
2019-11-18 18:47:37 +01:00
Jonathan Müller
000febb999
Fix parsing of explicit template instantiation
...
Fixes #82 .
2019-11-18 17:22:00 +01:00
Julian Rüth
144f94da5a
Remove superfluous move ( #84 )
2019-10-02 19:38:18 +02:00
Omer Ozarslan
a89ebcdf0a
Use empty underlying type for aliases of anonymous types ( #83 )
...
Fixes #58
2019-08-16 12:58:48 +02:00
Jonathan Müller
bda6629bd9
Fix unreachable warning
2019-04-08 15:11:31 +02:00
Jonathan Müller
5dd48ccf50
Fix missing switch cases
2019-04-08 14:55:09 +02:00
Jonathan Müller
e2a98b3533
Properly handle upstream fix for #1
2019-02-01 14:24:04 +01:00
Jonathan Müller
ade719651f
Copyright year update
2019-02-01 14:14:36 +01:00
Jonathan Müller
44fbe78b2e
Fix issue with double quotation of macros
...
Fixes foonathan/standardese#117 .
2018-12-20 16:20:45 +01:00
Jonathan Müller
facd7310ec
Move GCC compiler to azure
2018-12-18 18:53:40 +01:00
Jonathan Müller
70630ff6b3
Workaround MacOS integration tests
2018-12-18 18:27:36 +01:00
Jonathan Müller
7d4794460e
Fix Windows warnings
2018-12-18 18:27:36 +01:00
Jonathan Müller
d44571f1c8
Improve CMake
2018-12-18 18:27:36 +01:00
Jonathan Müller
51c2fc6569
Extend variable range to include attributes
...
Fixes #27 .
2018-12-18 16:42:57 +01:00
Jonathan Müller
3aaa73020d
Handle inline type declarations and attributes
...
Fixes #27 .
2018-12-18 16:42:57 +01:00
Jonathan Müller
40236f606b
Support multiple separate attributes in front
...
Fixes #60 .
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
101b7ccc18
Simplify tokenizer
...
Fixes #26 .
2018-12-18 16:42:57 +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
7a4b2590d8
Cross platform fun
2018-11-28 19:26:15 +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
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
a4c64dbc8d
Implement a search for the clang binary
2018-09-24 16:28:16 +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
9f18b7f4d8
Update clang-format
2018-09-20 19:57:03 +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
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
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
Jonathan Müller
2004780ea6
Add (crude) workaround for _DEBUGGER_STEP_INTO #line in MSVC
...
Fixes #46 .
2018-03-20 15:40:39 +01:00
Jonathan Müller
4b73c44133
Fix issue with array function arguments
...
Fixes #47 .
2018-03-20 15:19:41 +01:00
Jonathan Müller
003207361a
Properly handle unnecessary semicolons
...
Now fixes #45 .
2018-03-19 21:12:40 +01:00
Jonathan Müller
300854a6b0
Remove empty token check
...
Lead to an issue with semicolon at end of file, fixes #45 .
2018-03-14 16:30:09 +01:00
Jonathan Müller
0caa3bdb15
Add missing case for CXType_Float16
2018-03-12 11:49:09 +01:00
Jonathan Müller
670551faa5
Fix include issue on pre-clang 4.0.0
2018-03-12 11:44:04 +01:00
Jonathan Müller
a91746c145
Improve variadic token workaround
2018-03-12 11:26:56 +01:00
Jonathan Müller
c2b86d1cad
Fix full path of includes
2018-02-21 16:25:46 +01:00