tree-sitter-cpp
tree-sitter-cpp copied to clipboard
Attribute syntax TODO: support using
Since C++17, attributes can have using
in them:
[[using name::space: attr]]
Also (this is admittedly strange) the C++ grammar doesn't introduce an attribute with a single [[
token but with two tokens [
[
.
(Yes, this means it's really annoying to call an immediately-invoked lambda inside a call to operator[]
).