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

Function isDesignatedInitializer

lib/astutils.cpp:1024–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1022}
1023
1024bool isDesignatedInitializer(const Token* tok)
1025{
1026 return tok && tok->isUnaryOp(".");
1027}
1028
1029/// If tok2 comes after tok1
1030bool precedes(const Token * tok1, const Token * tok2)

Callers 2

checkEvaluationOrderMethod · 0.85

Calls 1

isUnaryOpMethod · 0.80

Tested by

no test coverage detected