reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/tools/clang/lib/Sema/OpenCLBuiltins.inc
16865       QT.push_back(Context.VoidTy);
tools/clang/include/clang/AST/BuiltinTypes.def
   58 BUILTIN_TYPE(Void, VoidTy)
tools/clang/lib/AST/ASTContext.cpp
 1199   assert(VoidTy.isNull() && "Context reinitialized?");
 1209   InitBuiltinType(VoidTy,              BuiltinType::Void);
 1372     auto Q = VoidTy.getQualifiers();
 1375         getQualifiedType(VoidTy.getUnqualifiedType(), Q)));
 1377     VoidPtrTy = getPointerType(VoidTy);
 7357   QualType T = Context->getPointerType(Context->VoidTy);
 7384   FieldTypes[0] = Context->getPointerType(Context->VoidTy);
 7388   FieldTypes[1] = Context->getPointerType(Context->VoidTy);
 7392   FieldTypes[2] = Context->getPointerType(Context->VoidTy);
 7449   FieldTypes[3] = Context->getPointerType(Context->VoidTy);
 7453   FieldTypes[4] = Context->getPointerType(Context->VoidTy);
 7508   FieldTypes[2] = Context->getPointerType(Context->VoidTy);
 7512   FieldTypes[3] = Context->getPointerType(Context->VoidTy);
 7574                                        Context->getPointerType(Context->VoidTy),
 7611   FieldTypes[2] = Context->getPointerType(Context->VoidTy);
 7615   FieldTypes[3] = Context->getPointerType(Context->VoidTy);
 9488     Type = Context.VoidTy;
tools/clang/lib/AST/Expr.cpp
 1505       return Ctx.VoidTy;
 4306   return new (Mem) DesignatedInitExpr(C, C.VoidTy, Designators,
 4493     type = C.VoidTy;
tools/clang/lib/Analysis/BodyFarm.cpp
  271   return CallExpr::Create(C, SubExpr, CallArgs, C.VoidTy, VK_RValue,
  297       /*QualType=*/C.VoidTy,
  515       /*QualType=*/C.VoidTy,
  582       CallExpr::Create(C, ICE, None, C.VoidTy, VK_RValue, SourceLocation());
tools/clang/lib/CodeGen/CGAtomic.cpp
 1042       RetTy = getContext().VoidTy;
 1160         RetTy = getContext().VoidTy;
 1439   emitAtomicLibcall(CGF, "__atomic_load", CGF.getContext().VoidTy, Args);
 1949       emitAtomicLibcall(*this, "__atomic_store", getContext().VoidTy, args);
tools/clang/lib/CodeGen/CGBlocks.cpp
 1272         Ctx.getAddrSpaceQualType(Ctx.VoidTy, LangAS::opencl_generic));
 1552         getContext().VoidTy, LangAS::opencl_generic));
 2004   QualType ReturnTy = C.VoidTy;
 2199   QualType ReturnTy = C.VoidTy;
 2448   QualType ReturnTy = Context.VoidTy;
 2525   QualType R = Context.VoidTy;
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1158   QualType ReturnTy = Ctx.VoidTy;
 1277       CGM.getTypes().arrangeBuiltinFunctionCall(Ctx.VoidTy, Args);
tools/clang/lib/CodeGen/CGCall.cpp
   79     RecTy = Context.VoidTy;
  348                                      : Context.VoidTy;
  414                                      : Context.VoidTy;
  533   return arrangeLLVMFunctionInfo(Context.VoidTy, /*instanceMethod=*/false,
  553   return arrangeLLVMFunctionInfo(Context.VoidTy, /*instanceMethod=*/true,
  696       getContext().VoidTy, /*instanceMethod=*/false, /*chainCall=*/false,
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1050     FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy);
 1057     FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy);
 3845   FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy);
 3854     FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy);
 3865     FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy);
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  246                     CGM.getContext().VoidTy, fn, FI, FunctionArgList());
  646                 getContext().VoidTy, Fn, getTypes().arrangeNullaryFunction(),
  674     StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
  733     StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
  766     CGM.getTypes().arrangeBuiltinFunctionDeclaration(getContext().VoidTy, args);
  773   StartFunction(VD, getContext().VoidTy, fn, FI, args);
tools/clang/lib/CodeGen/CGException.cpp
 1644         CGM.getTypes().arrangeBuiltinFunctionCall(Context.VoidTy, Args);
 1872   QualType RetTy = IsFilter ? getContext().LongTy : getContext().VoidTy;
tools/clang/lib/CodeGen/CGExpr.cpp
 3198     CGM.getTypes().arrangeBuiltinFunctionDeclaration(getContext().VoidTy, Args);
 3205   StartFunction(GlobalDecl(), CGM.getContext().VoidTy, F, FI, Args,
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  317   return CGM.getTypes().arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Args);
  464         II, Ctx.getFunctionType(Ctx.VoidTy, llvm::None, {}), nullptr,
  468     CGF->StartFunction(FD, Ctx.VoidTy, F, FI, Args);
tools/clang/lib/CodeGen/CGObjC.cpp
  660                                                       CGF.getContext().VoidTy,
  751   CGF.EmitCall(CGF.getTypes().arrangeBuiltinFunctionCall(Context.VoidTy, args),
 1017       CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args),
 1237       CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args),
 1275       CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args),
 1405       EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args),
 1417       EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args),
 1780           CGM.getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, Args2),
 2583                               getContext().VoidTy, DrainSel, Arg, Args);
 3506   QualType ReturnTy = C.VoidTy;
 3590   QualType ReturnTy = C.VoidTy;
tools/clang/lib/CodeGen/CGObjCMac.cpp
  262           Types.arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Params));
  287           Types.arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Params));
  313           Types.arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Params));
  331           Types.arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Params));
  343           Types.arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Params));
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1362       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 1377   CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, FnInfo, Args, In->getLocation(),
 2811           CGM.getContext().VoidTy, Args);
 2817       DtorCGF.StartFunction(GlobalDecl(), CGM.getContext().VoidTy, Fn, FI, Args,
 2862       InitCGF.StartFunction(GlobalDecl(), CGM.getContext().VoidTy, InitFunction,
 2921       CtorCGF.StartFunction(GlobalDecl(), CGM.getContext().VoidTy, Fn, FI,
 2959       DtorCGF.StartFunction(GlobalDecl(), CGM.getContext().VoidTy, Fn, FI,
 3302       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 3311   CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc);
 4707       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 4723   CGF.StartFunction(GlobalDecl(), C.VoidTy, TaskPrivatesMap,
 4899       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 4907   CGF.StartFunction(GlobalDecl(), C.VoidTy, TaskDup, TaskDupFnInfo, Args, Loc,
 5573       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 5581   CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc);
 6009       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 6017   CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, FnInfo, Args, Loc, Loc);
 6086       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 6094   CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, FnInfo, Args, Loc, Loc);
 6156       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 6164   CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, FnInfo, Args, Loc, Loc);
 8862       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 8874   MapperCGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, FnInfo, Args, Loc, Loc);
 9874     CGF.StartFunction(GlobalDecl(), C.VoidTy, RequiresRegFn, FI, {});
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1395   CGF.StartFunction(GlobalDecl(), Ctx.VoidTy, WST.WorkerFn, WST.CGFI, {},
 3189       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 3196   CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc);
 3483       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 3496   CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc);
 3644       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 3651   CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc);
 3750       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 3757   CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc);
 3844       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 3851   CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc);
 3950       CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args);
 3957   CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc);
 4559       CGM.getTypes().arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, WrapperArgs);
 4569   CGF.StartFunction(GlobalDecl(), Ctx.VoidTy, Fn, CGFI, WrapperArgs,
tools/clang/lib/CodeGen/CGStmt.cpp
 2413     CGM.getTypes().arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, Args);
 2424   StartFunction(CD, Ctx.VoidTy, F, FuncInfo, Args, CD->getLocation(),
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  408     QualType FunctionTy = Ctx.getFunctionType(Ctx.VoidTy, llvm::None, EPI);
  469       CGM.getTypes().arrangeBuiltinFunctionDeclaration(Ctx.VoidTy, TargetArgs);
  481   CGF.StartFunction(CD, Ctx.VoidTy, F, FuncInfo, TargetArgs,
tools/clang/lib/CodeGen/CGVTables.cpp
  247     ResultType = CGM.getContext().VoidTy;
tools/clang/lib/CodeGen/CodeGenModule.cpp
 5157                              cxxSelector, getContext().VoidTy, nullptr, D,
 5803       QualType(Ctx.VoidTy).withCVRQualifiers(
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2428     QualType ReturnTy = Ctx.VoidTy;
 3822       getContext().VoidTy,             getContext().NullPtrTy,
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 2442   ArgTys.push_back(Context->VoidTy);
 2477   ArgTys.push_back(Context->VoidTy);
 2675       Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE);
 2711     getSimpleFunctionType(Context->VoidTy, IntQT, true);
 2796       Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE);
 2832     getSimpleFunctionType(Context->VoidTy, IntQT, true);
 2947       Context, Context->getPointerType(Context->VoidTy), CK_BitCast, DRE);
 3517                                   Context->getPointerType(Context->VoidTy),
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 2595                                   Context->getPointerType(Context->VoidTy),
 2946                                   Context->getPointerType(Context->VoidTy),
tools/clang/lib/Sema/Sema.cpp
 2170   CSI->ReturnType = Context.VoidTy;
tools/clang/lib/Sema/SemaChecking.cpp
 4794     ResultType = Context.VoidTy;
 5292     ResultType = Context.VoidTy;
 5453   TheCall->setType(Context.VoidTy);
 5666   TheCall->setType(Context.VoidTy);
tools/clang/lib/Sema/SemaDecl.cpp
13790               FD, SubstAutoType(ResultType.getType(), Context.VoidTy));
13804             LSI->ReturnType.isNull() ? Context.VoidTy : LSI->ReturnType;
tools/clang/lib/Sema/SemaDeclCXX.cpp
 6905   QualType ReturnType = Context.VoidTy;
 8677   if (Proto->getReturnType() == Context.VoidTy && !D.isInvalidType())
 8684   return Context.getFunctionType(Context.VoidTy, Proto->getParamTypes(), EPI);
 8879   return Context.getFunctionType(Context.VoidTy, None, EPI);
11471   setupImplicitSpecialMemberType(DefaultCon, Context.VoidTy, None);
11748   setupImplicitSpecialMemberType(Destructor, Context.VoidTy, None);
11885   Destructor->setType(Context.getFunctionType(Context.VoidTy, None, EPI));
13069   setupImplicitSpecialMemberType(CopyConstructor, Context.VoidTy, ArgType);
13201   setupImplicitSpecialMemberType(MoveConstructor, Context.VoidTy, ArgType);
13820           SemaRef, FnDecl, SemaRef.Context.VoidTy, ExpectedFirstParamType,
tools/clang/lib/Sema/SemaDeclObjC.cpp
  239     if (!Context.hasSameType(method->getReturnType(), Context.VoidTy)) {
tools/clang/lib/Sema/SemaExpr.cpp
 5631       return CallExpr::Create(Context, Fn, /*Args=*/{}, Context.VoidTy,
 6236   E->setType(Context.VoidTy); // FIXME: just a place holder for now.
 6900     LHS = S.ImpCastExprToType(LHS.get(), S.Context.VoidTy, CK_ToVoid);
 6901     RHS = S.ImpCastExprToType(RHS.get(), S.Context.VoidTy, CK_ToVoid);
 6902     return S.Context.VoidTy;
 7006         S.Context.getAddrSpaceQualType(S.Context.VoidTy, ResultAddrSpace));
 7058       QualType destType = S.Context.getPointerType(S.Context.VoidTy);
13770                                      Context.getPointerType(Context.VoidTy));
13803   QualType Ty = Context.VoidTy;
14258   QualType RetTy = Context.VoidTy;
tools/clang/lib/Sema/SemaExprCXX.cpp
  809       CXXThrowExpr(Ex, Context.VoidTy, OpLoc, IsThrownVarInScope);
 2375   QualType AlignValT = Context.VoidTy;
 2531         = Context.getFunctionType(Context.VoidTy, ArgTypes, EPI);
 2727   QualType VoidPtr = Context.getPointerType(Context.VoidTy);
 2761   DeclareGlobalAllocationFunctions(OO_Delete, Context.VoidTy, VoidPtr);
 2762   DeclareGlobalAllocationFunctions(OO_Array_Delete, Context.VoidTy, VoidPtr);
 3437       Context.VoidTy, UseGlobal, ArrayForm, ArrayFormAsWritten,
 5795       return Context.VoidTy;
 6562   Expr *E = new (Context) StmtExpr(CompStmt, Context.VoidTy, SourceLocation(),
 7389       E = ImpCastExprToType(E, Context.VoidTy, CK_ToVoid).get();
tools/clang/lib/Sema/SemaInit.cpp
  290       DummyExpr = new (SemaRef.Context) NoInitExpr(SemaRef.Context.VoidTy);
  510     InitExpr->setType(SemaRef.Context.VoidTy);
  740   assert((ILE->getType() != SemaRef.Context.VoidTy) &&
tools/clang/lib/Sema/SemaLambda.cpp
  728       CSI.ReturnType = Ctx.VoidTy;
  763         (RetE ? RetE->getType() : Context.VoidTy).getUnqualifiedType();
tools/clang/lib/Sema/SemaObjCProperty.cpp
 2358         Context.VoidTy)
 2446                                property->getSetterName(), Context.VoidTy,
tools/clang/lib/Sema/SemaOpenMP.cpp
 3125     QualType CopyFnType = Context.getFunctionType(Context.VoidTy, Args, EPI);
 3170     QualType CopyFnType = Context.getFunctionType(Context.VoidTy, Args, EPI);
 3223     QualType CopyFnType = Context.getFunctionType(Context.VoidTy, Args, EPI);
 3263     QualType CopyFnType = Context.getFunctionType(Context.VoidTy, Args, EPI);
 3313     QualType CopyFnType = Context.getFunctionType(Context.VoidTy, Args, EPI);
 3365     QualType CopyFnType = Context.getFunctionType(Context.VoidTy, Args, EPI);
 3452     QualType CopyFnType = Context.getFunctionType(Context.VoidTy, Args, EPI);
 6880                          S.Context.getTrivialTypeSourceInfo(S.Context.VoidTy),
13550       QualType FnTy = Context.getFunctionType(Context.VoidTy, Params, EPI);
13556           CallExpr::Create(Context, OVE, Args, Context.VoidTy, VK_RValue, ELoc);
tools/clang/lib/Sema/SemaOverload.cpp
13365     return CallExpr::Create(Context, MemExprE, Args, Context.VoidTy, VK_RValue,
tools/clang/lib/Sema/SemaPseudoObject.cpp
 1300     QualType ReturnType = S.Context.VoidTy;
tools/clang/lib/Sema/SemaStmt.cpp
 2890     QualType DestTy = Context.getPointerType(Context.VoidTy.withConst());
 3303       FnRetType = Context.VoidTy;
 3503     Deduced = SubstAutoType(OrigResultType.getType(), Context.VoidTy);
 3689                                         Context.VoidTy, CK_ToVoid).get();
tools/clang/lib/Sema/SemaTemplateVariadic.cpp
 1230     ScalarType = Context.VoidTy;
tools/clang/lib/Sema/SemaType.cpp
 1276     Result = Context.VoidTy;
 2932     T = SemaRef.Context.VoidTy;
tools/clang/lib/Serialization/ASTReader.cpp
 7271       T = Context.VoidTy;
tools/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
  564   if (CanRetTy != Ctx.VoidTy && C.getLocationContext()->getParentMap()
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
  348     if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy)
  390     if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy)
  432   if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy)
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
   73     return Ctx.VoidTy;
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
 1795         assert(SE->getType() == getContext().VoidTy
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
  265           getContext().getPointerType(getContext().VoidTy));
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  911             T = getContext().VoidTy;
tools/clang/lib/StaticAnalyzer/Core/Store.cpp
  100   if (CanonPointeeTy.getLocalUnqualifiedType() == Ctx.VoidTy)
tools/clang/lib/Tooling/Refactoring/Extract/Extract.cpp
  116   QualType ReturnType = AST.VoidTy;
tools/clang/unittests/Sema/ExternalSemaSourceTest.cpp
  166           Context.getFunctionType(Context.VoidTy, {}, {}), nullptr, SC_Static);
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
  318     return ast_ctx.VoidTy;
tools/lldb/source/Symbol/ClangASTContext.cpp
 1113             QualTypeMatchesBitSize(bit_size, ast, ast->VoidTy))
 1114           return CompilerType(this, ast->VoidTy.getAsOpaquePtr());
 1955     return ast->VoidTy.getAsOpaquePtr();
 8522           clang::QualType result_type = clang_ast->VoidTy;
tools/lldb/unittests/Symbol/TestClangASTContext.cpp
  116       context->hasSameType(GetBasicQualType(eBasicTypeVoid), context->VoidTy));