Commit graph

  • 33d2523893 Extract common main function of examples Jonathan Müller 2017-10-30 16:30:34 +01:00
  • 6af95dde8e Add first example Jonathan Müller 2017-10-30 16:21:13 +01:00
  • 6f128da87f Add default constructor to libclang_parser Jonathan Müller 2017-10-30 15:48:50 +01:00
  • d8a230bee7 Add support for attributes Jonathan Müller 2017-10-31 13:16:34 +01:00
  • 0875721452 Handle parsing of extern templates Jonathan Müller 2017-10-30 22:25:12 +01:00
  • da3d515d09 Fix issue with GCC attribute syntax Jonathan Müller 2017-10-30 18:52:11 +01:00
  • 478fd4e90c Fix compilation errors Jonathan Müller 2017-10-30 09:47:32 +01:00
  • 10dd893b91 Add attribute convenience functions Jonathan Müller 2017-10-29 20:54:54 +01:00
  • 756fe351f1 Implement alignas parsing Jonathan Müller 2017-10-29 20:02:43 +01:00
  • ccb2aaa189 Implement attribute parsing Jonathan Müller 2017-10-29 19:42:16 +01:00
  • 151e0b1a81 Add attribute information to cpp_entity Jonathan Müller 2017-10-20 18:26:28 +02:00
  • 3b9d410574 Add simple tokenization function Jonathan Müller 2017-10-21 12:45:44 +02:00
  • 1572920650 Add function to tokenize strings Jonathan Müller 2017-10-19 19:02:27 +02:00
  • cfac41c7b5 Rename tokenizer stuff to include cx prefix Jonathan Müller 2017-10-12 18:43:12 +02:00
  • 6b55a13a83 Improve diagnostic interface Jonathan Müller 2017-10-12 07:48:20 +02:00
  • 49e63c4a9b Add format_diagnostic() function Jonathan Müller 2017-10-11 22:10:17 +02:00
  • 35293edc24 Add column to source_location Jonathan Müller 2017-10-11 21:55:08 +02:00
  • 3ae969aaae Add code coverage information Jonathan Müller 2017-10-11 21:44:02 +02:00
  • 9892cc52f0 Add badges Jonathan Müller 2017-10-11 21:30:11 +02:00
  • b1b0cad69a Code coverage with lcov Manu343726 2017-08-11 19:38:21 +02:00
  • 91a6f40d2d Match comments for unexposed entities Jonathan Müller 2017-10-11 17:31:55 +02:00
  • 0723bea947 Only generate line directive when necessary Jonathan Müller 2017-10-11 17:11:27 +02:00
  • a2929c0020 Handle newlines inside C comments Jonathan Müller 2017-10-11 17:09:54 +02:00
  • 36d2a815a3 Fix code generation of unexposed entities Jonathan Müller 2017-10-11 15:10:35 +02:00
  • 69ca035b5a Improve handling of unexposed entities Jonathan Müller 2017-10-11 14:34:30 +02:00
  • 0672e85186 Add and use cpp_token_string for unexposed entities Jonathan Müller 2017-10-11 14:09:50 +02:00
  • e53fc5e231 Include semicolon in unexposed entity Jonathan Müller 2017-10-10 22:33:03 +02:00
  • dd0a20c6d5 Support C-style doc comments with ! Jonathan Müller 2017-10-10 17:20:02 +02:00
  • 2777e396e6 Ensure matching line numbers in preprocessed file Jonathan Müller 2017-10-11 10:15:09 +02:00
  • 845ef61017 Use #line directive to enforce matching line numbers Jonathan Müller 2017-10-10 22:07:36 +02:00
  • b28fff6c37 Fix preprocessor line numbers if includes aren't supported Jonathan Müller 2017-10-10 21:13:29 +02:00
  • d088b44db6 Add line numbers to diagnostics Jonathan Müller 2017-10-10 17:16:10 +02:00
  • 7c30ba7c46 [breaking] Ensure matching line numbers after preprocessing Jonathan Müller 2017-10-10 17:07:41 +02:00
  • 5c5f30aa7a Fix a couple of bugs Jonathan Müller 2017-10-09 09:38:49 +02:00
  • 8e6c5ccf71 Fix type parser for types with keyword prefix Jonathan Müller 2017-10-09 09:20:35 +02:00
  • 49d77c5543 Fix issue with asymmetric common parents of friend function and friend Jonathan Müller 2017-10-09 09:05:20 +02:00
  • b3885bbb68 Remove comments in macro invocations Jonathan Müller 2017-10-07 09:58:14 +02:00
  • 1b468ea476 Dump preprocessed file in verbose mode Jonathan Müller 2017-10-07 09:35:31 +02:00
  • 08e92c873c Show line number in error message Jonathan Müller 2017-10-07 09:29:20 +02:00
  • be2ea9eb44 Hide "too many errors" error message Jonathan Müller 2017-10-07 09:24:18 +02:00
  • b924d8f8d5 Fix code generation bugs Jonathan Müller 2017-10-02 18:36:00 +02:00
  • 2752d94e2a Add ability to generate code from code_generator Jonathan Müller 2017-10-02 17:32:46 +02:00
  • 5a987db7a7 Add ability to customize output Jonathan Müller 2017-10-02 11:34:34 +02:00
  • 682754649a Fix excluding last parameter Jonathan Müller 2017-10-01 21:23:34 +02:00
  • 6e3e358002 Fix whitespace in cv ref qualifiers Jonathan Müller 2017-09-30 11:36:56 +02:00
  • a2472cd075 Remove trailing whitespace in type instantiation Jonathan Müller 2017-09-30 11:36:45 +02:00
  • 27a66f6632 [breaking] Pass current output to on_begin() and on_end() Jonathan Müller 2017-09-21 10:42:16 +02:00
  • 17ef990bb2 Add getter to retrieve main entity being outputted Jonathan Müller 2017-09-20 12:51:25 +02:00
  • bb8a915279 Add getter to retrieve current output object of code generator Jonathan Müller 2017-09-20 12:47:35 +02:00
  • dbececfb04 Add comment code generation text Jonathan Müller 2017-09-20 12:43:30 +02:00
  • 1c15e7fdc3 Fix compilation under clang 5 Jonathan Müller 2017-09-19 20:53:05 +02:00
  • ffbe878fcb Add user data pointer to entities Jonathan Müller 2017-09-15 11:51:25 +02:00
  • 0d549ce3d1 Pass current access specifier to visitors Jonathan Müller 2017-07-19 13:00:40 +02:00
  • 9c8260e685 [breaking] Change signature of do_get_options() Jonathan Müller 2017-07-19 12:49:41 +02:00
  • bb4527ff93 Add access specifier to visitor_info Jonathan Müller 2017-07-19 08:29:24 +02:00
  • 0c4de49234 Pass current access specifier to code generator Jonathan Müller 2017-07-18 23:08:53 +02:00
  • ad2d0f34f9 Add a couple of code gnerator flags Jonathan Müller 2017-07-17 17:24:55 +02:00
  • 495b82158d Hide noexcept condition Jonathan Müller 2017-07-17 16:36:59 +02:00
  • 38dd1c9d18 Hide macro replacement Jonathan Müller 2017-07-17 16:24:21 +02:00
  • 4e06906876 Fix code generation exclusion Jonathan Müller 2017-07-17 16:18:14 +02:00
  • 68f2ab91a0 Override scope_name() in templates Jonathan Müller 2017-07-14 14:43:53 +02:00
  • 93d2c58f7f Add signature() to cpp_function_base Jonathan Müller 2017-07-10 19:26:55 +02:00
  • 592eb0284f Add database support to tool Jonathan Müller 2017-07-03 17:59:50 +02:00
  • 3c9d53ae0c Extract logger into own header Jonathan Müller 2017-06-28 18:20:24 +02:00
  • 63c1fd50e7 Add compilation database parsing and FileParser Jonathan Müller 2017-06-27 22:40:09 +02:00
  • 3677aeb564 Add support for drive letters Jonathan Müller 2017-06-27 21:33:47 +02:00
  • abb2ba33d0 Add resolve_includes() function Jonathan Müller 2017-06-27 21:03:12 +02:00
  • 7092946091 Add parse_database() function Jonathan Müller 2017-06-27 16:41:32 +02:00
  • 38831db073 Add parse_files() utility function Jonathan Müller 2017-06-23 08:17:26 +02:00
  • 6b7ca183f9 Add default_logger() and default_verbose_logger() Jonathan Müller 2017-06-27 11:04:56 +02:00
  • 44708fff76 [breaking] Move error_logged() from logger to parser Jonathan Müller 2017-06-27 10:58:24 +02:00
  • 6dd85cb7a7 Silently ignore multiple registration of files Jonathan Müller 2017-06-23 14:18:39 +02:00
  • d14965b24e Add basic compilation database parsing Jonathan Müller 2017-06-06 17:23:48 +02:00
  • 1053429b00 Fix issue with duplicated entity definition Jonathan Müller 2017-06-23 17:00:57 +02:00
  • 4534bd2842 Workaround converison operator parsing bug Jonathan Müller 2017-06-23 13:59:10 +02:00
  • 204961b7b1 Throw exception on multiple parse error Jonathan Müller 2017-06-23 13:01:08 +02:00
  • 23888ca9c4 Workaround libclang issue with USR of conversion function Jonathan Müller 2017-06-23 12:39:43 +02:00
  • 70ac5cf111 Add integration test that parses the standard library Jonathan Müller 2017-06-23 09:43:17 +02:00
  • 28bb72850a Run all tests on appveyor Jonathan Müller 2017-06-21 09:53:57 +02:00
  • 4583a2dd03 Run all tests on Travis Jonathan Müller 2017-06-15 21:46:19 +02:00
  • bcf65703d7 Add integration test parsing the standard library Jonathan Müller 2017-06-15 21:20:01 +02:00
  • e355e7a653 Fix empty arguments to template instantiation Jonathan Müller 2017-06-23 07:34:22 +02:00
  • 232842f2f6 Fix constructor prefix skipping Jonathan Müller 2017-06-23 07:22:44 +02:00
  • 7a9f6fdfac Improve function scope parsing Jonathan Müller 2017-06-22 22:35:36 +02:00
  • c07f80ccf3 Improve skip brackets heuristic Jonathan Müller 2017-06-21 19:18:00 +02:00
  • 7e71a64437 Allow function names enclosed in parenthesis Jonathan Müller 2017-06-21 15:34:15 +02:00
  • 35c090e7c3 Put full path in quotes Jonathan Müller 2017-06-21 10:00:35 +02:00
  • 9590b63c2c Fix missing paren in destructor tokens Jonathan Müller 2017-06-21 09:33:11 +02:00
  • f596ef398f Don't generate override and final on definitions Jonathan Müller 2017-06-15 21:10:34 +02:00
  • b5a5e42955 Fix out-of-class destructor definition Jonathan Müller 2017-06-15 21:08:36 +02:00
  • e6271f4c0d Silently ignore _Complex types Jonathan Müller 2017-06-15 20:36:56 +02:00
  • 43e50599e7 Make using declaration parser more robust Jonathan Müller 2017-06-15 20:31:31 +02:00
  • bf35018bdf Fix libclang issue with USR, partial class template specialization and ref qualifiers Jonathan Müller 2017-06-15 20:23:03 +02:00
  • 13d9ac6147 Skip attribute cursors Jonathan Müller 2017-06-06 17:36:27 +02:00
  • b0cd795836 Hide wrong warnings if header files are parsed directly Jonathan Müller 2017-06-06 17:34:52 +02:00
  • 084d8050b9 Allow attribute after namespace name Jonathan Müller 2017-06-06 17:33:34 +02:00
  • d6e993a7b2 Optimize preprocessing string searching/comparing Jonathan Müller 2017-06-14 22:38:14 +02:00
  • fd449dde4a Store full path of header as well Jonathan Müller 2017-06-11 22:16:56 +02:00
  • 6d261cef16 Add parser macro for the parsed code Jonathan Müller 2017-06-09 19:53:27 +02:00
  • 206c771b1d Define macros to detect cppast when parsing the code Jonathan Müller 2017-06-06 14:33:11 +02:00