Commit Graph

18 Commits

Author SHA1 Message Date
Jakob Lykke Andersen
3cf67aa5cf C++, more name lookup fixes.
Not all names knew of the scope they were in, resulting in not links.
See sphinx-doc/sphinx#1746.
2015-03-08 14:58:34 +01:00
Jakob Lykke Andersen
bbf97fe8fd Last details. Closes sphinx-doc/sphinx#1753. 2015-03-05 23:34:44 +01:00
Jakob Lykke Andersen
8ca12f5307 Main revamp for sphinx-doc/sphinx#1753.
Support `( ptr-declarator )`, e.g., `int (*f)(double)`, or
`int (&a)[42]`.
Still missing check for compatibility with old id generation scheme.
2015-03-05 10:51:28 +01:00
Jakob Lykke Andersen
4f0e246109 C++, add tests for ids. 2015-03-01 15:04:15 +01:00
Jakob Lykke Andersen
b8e324fb2f Fixes sphinx-doc/sphinx#1738. 2015-02-24 09:49:43 +01:00
Jakob Lykke Andersen
46cd97873c Fix C++ tests. 2015-02-08 23:22:31 +01:00
Jakob Lykke Andersen
d09bcfa717 C++, minor code formatting fixes. 2015-02-07 01:26:35 +01:00
Jakob Lykke Andersen
d8a109976b Merge from master 2015-02-07 00:55:19 +01:00
Jakob Lykke Andersen
fb3a524a90 C++, fixes to id generation.
New ids are prefixed with "_CPPv1". Replacing the prefix with "_Z"
should yield a valid mangled name following the Itanium C++ ABI,
except for expressions, which are currently not handled.
2015-02-06 08:35:12 +01:00
Jakob Lykke Andersen
f4cf30b95e C++, old-style linkes, const/volatile and templates, sphinx-doc/sphinx#1704 2015-02-05 10:00:50 +01:00
Jakob Lykke Andersen
89c919911f Merge from master 2015-02-04 23:23:28 +01:00
Jakob Lykke Andersen
aaa71b0606 Towards a solution for sphinx-doc/sphinx#1704.
Elements now get multiple ids to keep permalinks permanent. The default
id is the newest style, which is used as the shown permalink and in the
index. The old style ids have been (partially) replicated and are
temporarily used as the default id for testing purposes.
2015-02-04 10:11:58 +01:00
Georg Brandl
3068f6c7f1 Merge pull request #1705 from jakobandersen/cpp-declspecs-on-right
C++, fix #1689
2015-02-04 06:37:13 +01:00
Jakob Lykke Andersen
5f0977ca30 C++, add support for 'const', 'volatile', etc. on the right-hand side of the type. 2015-02-03 09:18:18 +01:00
Georg Brandl
a23903d8d5 Merge branch 'stable' 2015-01-03 21:41:14 +01:00
Jakob Lykke Andersen
c010b47589 C++, initial enum support (see #772) 2015-01-03 16:59:08 +01:00
Takayuki Shimizukawa
da651089e7 fix trailing space and long line 2014-10-09 23:53:33 +09:00
Takayuki Shimizukawa
1d65d9cdc6 rename test files 2014-08-10 23:47:27 +09:00