MCPcopy Create free account
hub / github.com/beefytech/Beef / MergeFlags

Method MergeFlags

IDEHelper/Compiler/BfCompiler.cpp:8901–8916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8899 }
8900
8901 bool MergeFlags(uint32 flags)
8902 {
8903 int flagIdx = 0;
8904 while (flags > 0)
8905 {
8906 if (((flags & 1) != 0) && ((mFoundFlags & (1 << flagIdx)) == 0))
8907 {
8908 mFoundFlags |= (1 << flagIdx);
8909 mFoundCount++;
8910 }
8911
8912 flags >>= 1;
8913 flagIdx++;
8914 }
8915 return mFoundCount == mSearch.mSize;
8916 }
8917
8918 uint32 CheckMatch(const StringView& str, int startIdx = 0)
8919 {

Callers 1

GetTypeDefMatchesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected