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

Function getFlag

lib/token.h:1529–1531  ·  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

1527 * @return true if flag set or false in flag not set
1528 */
1529 bool getFlag(uint64_t flag_) const {
1530 return ((mFlags & flag_) != 0);
1531 }
1532
1533 /**
1534 * Set specified flag state.

Callers 15

isNameFunction · 0.70
isLiteralFunction · 0.70
isUnsignedFunction · 0.70
isSignedFunction · 0.70
isPointerCompareFunction · 0.70
isLongFunction · 0.70
isStandardTypeFunction · 0.70
isCastFunction · 0.70
isAttributeConstructorFunction · 0.70
isAttributeDestructorFunction · 0.70
isAttributeUnusedFunction · 0.70
isAttributeUsedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected