Commit graph

172 commits

Author SHA1 Message Date
Jonathan Müller
c3f2726f19 Ignore weird attribute in class children under Windows 2017-04-21 12:35:02 +02:00
Jonathan Müller
099ff00908 Workaround weird issue with broken children of function definition 2017-04-21 12:23:06 +02:00
Jonathan Müller
2ce5ddc295 Fix compatibility issue in enum test 2017-04-21 12:00:39 +02:00
Jonathan Müller
bc9b8433c8 Skip character literals when preprocessing 2017-04-21 11:52:30 +02:00
Jonathan Müller
d1fafdaa92 Add appveyor.yml 2017-04-21 11:18:36 +02:00
Jonathan Müller
1420abc81b Add .travis.yml 2017-04-21 10:12:06 +02:00
Emerson Ferreira
ce7d200a7c Change to proper em dashes from hyphens (#15) 2017-04-20 19:54:32 +02:00
Emerson Ferreira
55caa04c56 Fix grammatical errors, and add missing graphical symbols (#14)
*  Hyphens->"em" dashes, semicolon at bullet points

* Bring back eaten character 'd'
2017-04-20 19:34:02 +02:00
Jonathan Müller
2d36545e40 Update README.md 2017-04-20 11:44:44 +02:00
Jonathan Müller
7eed246333 Add license and readme 2017-04-19 20:01:04 +02:00
Jonathan Müller
6cd9404175 Workaround broken virtual implementation 2017-04-19 17:47:38 +02:00
Jonathan Müller
79fce1170b Handle decltype() in variadic expansion 2017-04-19 17:28:50 +02:00
Jonathan Müller
da033cdebe Properly handle anonymous entities in tool 2017-04-19 17:25:15 +02:00
Jonathan Müller
455af67837 Fix issue with using declarations 2017-04-19 17:25:15 +02:00
Jonathan Müller
1c973cb0fa Fix issue with conversion op parsing & instantiation type 2017-04-19 17:10:14 +02:00
Jonathan Müller
6e7a8c921c Skip strings when preprocessing 2017-04-19 16:52:56 +02:00
Jonathan Müller
b189c72280 Handle empty C comments in preprocessor 2017-04-19 16:38:18 +02:00
Jonathan Müller
4af4250f55 Add issue template 2017-04-18 15:31:40 +02:00
Jonathan Müller
f359885e87 Keep macro definitions when preprocessing
Other includes libclang encounters might depend on them.
2017-04-14 22:38:25 +02:00
Jonathan Müller
599f2bbff8 Add semantic parent to forward declarable entities 2017-04-14 22:06:27 +02:00
Jonathan Müller
cf7ea80768 Fix issue with out-of-line constructor definition of template class 2017-04-14 14:53:37 +02:00
Jonathan Müller
06cf090b35 Add cpp_scope_name to support templated scopes 2017-04-13 11:58:52 +02:00
Jonathan Müller
6894a025ca Remove full_name() function
Doesn't work for templates.
2017-04-13 11:35:22 +02:00
Jonathan Müller
133d51b630 Workaround token issue in unnamed variadic template parameter 2017-04-12 21:28:02 +02:00
Jonathan Müller
365677b2c9 Fix missing include 2017-04-12 18:19:08 +02:00
Jonathan Müller
f1fc25387e Fix USR collision with SFINAE in return type 2017-04-12 17:56:35 +02:00
Jonathan Müller
b6767ffdeb Force C++ and add current include dir when preprocessing 2017-04-12 17:44:50 +02:00
Jonathan Müller
de5900a278 Augment is_definition() & co to work for templates 2017-04-12 15:19:27 +02:00
Jonathan Müller
d0451c517b Skip templated and friended entities in tool 2017-04-12 15:17:30 +02:00
Jonathan Müller
5b9fe7623f Skip ParmDecl when parsing class entities
Can happen in specialization to function types.
2017-04-12 15:14:05 +02:00
Jonathan Müller
4dc771ad6b Skip comments instead of writing them to output
This simplifies parsing.
2017-04-12 15:09:42 +02:00
Jonathan Müller
db20190fe4 Workaround clang bug with #undef output 2017-04-12 14:52:28 +02:00
Jonathan Müller
5d95c1ed5d Ignore dependent type for now 2017-04-11 20:37:25 +02:00
Jonathan Müller
4db09778b5 Add and parse cpp_static_assert 2017-04-11 20:37:24 +02:00
Jonathan Müller
d125869df5 Fix infinite recursion in decltype type 2017-04-11 20:37:24 +02:00
Jonathan Müller
1b57248fc8 Fix maximal munch parsing issue 2017-04-11 20:37:24 +02:00
Jonathan Müller
e84925d5e4 Fix issue with relative include paths 2017-04-11 19:07:44 +02:00
Jonathan Müller
c5d6df957c Remove parameter children from e.g. cpp_function_base
Also template parameter children of cpp_template_template_parameter.
Now accessible over named function, consistent with base classes, other template parameters etc.
2017-04-11 18:50:02 +02:00
Jonathan Müller
599524a894 Add definition info to AST dump 2017-04-11 18:33:58 +02:00
Jonathan Müller
0bc5097579 Fix typo in to_string 2017-04-10 21:47:48 +02:00
Jonathan Müller
487ef8e15d Fix issue with trailing return type parser 2017-04-10 21:47:16 +02:00
Jonathan Müller
aec3d77e2f Fix issue with constructor in template file 2017-04-10 21:15:35 +02:00
Jonathan Müller
75fbc577ad Fix issue when parsing anonymous namespaces 2017-04-10 21:02:23 +02:00
Jonathan Müller
6a09a5253e Expose cppast version string via macro 2017-04-10 20:01:50 +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
d66d6d26af Add tool infrastructure 2017-04-10 19:58:17 +02:00
Jonathan Müller
a8e2676f36 Fix error reporting in preprocessor 2017-04-10 19:58:17 +02:00
Jonathan Müller
17477319fb Fix CMake issue 2017-04-10 19:58:16 +02:00
Jonathan Müller
88af191c70 Clean kind check functions 2017-04-07 19:06:45 +02:00
Jonathan Müller
45041e8b9c Implement equality for dependent types 2017-04-07 19:02:07 +02:00