codinuum / cca

Code Continuity Analysis Framework
https://codinuum.github.io/gallery-cca/
Apache License 2.0
20 stars 5 forks source link

[cpp] 2 more parsing failures #34

Closed petr-bauch closed 11 months ago

petr-bauch commented 11 months ago

The following fails to parse: 1) typedef with struct declaration

typedef struct A {} *LP_A;

2) template disambiguator for dependent names

class c {
    struct t {
        template<template<typename V0> class V> struct s {};
        template<typename V> static void f( s<V::template r>* = 0 );
    };
};
codinuum commented 11 months ago

The commit 9328fa2 fixes the issue.

petr-bauch commented 11 months ago

Very nice. Thank you for the quick fix.