Closed jefftrull closed 3 years ago
Oh man, haven't given any thought to attributes... or spaceship... guess I'll file some more issues.
Re: attributes, is __has_cpp_attribute()
what you were referring to? I haven't gotten any further than filing an issue for it.
Re: attributes, is
__has_cpp_attribute()
what you were referring to? I haven't gotten any further than filing an issue for it.
I meant [[some_attribute]]
which are separate special tokens, like T_ATTRIBUTE
which has a value of [[some_attribute]]
.
Ah... FWIW Clang doesn't seem to have a special token for that. Is there a specific need, or can we let the parser handle that?
Ah... FWIW Clang doesn't seem to have a special token for that. Is there a specific need, or can we let the parser handle that?
Ok. Could be a convenience only. However it could be handled by the parser as a sequence of [
[
identifier
]
]
tokens...
"Breaking Changes" deadline is today - seems like a good time for this. Support for C++20 tokens could possibly be classified as "breaking" in the sense that they were lexed differently, before.