Home
last modified time | relevance | path

Searched refs:castCode (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DOpInterfacesGen.cpp118 StringRef castCode = "(tablegen_opaque_val.cast<ConcreteAttr>())"; in AttrInterfaceGenerator() local
119 nonStaticMethodFmt.addSubst("_attr", castCode).withSelf(castCode); in AttrInterfaceGenerator()
132 StringRef castCode = "(llvm::cast<ConcreteOp>(tablegen_opaque_val))"; in OpInterfaceGenerator() local
134 .withOp(castCode) in OpInterfaceGenerator()
135 .withSelf(castCode); in OpInterfaceGenerator()
148 StringRef castCode = "(tablegen_opaque_val.cast<ConcreteType>())"; in TypeInterfaceGenerator() local
149 nonStaticMethodFmt.addSubst("_type", castCode).withSelf(castCode); in TypeInterfaceGenerator()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprObjC.cpp3816 std::string castCode = "("; in addFixitForObjCARCConversion() local
3817 castCode += bridgeKeyword; in addFixitForObjCARCConversion()
3818 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3819 castCode += ")"; in addFixitForObjCARCConversion()
3825 std::string castCode = "("; in addFixitForObjCARCConversion() local
3826 castCode += bridgeKeyword; in addFixitForObjCARCConversion()
3827 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3828 castCode += ")"; in addFixitForObjCARCConversion()
3833 castCode)); in addFixitForObjCARCConversion()
3835 castCode += "("; in addFixitForObjCARCConversion()
[all …]