mrtrizer / FlappyEngine

FlappyEngine is a component-based 2d game engine written in C++ and Js in early stage of development.
4 stars 0 forks source link

Wrap classes marked with [[attibute]] to JS #109

Closed mrtrizer closed 6 years ago

mrtrizer commented 6 years ago
Matcher hasAttr attr::Kind AttrKind

Matches declaration that has a given attribute. Given attribute((device)) void f() { ... } decl(hasAttr(clang::attr::CUDADevice)) matches the function declaration of f. If the matcher is use from clang-query, attr::Kind parameter should be passed as a quoted string. e.g., hasAttr("attr::CUDADevice").

here