Commit graph

480 commits

Author SHA1 Message Date
Lucas Jansen
7b25525232
Add support for C language standards (#159) 2023-01-26 12:17:44 +01:00
Chloe
e751294b96
Add c++2b as a permitted language version (#156) 2023-01-11 17:09:19 +01:00
Chloe
4143cea00f
Fix build error in MSVC (#152) 2022-12-25 19:36:54 +01:00
Jonathan Müller
05bd2f4caf Parse semantic parent of variable definitions
Fixes #151.
2022-12-07 12:59:30 +01:00
Jonathan Müller
12432de30d Add ability to set semanitc parent of a cpp_variable 2022-12-07 12:47:42 +01:00
Jonathan Müller
ba6fd12dce Handle circular includes, take 2
We can't rely on path equivalence to determine the old file, need to
count the level instead.

Fixes #150, again.
2022-11-24 21:45:53 +01:00
Jonathan Müller
282f05ed38 Handle circular includes
Fixes #150.
2022-11-13 21:32:39 +01:00
Jonathan Müller
e5fa6b7efa Fix entity id for elaborated type referencing using declaration
Fixes #149.
2022-11-06 19:17:50 +01:00
Jonathan Müller
a3393ed0fa Fix formatting of cpp_dependent_type
Note that `cpp_dependent_type` is currently never generated, so it is
not tested.

Fixes #148.
2022-10-22 11:42:31 +02:00
Jonathan Müller
34e7bb4bf4 Fix unmunch for template arguments
Fixes #147.
2022-10-13 17:30:41 +02:00
Jonathan Müller
4c40bb7544 Remove tokenizer unmunch as it was never set 2022-10-13 09:09:37 +02:00
Julian Rüth
f81be80b52
Add install targets to cmake setup (#145) 2022-09-06 18:23:20 +02:00
waitingtocompile
a937efbcbc
Add basic concept support (#144) 2022-09-03 21:22:59 +02:00
waitingtocompile
f3e399573f
Add options for custom clang binary path in clang compile config constructor (#143) 2022-08-30 18:14:21 +02:00
John
97a3d550c2 Fix stack overflow in debug builds in intrusive list dtor
When destroying large intrusive lists use iteration instead of
recursion.
2022-06-30 17:26:00 +02:00
John
b958847850 Fixed files with backslashes not reporting any items
Parse_linemarker was turning double backslashes into quadruple backslashes.
Making it instead turn them into single backslashes makes the `lm.value().file == path` comparison true in preprocess() so that p.enable_write() is called.

Fixes #106.
2022-06-30 17:25:41 +02:00
Jonathan Müller
210d536eb0 Remove MacOS workflow 2022-06-30 17:12:52 +02:00
Jonathan Müller
1a4dc770cb Handle "note: expanded from here" diagnostics in preprocessor
Fixes #140.
2022-06-30 15:08:20 +02:00
Jonathan Müller
0e53f93722 Remove note about submodules in README
Fixes #138.
2022-06-30 14:59:25 +02:00
Jonathan Müller
c4a47b38c5 Expand duplicate definition check 2022-06-30 14:58:49 +02:00
Jonathan Müller
135e4d65e8 Update catch to latest version 2022-06-30 14:58:41 +02:00
Bartek Kryza
19cbc378f8
Fix virtual inheritance parsing (#137) 2022-04-17 19:14:08 +02:00
Jonathan Müller
e558e2d58f Tag current status for release 2022-02-07 20:43:47 +01:00
Jonathan Müller
62e571a4d6 Update copyright notices 2022-02-07 20:43:22 +01:00
Jonathan Müller
373717cc5e Fix multidimensional array of incomplete size
Fixes #129.
2022-02-06 21:50:54 +01:00
Julian Rüth
5069f2f167
Add forward declarations (#116) 2022-01-31 15:19:12 +01:00
Jonathan Müller
87591d8cc9 Specify clang binary on MacOS on CI 2022-01-31 14:57:40 +01:00
Jonathan Müller
a0246cec8d Properly find llvm-config on MacOS 2022-01-31 14:56:00 +01:00
Jonathan Müller
d303bab0da Support attributes in using declaration target
Fixes parsing of libcxx.
2022-01-31 14:41:46 +01:00
Fadhil Mandaga
bf7ec70ea5 Backslash escape in paths
Fixes #106.
2021-10-13 19:16:00 +02:00
Tobias Hienzsch
032d48df2e
Fix typo in documentation (#119) 2021-04-22 18:13:09 +02:00
Minh Lu
1b03d106ab Add support for consteval 2021-03-24 19:47:50 +01:00
Minh Lu
ce218dfb8a Add basic C++20 support 2021-03-24 19:47:50 +01:00
Jonathan Müller
019163b585 Allow duplicate definitions of templates 2021-03-01 18:30:28 +01:00
Jonathan Müller
47a643e113 Move CI to GitHub Actions
Note that CI on windows has been dropped for now, I don't have access to a windows dev machine and it is just annoying to setup.
2021-03-01 18:19:16 +01:00
Jonathan Müller
22572a86ed Update Azure Badge 2021-02-17 15:50:41 +01:00
Jonathan Müller
1311b22ddc Update azure pipeline version 2021-02-17 15:27:22 +01:00
Jonathan Müller
a23ce01cbb Add sponsor 2021-02-17 15:27:22 +01:00
Jonathan Müller
27ac5b7003 Use FetchContent() instead of submodules 2021-02-17 15:27:22 +01:00
Jonathan Müller
eda153e728 Vendor tiny-process-library
Fixes #113.
2021-02-17 15:27:22 +01:00
Jonathan Müller
39ba4f5de2 Use catch via FetchContent
Fixes #111 and #112.
2021-02-17 13:37:14 +01:00
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
Loïc Touraine
9ab6ef877a
fix: update catch.hpp link to fix broken link due to Catch2 repository branches evolution (#108) 2021-02-03 16:54:22 +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
b155d6abcc Add funding 2019-11-20 15:33:54 +01:00
Jonathan Müller
4bc743327d Fix float literal detection
Fixes #95.
2019-11-18 18:47:37 +01:00
Julian Rüth
4f7583eeff Search for libclang.lib on Windows (#94) 2019-11-18 18:35:42 +01:00
Jonathan Müller
b88023dc70 Update tiny-process-library remote location 2019-11-18 17:57:15 +01:00
Jonathan Müller
9e3830e75e Update submodules 2019-11-18 17:53:58 +01:00
Jonathan Müller
000febb999 Fix parsing of explicit template instantiation
Fixes #82.
2019-11-18 17:22:00 +01:00