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

Function isAlignAttribute

lib/tokenize.cpp:8537–8540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8535}
8536
8537static bool isAlignAttribute(const Token * tok)
8538{
8539 return Token::simpleMatch(tok, "alignas (") && tok->linkAt(1);
8540}
8541
8542template<typename T>
8543static T* skipCPPOrAlignAttribute(T * tok)

Callers 3

skipCPPOrAlignAttributeFunction · 0.85
findGarbageCodeMethod · 0.85
simplifyCPPAttributeMethod · 0.85

Calls 2

linkAtMethod · 0.80
simpleMatchFunction · 0.70

Tested by

no test coverage detected