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

Function removeConstModifier

plugins/clang/codegen/codegenhelper.cpp:155–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155IndexedType removeConstModifier(const IndexedType& indexedType)
156{
157 AbstractType::Ptr type = indexedType.abstractType();
158 type->setModifiers(type->modifiers() & (~AbstractType::ConstModifier));
159 return type->indexed();
160}
161
162AbstractType::Ptr shortenTypeForViewing(const AbstractType::Ptr& type)
163{

Callers 1

exchangeMethod · 0.85

Calls 4

setModifiersMethod · 0.80
modifiersMethod · 0.80
abstractTypeMethod · 0.45
indexedMethod · 0.45

Tested by

no test coverage detected