| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | SmartPtrModeling.cpp | 384 QualType ThisType = cast<CXXMethodDecl>(Call.getDecl())->getThisType(); in evalCall() local 390 auto NullVal = C.getSValBuilder().makeNullWithType(ThisType); in evalCall() 647 QualType ThisType = cast<CXXMethodDecl>(Call.getDecl())->getThisType(); in handleRelease() local 648 auto ValueToUpdate = C.getSValBuilder().makeNullWithType(ThisType); in handleRelease() 746 QualType ThisType = cast<CXXMethodDecl>(Call.getDecl())->getThisType(); in handleAssignOp() local 754 auto NullVal = C.getSValBuilder().makeNullWithType(ThisType); in handleAssignOp() 784 QualType ThisType = cast<CXXMethodDecl>(Call.getDecl())->getThisType(); in updateMovedSmartPointers() local 789 auto NullVal = C.getSValBuilder().makeNullWithType(ThisType); in updateMovedSmartPointers() 816 auto NullVal = C.getSValBuilder().makeNullWithType(ThisType); in updateMovedSmartPointers() 843 QualType ThisType = cast<CXXMethodDecl>(Call.getDecl())->getThisType(); in handleBoolConversion() local [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGVTables.cpp | 249 QualType ThisType = MD->getThisType(); in StartThunk() local 254 ResultType = ThisType; in StartThunk() 330 QualType ThisType = MD->getThisType(); in EmitCallAndReturnForThunk() local 331 CallArgs.add(RValue::get(AdjustedThisPtr), ThisType); in EmitCallAndReturnForThunk() 364 ? ThisType in EmitCallAndReturnForThunk() 410 llvm::Type *ThisType = Args[ThisArgNo]->getType(); in EmitMustTailThunk() local 411 if (ThisType != AdjustedThisPtr->getType()) in EmitMustTailThunk() 412 AdjustedThisPtr = Builder.CreateBitCast(AdjustedThisPtr, ThisType); in EmitMustTailThunk() 417 llvm::Type *ThisType = ThisAddr.getElementType(); in EmitMustTailThunk() local 418 if (ThisType != AdjustedThisPtr->getType()) in EmitMustTailThunk() [all …]
|
| H A D | CGClass.cpp | 2129 QualType ThisType = D->getThisType(); in EmitCXXConstructorCall() local 2130 LangAS ThisAS = ThisType.getTypePtr()->getPointeeType().getAddressSpace(); in EmitCXXConstructorCall() 2994 QualType ThisType = getContext().getPointerType(getContext().getRecordType(Lambda)); in EmitLambdaBlockInvokeBody() local 2996 CallArgs.add(RValue::get(ThisPtr.getPointer()), ThisType); in EmitLambdaBlockInvokeBody() 3014 QualType ThisType = getContext().getPointerType(LambdaType); in EmitLambdaDelegatingInvokeBody() local 3016 CallArgs.add(RValue::get(ThisPtr.getPointer()), ThisType); in EmitLambdaDelegatingInvokeBody()
|
| H A D | CGExprCXX.cpp | 467 QualType ThisType = in EmitCXXMemberPointerCallExpr() local 471 Args.add(RValue::get(ThisPtrForCall), ThisType); in EmitCXXMemberPointerCallExpr()
|
| H A D | CGCall.cpp | 303 const CXXRecordDecl *ThisType = TheCXXABI.getThisArgumentTypeForMethod(MD); in arrangeCXXMethodDeclaration() local 304 return arrangeCXXMethodType(ThisType, prototype.getTypePtr(), MD); in arrangeCXXMethodDeclaration() 326 const CXXRecordDecl *ThisType = TheCXXABI.getThisArgumentTypeForMethod(GD); in arrangeCXXStructorDeclaration() local 327 argTypes.push_back(DeriveThisType(ThisType, MD)); in arrangeCXXStructorDeclaration()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeRecord.h | 177 TypeIndex ThisType, CallingConvention CallConv, in MemberFunctionRecord() argument 181 ClassType(ClassType), ThisType(ThisType), CallConv(CallConv), in MemberFunctionRecord() 188 TypeIndex getThisType() const { return ThisType; } in getThisType() 197 TypeIndex ThisType; variable
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | Consumed.cpp | 774 QualType ThisType = Constructor->getThisType()->getPointeeType(); in VisitCXXConstructExpr() local 776 if (!isConsumableType(ThisType)) in VisitCXXConstructExpr() 797 ConsumedState RetState = mapConsumableAttrState(ThisType); in VisitCXXConstructExpr()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/ |
| H A D | MinimalTypeDumper.cpp | 420 MF.ClassType, MF.ThisType, MF.ThisPointerAdjustment); in visitKnownRecord()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeRecordMapping.cpp | 348 error(IO.mapInteger(Record.ThisType, "ThisType")); in visitKnownRecord()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | CodeViewYAMLTypes.cpp | 415 IO.mapRequired("ThisType", Record.ThisType); in map()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaCodeComplete.cpp | 1667 auto ThisType = Results.getSema().getCurrentThisType(); in CodeCompletionDeclConsumer() local 1668 if (!ThisType.isNull()) { in CodeCompletionDeclConsumer() 1669 assert(ThisType->isPointerType()); in CodeCompletionDeclConsumer() 1670 BaseType = ThisType->getPointeeType(); in CodeCompletionDeclConsumer() 4374 auto ThisType = getCurrentThisType(); in CodeCompleteOrdinaryName() local 4375 if (!ThisType.isNull()) in CodeCompleteOrdinaryName() 4376 Results.setObjectTypeQualifiers(ThisType->getPointeeType().getQualifiers(), in CodeCompleteOrdinaryName()
|
| H A D | SemaChecking.cpp | 6008 void Sema::CheckConstructorCall(FunctionDecl *FDecl, QualType ThisType, in CheckConstructorCall() argument 6016 CheckArgAlignment(Loc, FDecl, "'this'", Context.getPointerType(ThisType), in CheckConstructorCall() 6051 QualType ThisType = ImplicitThis->getType(); in CheckFunctionCall() local 6052 if (!ThisType->isPointerType()) { in CheckFunctionCall() 6053 assert(!ThisType->isReferenceType()); in CheckFunctionCall() 6054 ThisType = Context.getPointerType(ThisType); in CheckFunctionCall() 6060 CheckArgAlignment(TheCall->getRParenLoc(), FDecl, "'this'", ThisType, in CheckFunctionCall()
|
| H A D | SemaOverload.cpp | 3498 QualType ThisType = Constructor->getThisType(); in IsInitializerListConstructorConversion() local 3505 User.After.setFromType(ThisType->castAs<PointerType>()->getPointeeType()); in IsInitializerListConstructorConversion() 3685 QualType ThisType = Constructor->getThisType(); in IsUserDefinedConversion() local 3701 User.After.setFromType(ThisType->castAs<PointerType>()->getPointeeType()); in IsUserDefinedConversion() 14063 QualType ThisType = Context.getPointerType(ImplicitThis->getType()); in CreateOverloadedBinOp() local 14067 CheckArgAlignment(OpLoc, FnDecl, "'this'", ThisType, in CreateOverloadedBinOp()
|
| H A D | SemaExpr.cpp | 2450 QualType ThisType = S.getCurrentThisType(); in recoverFromMSUnqualifiedLookup() local 2452 if (!ThisType.isNull()) in recoverFromMSUnqualifiedLookup() 2453 RD = ThisType->getPointeeType()->getAsCXXRecordDecl(); in recoverFromMSUnqualifiedLookup() 2465 if (!ThisType.isNull()) { in recoverFromMSUnqualifiedLookup() 2468 Context, /*This=*/nullptr, ThisType, /*IsArrow=*/true, in recoverFromMSUnqualifiedLookup()
|
| H A D | SemaTemplate.cpp | 756 QualType ThisType = cast<CXXMethodDecl>(DC)->getThisType(); in ActOnDependentIdExpression() local 763 Context, /*This*/ nullptr, ThisType, /*IsArrow*/ true, in ActOnDependentIdExpression()
|
| H A D | SemaDeclAttr.cpp | 1223 QualType ThisType = MD->getThisType()->getPointeeType(); in checkForConsumableClass() local 1225 if (const CXXRecordDecl *RD = ThisType->getAsCXXRecordDecl()) { in checkForConsumableClass()
|
| H A D | TreeTransform.h | 3212 QualType ThisType, in RebuildCXXThisExpr() argument 3214 return getSema().BuildCXXThisExpr(ThisLoc, ThisType, isImplicit); in RebuildCXXThisExpr()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 674 const LValue &This, QualType ThisType); 6637 const LValue &This, QualType ThisType) { in HandleDestruction() argument 6638 CompleteObject Obj = findCompleteObject(Info, E, AK_Destroy, This, ThisType); in HandleDestruction()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Sema.h | 13429 void CheckConstructorCall(FunctionDecl *FDecl, QualType ThisType,
|