MCPcopy Create free account
hub / github.com/KDE/kdevelop / isReserved

Method isReserved

kdevplatform/language/duchain/identifier.cpp:619–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617}
618
619bool Identifier::isReserved() const
620{
621 const auto str = identifier().str();
622 constexpr QLatin1Char underscore{'_'};
623 return str.size() >= 2 && str[0] == underscore && (str[1] == underscore || str[1].isUpper());
624}
625
626bool Identifier::operator==(const Identifier& rhs) const
627{

Callers 2

filterDeclarationMethod · 0.80
completionItemsMethod · 0.80

Calls 2

strMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected