MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / setFlag

Function setFlag

lib/symboldatabase.h:209–211  ·  view source on GitHub ↗

* Set specified flag state. * @param flag_ flag to set state * @param state_ new state of flag */

Source from the content-addressed store, hash-verified

207 * @param state_ new state of flag
208 */
209 void setFlag(unsigned int flag_, bool state_) {
210 mFlags = state_ ? mFlags | flag_ : mFlags & ~flag_;
211 }
212
213 /**
214 * @brief parse and save array dimension information

Callers 15

hasBodyFunction · 0.70
isEscapeFunctionFunction · 0.70
isConstexprFunction · 0.70
isInlineFunction · 0.70
isConstFunction · 0.70
hasVirtualSpecifierFunction · 0.70
isPureFunction · 0.70
isStaticFunction · 0.70
isStaticLocalFunction · 0.70
isExternFunction · 0.70
isFriendFunction · 0.70
isExplicitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected