MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / HasCtor

Function HasCtor

CfrontCodeGenerator.cpp:182–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180//-----------------------------------------------------------------------------
181
182static bool HasCtor(QualType t)
183{
184 if(auto* cxxRecordDecl = t->getAsCXXRecordDecl(); cxxRecordDecl and not cxxRecordDecl->isTrivial()) {
185 return true;
186 }
187
188 return false;
189}
190//-----------------------------------------------------------------------------
191
192static bool HasDtor(QualType t)

Callers 2

InsertArgMethod · 0.85
InsertCXXMethodDeclMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected