/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | MisplacedWideningCastCheck.cpp | 199 QualType CastType = Cast->getType(); in check() local 203 if (Context.getIntWidth(CastType) < Context.getIntWidth(CalcType)) in check() 209 if (Context.getIntWidth(CastType) == Context.getIntWidth(CalcType)) { in check() 211 dyn_cast<BuiltinType>(CastType->getUnqualifiedDesugaredType()); in check() 227 << CalcType << CastType; in check()
|
/external/libnl/include/netlink-private/ |
D | utils.h | 86 #define _NL_AUTO_DEFINE_FCN_VOID0(CastType, name, func) \ argument 89 if (*((CastType *) v)) \ 90 func (*((CastType *) v)); \
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | AvoidCStyleCastsCheck.cpp | 147 auto ReplaceWithNamedCast = [&](StringRef CastType) { in check() argument 148 Diag << CastType; in check() 149 ReplaceWithCast((CastType + "<" + DestTypeString + ">").str()); in check()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | ConversionChecker.cpp | 186 QualType CastType = Cast->getType(); in isLossOfSign() local 189 if (!CastType->isUnsignedIntegerType() || !SubType->isSignedIntegerType()) in isLossOfSign()
|
/external/eigen/Eigen/src/Core/util/ |
D | XprHelper.h | 489 template<typename XprType, typename CastType> struct cast_return_type 492 typedef typename remove_all<CastType>::type _CastType; 495 const XprType&,CastType>::type type;
|
/external/llvm-project/clang/utils/TableGen/ |
D | MveEmitter.cpp | 1179 const Type *CastType = getType(Op, Param); in getCodeForDag() local 1181 if (const auto *ST = dyn_cast<ScalarType>(CastType)) { in getCodeForDag() 1189 } else if (const auto *PT = dyn_cast<PointerType>(CastType)) { in getCodeForDag()
|
/external/clang/lib/Sema/ |
D | SemaCast.cpp | 40 enum CastType { enum 307 static bool tryDiagnoseOverloadedCast(Sema &S, CastType CT, in tryDiagnoseOverloadedCast() 383 static void diagnoseBadCast(Sema &S, unsigned msg, CastType castType, in diagnoseBadCast()
|
D | SemaExpr.cpp | 14533 RebuildUnknownAnyExpr(Sema &S, QualType CastType) in RebuildUnknownAnyExpr() 14534 : S(S), DestType(CastType) {} in RebuildUnknownAnyExpr() 14863 ExprResult Sema::checkUnknownAnyCast(SourceRange TypeRange, QualType CastType, in checkUnknownAnyCast() argument 14867 if (!CastType->isVoidType() && in checkUnknownAnyCast() 14868 RequireCompleteType(TypeRange.getBegin(), CastType, in checkUnknownAnyCast() 14873 ExprResult result = RebuildUnknownAnyExpr(*this, CastType).Visit(CastExpr); in checkUnknownAnyCast()
|
/external/swiftshader/third_party/subzero/src/ |
D | PNaClTranslator.cpp | 2246 Ice::Type CastType = Context->getSimpleTypeByID(Values[1]); in ProcessRecord() local 2248 if (!convertCastOpToIceOp(Values[2], Src->getType(), CastType, CastKind)) { in ProcessRecord() 2249 appendErrorInstruction(CastType); in ProcessRecord() 2253 Func.get(), CastKind, getNextInstVar(CastType), Src)); in ProcessRecord()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCast.cpp | 45 enum CastType { enum 406 static bool tryDiagnoseOverloadedCast(Sema &S, CastType CT, in tryDiagnoseOverloadedCast() 483 static void diagnoseBadCast(Sema &S, unsigned msg, CastType castType, in diagnoseBadCast()
|
D | SemaExpr.cpp | 18807 RebuildUnknownAnyExpr(Sema &S, QualType CastType) in RebuildUnknownAnyExpr() 18808 : S(S), DestType(CastType) {} in RebuildUnknownAnyExpr() 19142 ExprResult Sema::checkUnknownAnyCast(SourceRange TypeRange, QualType CastType, in checkUnknownAnyCast() argument 19146 if (!CastType->isVoidType() && in checkUnknownAnyCast() 19147 RequireCompleteType(TypeRange.getBegin(), CastType, in checkUnknownAnyCast() 19152 ExprResult result = RebuildUnknownAnyExpr(*this, CastType).Visit(CastExpr); in checkUnknownAnyCast()
|
D | SemaCodeComplete.cpp | 567 QualType CastType) { in enterTypeCast() argument 569 Type = !CastType.isNull() ? CastType.getCanonicalType() : QualType(); in enterTypeCast()
|
D | SemaOpenMP.cpp | 7179 QualType CastType = SemaRef.Context.getIntTypeForBitwidth( in calculateNumIters() local 7185 CastType, Sema::AA_Converting) in calculateNumIters()
|
/external/googletest/googlemock/include/gmock/ |
D | gmock-matchers.h | 431 using CastType = in MatchAndExplain() local 435 return source_matcher_.MatchAndExplain(static_cast<CastType>(x), in MatchAndExplain()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 317 void enterTypeCast(SourceLocation Tok, QualType CastType); 11493 ExprResult checkUnknownAnyCast(SourceRange TypeRange, QualType CastType,
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 8873 ExprResult checkUnknownAnyCast(SourceRange TypeRange, QualType CastType,
|