Home
last modified time | relevance | path

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

/external/llvm-project/mlir/tools/mlir-tblgen/
DOpInterfacesGen.cpp113 StringRef castCode = "(tablegen_opaque_val.cast<ConcreteAttr>())"; in AttrInterfaceGenerator() local
114 nonStaticMethodFmt.addSubst("_attr", castCode).withSelf(castCode); in AttrInterfaceGenerator()
126 StringRef castCode = "(llvm::cast<ConcreteOp>(tablegen_opaque_val))"; in OpInterfaceGenerator() local
127 nonStaticMethodFmt.withOp(castCode).withSelf(castCode); in OpInterfaceGenerator()
139 StringRef castCode = "(tablegen_opaque_val.cast<ConcreteType>())"; in TypeInterfaceGenerator() local
140 nonStaticMethodFmt.addSubst("_type", castCode).withSelf(castCode); in TypeInterfaceGenerator()
/external/clang/lib/Sema/
DSemaExprObjC.cpp3441 std::string castCode = "("; in addFixitForObjCARCConversion() local
3442 castCode += bridgeKeyword; in addFixitForObjCARCConversion()
3443 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3444 castCode += ")"; in addFixitForObjCARCConversion()
3447 DiagB.AddFixItHint(FixItHint::CreateReplacement(Range, castCode)); in addFixitForObjCARCConversion()
3450 std::string castCode = "("; in addFixitForObjCARCConversion() local
3451 castCode += bridgeKeyword; in addFixitForObjCARCConversion()
3452 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3453 castCode += ")"; in addFixitForObjCARCConversion()
3458 castCode)); in addFixitForObjCARCConversion()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaExprObjC.cpp3815 std::string castCode = "("; in addFixitForObjCARCConversion() local
3816 castCode += bridgeKeyword; in addFixitForObjCARCConversion()
3817 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3818 castCode += ")"; in addFixitForObjCARCConversion()
3821 DiagB.AddFixItHint(FixItHint::CreateReplacement(Range, castCode)); in addFixitForObjCARCConversion()
3824 std::string castCode = "("; in addFixitForObjCARCConversion() local
3825 castCode += bridgeKeyword; in addFixitForObjCARCConversion()
3826 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3827 castCode += ")"; in addFixitForObjCARCConversion()
3832 castCode)); in addFixitForObjCARCConversion()
[all …]