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

Function getFlag

lib/symboldatabase.h:200–202  ·  view source on GitHub ↗

* Get specified flag state. * @param flag_ flag to get state of * @return true if flag set or false in flag not set */

Source from the content-addressed store, hash-verified

198 * @return true if flag set or false in flag not set
199 */
200 bool getFlag(unsigned int flag_) const {
201 return ((mFlags & flag_) != 0);
202 }
203
204 /**
205 * Set specified flag state.

Callers 15

isMutableFunction · 0.70
isVolatileFunction · 0.70
isStaticFunction · 0.70
isExternFunction · 0.70
isConstFunction · 0.70
isClassFunction · 0.70
isArrayFunction · 0.70
isPointerFunction · 0.70
isPointerToArrayFunction · 0.70
isArrayOrPointerFunction · 0.70
isReferenceFunction · 0.70
isRValueReferenceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected