MCPcopy Create free account
hub / github.com/Samsung/UTopia / isNullType

Method isNullType

lib/astirmap/DebugInfoMap.cpp:279–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279bool DebugInfoMap::isNullType(const ASTDefNode &Node) const {
280 QualType T;
281 if (const auto *Assigned = Node.getAssigned())
282 T = Assigned->getType();
283 else
284 T = Node.getAssignee().getType();
285 return !T.getTypePtrOrNull();
286}
287
288bool DebugInfoMap::isTemplateType(const ASTDefNode &Node) const {
289 auto *TypePtr = Node.getAssignee().getType().getTypePtrOrNull();

Callers

nothing calls this directly

Calls 2

getAssignedMethod · 0.80
getTypeMethod · 0.45

Tested by

no test coverage detected