OSDN Git Service

Allow std::function<return_type(arg_type)> patterns in cpplint.
authorRoland Levillain <rpl@google.com>
Tue, 7 Oct 2014 10:07:07 +0000 (11:07 +0100)
committerRoland Levillain <rpl@google.com>
Tue, 7 Oct 2014 10:07:07 +0000 (11:07 +0100)
commita21f81e6dd28184feabc6816a4d2b0588ee5aa74
tree8a95a1b81e516172fa1025f6e1beb9854f288987
parentb5325e24ca58299b2b011e57e784b2584f99d687
Allow std::function<return_type(arg_type)> patterns in cpplint.

Before this change, cpplint would erroneously recognize
`return_type(arg_type)' within
`std::function<return_type(arg_type)>' as a C-style cast.

Change-Id: I41933fbdbb835e2950304de29edd33b16939708d
tools/cpplint.py