Searched refs:DynamicCast (Results 1 – 11 of 11) sorted by relevance
72 static x* DynamicCast(TypeBase* declarable) { \77 static const x* DynamicCast(const TypeBase* declarable) { \268 if (const UnionType* union_type = UnionType::DynamicCast(t)) { in Extend()287 const UnionType* union_type = UnionType::DynamicCast(t); in FromType()
78 static x* DynamicCast(Declarable* declarable) { \83 static const x* DynamicCast(const Declarable* declarable) { \
81 if (auto* basic = BasicTypeExpression::DynamicCast(type_expression)) { in GetType()102 if (Builtin* builtin = Builtin::DynamicCast(declarable.get())) { in FindSomeInternalBuiltinWithType()
569 if (Builtin* builtin = Builtin::DynamicCast(declarations()->Lookup(name))) { in Visit()1115 StructType::DynamicCast(signature.return_type)) { in GenerateFunctionDeclaration()1406 if (const StructType* struct_type = StructType::DynamicCast(type)) { in RValueFlattenStructs()1447 if (const StructType* struct_type = StructType::DynamicCast(type)) { in GenerateFetchFromLocation()1505 } else if (auto access = FieldAccessExpression::DynamicCast(location)) { in GenerateAssignToLocation()
36 if (const UnionType* union_type = UnionType::DynamicCast(supertype)) { in IsSubtypeOf()
476 if (if_false && !(BlockStatement::DynamicCast(if_true) && in MakeIfStatement()477 (BlockStatement::DynamicCast(*if_false) || in MakeIfStatement()478 IfStatement::DynamicCast(*if_false)))) { in MakeIfStatement()
111 static T* DynamicCast(AstNode* node) { \123 static T* DynamicCast(AstNode* node) { \
99 StructType::DynamicCast(signature.return_type)) { in BuiltinDeclarationCommon()
110 namespace DynamicCast { namespace
387 namespace DynamicCast { namespace
911 TEST(DynamicCast, MatchesSimpleCase) { in TEST() argument