Commit graph

30 commits

Author SHA1 Message Date
Jonathan Müller
b28fff6c37 Fix preprocessor line numbers if includes aren't supported 2017-10-10 21:13:29 +02:00
Jonathan Müller
7c30ba7c46 [breaking] Ensure matching line numbers after preprocessing
Unmatched documentation comments are not just a string, but also contain the line number as well.
2017-10-10 17:07:41 +02:00
Jonathan Müller
1b468ea476 Dump preprocessed file in verbose mode 2017-10-07 09:35:31 +02:00
Jonathan Müller
08e92c873c Show line number in error message 2017-10-07 09:29:20 +02:00
Jonathan Müller
be2ea9eb44 Hide "too many errors" error message 2017-10-07 09:24:18 +02:00
Jonathan Müller
3677aeb564 Add support for drive letters
Windows...
2017-06-27 21:58:17 +02:00
Jonathan Müller
7092946091 Add parse_database() function 2017-06-27 16:42:59 +02:00
Jonathan Müller
38831db073 Add parse_files() utility function 2017-06-27 16:42:59 +02:00
Jonathan Müller
44708fff76 [breaking] Move error_logged() from logger to parser 2017-06-27 16:42:59 +02:00
Jonathan Müller
6dd85cb7a7 Silently ignore multiple registration of files 2017-06-27 16:42:59 +02:00
Jonathan Müller
d14965b24e Add basic compilation database parsing 2017-06-23 17:01:42 +02:00
Jonathan Müller
fd449dde4a Store full path of header as well 2017-06-20 22:17:44 +02:00
Jonathan Müller
206c771b1d Define macros to detect cppast when parsing the code 2017-06-06 14:44:19 +02:00
Jonathan Müller
2af22083a6 Add support for C++17 parsing with cpp_1z option
Note: It is currently experimental.
2017-04-25 17:30:07 +02:00
Jonathan Müller
455af67837 Fix issue with using declarations 2017-04-19 17:25:15 +02:00
Jonathan Müller
e84925d5e4 Fix issue with relative include paths 2017-04-11 19:07:44 +02:00
Jonathan Müller
01b206d453 Add simple command line tool to view the AST 2017-04-10 19:58:17 +02:00
Jonathan Müller
9c46c96820 Fix and test include directive parsing 2017-04-03 09:49:29 +02:00
Jonathan Müller
e10a41fea8 Add proper build system 2017-04-02 18:38:28 +02:00
Jonathan Müller
db0e649bf6 Properly handle libclang diagnostics 2017-03-16 12:15:46 +01:00
Jonathan Müller
183aeaafde Parse documentation comments 2017-03-16 11:49:37 +01:00
Jonathan Müller
9267bbbff2 Parse free functions 2017-03-11 18:08:06 +01:00
Jonathan Müller
8fdfd3a707 Order preprocessing entities relative to other entities 2017-02-22 20:30:26 +01:00
Jonathan Müller
51567da741 Add actual parse framework 2017-02-21 22:10:41 +01:00
Jonathan Müller
467936cba4 Add parse_error handling 2017-02-21 20:47:15 +01:00
Jonathan Müller
108fd1b2ee Add diagnostic_logger 2017-02-16 22:08:56 +01:00
Jonathan Müller
a0c2eece5b Add and use libclang_error exception class 2017-02-16 21:33:41 +01:00
Jonathan Müller
51f7c3c2b2 Add libclang parsing outline 2017-02-16 21:19:20 +01:00
Jonathan Müller
0684be5788 Add preprocessor
The parser now parses macros and inclusion directives.
2017-02-12 21:43:14 +01:00
Jonathan Müller
ac8b81400c Add basic libclang parsing infrastructure 2017-02-10 21:49:35 +01:00