terryyin / lizard

A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages.
Other
1.85k stars 250 forks source link

C++11 function trailing return type #146

Closed rakhimov closed 8 years ago

rakhimov commented 8 years ago

Trailing return types in C++11 functions are not registering the function. The current fix just ignores whatever is in the trailing return.


This change is Reviewable

terryyin commented 8 years ago

Thanks! I cannot believe that we didn't even have '->' as a token before!