diff options
| author | Jakob Lykke Andersen <Jakob@caput.dk> | 2017-05-02 19:51:04 +0900 |
|---|---|---|
| committer | Jakob Lykke Andersen <Jakob@caput.dk> | 2017-05-02 19:51:04 +0900 |
| commit | 5cd0f235a891de80b637c20e0d90fd916cc68a86 (patch) | |
| tree | 1f341e32d662ee56390a6908b1aea9f36abdf585 /tests/test_domain_cpp.py | |
| parent | e8d8a11b56e8b0e26fc92ed49f69caf3e555c168 (diff) | |
| download | sphinx-git-5cd0f235a891de80b637c20e0d90fd916cc68a86.tar.gz | |
C++, handle decltype(auto)
Diffstat (limited to 'tests/test_domain_cpp.py')
| -rw-r--r-- | tests/test_domain_cpp.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py index 49d8e3206..446c264fd 100644 --- a/tests/test_domain_cpp.py +++ b/tests/test_domain_cpp.py @@ -85,10 +85,9 @@ def check(name, input, idv1output=None, idv2output=None, output=None): def test_fundamental_types(): # see http://en.cppreference.com/w/cpp/language/types for t, id_v2 in cppDomain._id_fundamental_v2.items(): - if t == "decltype(auto)": - continue - def makeIdV1(): + if t == 'decltype(auto)': + return None id = t.replace(" ", "-").replace("long", "l").replace("int", "i") id = id.replace("bool", "b").replace("char", "c") id = id.replace("wc_t", "wchar_t").replace("c16_t", "char16_t") |
