c.tmbundle
c.tmbundle copied to clipboard
C++ final and override keywords are not correctly identified
From @rielz on December 27, 2015 16:58
The C++11 specifiers final and override are missing in the C++ syntax file.
They are context specific keywords, so they must not always be classified as a keyword.
Ironically they are present in the C syntax file with some checks for the correct context. This check fails for some cases though. These three are currently missing in Code:
class deriv final : base {
void meth1() final;
void meth2() override;
}
- final and override in class declarations
- final classes ... GitHub seems to be missing that one too :smile:
Copied from original issue: Microsoft/vscode#1669
For reference: http://en.cppreference.com/w/cpp/keyword