Home
last modified time | relevance | path

Searched refs:InitLoc (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h641 static InitializationKind CreateDirect(SourceLocation InitLoc, in CreateDirect() argument
645 InitLoc, LParenLoc, RParenLoc); in CreateDirect()
648 static InitializationKind CreateDirectList(SourceLocation InitLoc) { in CreateDirectList() argument
649 return InitializationKind(IK_DirectList, IC_Normal, InitLoc, InitLoc, in CreateDirectList()
650 InitLoc); in CreateDirectList()
653 static InitializationKind CreateDirectList(SourceLocation InitLoc, in CreateDirectList() argument
656 return InitializationKind(IK_DirectList, IC_Normal, InitLoc, LBraceLoc, in CreateDirectList()
688 static InitializationKind CreateCopy(SourceLocation InitLoc,
693 InitLoc, EqualLoc, EqualLoc);
697 static InitializationKind CreateDefault(SourceLocation InitLoc) { in CreateDefault() argument
[all …]
H A DSema.h3079 void CheckBitFieldInitialization(SourceLocation InitLoc, FieldDecl *Field,
5397 SourceLocation InitLoc);
7225 SourceLocation InitLoc,
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DEvaluationResult.cpp162 SourceLocation InitLoc; in checkFullyInitialized() local
164 InitLoc = cast<VarDecl>(D)->getAnyInitializer()->getExprLoc(); in checkFullyInitialized()
166 InitLoc = E->getExprLoc(); in checkFullyInitialized()
169 return CheckFieldsInitialized(S, InitLoc, Ptr, R); in checkFullyInitialized()
173 return CheckArrayInitialized(S, InitLoc, Ptr, CAT); in checkFullyInitialized()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp1646 SMLoc InitLoc = Lex.getLoc(); in ParseOperation() local
1665 Error(InitLoc, Twine("expected a list, got value of type '") + in ParseOperation()
1690 Error(InitLoc, Twine("expected second parameter to be an int, got " in ParseOperation()
1699 Error(InitLoc, Twine("expected a list, got value of type '") + in ParseOperation()
1709 Error(InitLoc, Twine("expected bit, bits, int, string, or record; " in ParseOperation()
1723 Error(InitLoc, Twine("expected bit, bits, int, or string; " in ParseOperation()
1735 Error(InitLoc, Twine("expected list of string, int, bits, or bit; " in ParseOperation()
1743 Error(InitLoc, Twine("expected second argument to be a string, " in ParseOperation()
1760 Error(InitLoc, Twine("expected value of type '") + in ParseOperation()
1856 SMLoc InitLoc = Lex.getLoc(); in ParseOperation() local
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h135 virtual StoreRef getInitialStore(const LocationContext *InitLoc) = 0;
H A DExprEngine.h254 ProgramStateRef getInitialState(const LocationContext *InitLoc);
H A DProgramState.h539 ProgramStateRef getInitialState(const LocationContext *InitLoc);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp394 ProgramStateRef ProgramStateManager::getInitialState(const LocationContext *InitLoc) { in getInitialState() argument
397 StoreMgr->getInitialStore(InitLoc), in getInitialState()
H A DExprEngine.cpp245 ProgramStateRef ExprEngine::getInitialState(const LocationContext *InitLoc) { in getInitialState() argument
246 ProgramStateRef state = StateMgr.getInitialState(InitLoc); in getInitialState()
247 const Decl *D = InitLoc->getDecl(); in getInitialState()
266 const MemRegion *R = state->getRegion(PD, InitLoc); in getInitialState()
292 const MemRegion *R = state->getRegion(SelfD, InitLoc); in getInitialState()
307 const StackFrameContext *SFC = InitLoc->getStackFrame(); in getInitialState()
H A DRegionStore.cpp550 StoreRef getInitialStore(const LocationContext *InitLoc) override { in getInitialStore() argument
552 if (const auto *FD = dyn_cast<FunctionDecl>(InitLoc->getDecl())) in getInitialStore()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h5086 SourceLocation InitLoc, LParenLoc, RParenLoc; variable
5090 unsigned NumUserSpecifiedExprs, SourceLocation InitLoc, in CXXParenListInitExpr() argument
5094 InitLoc(InitLoc), LParenLoc(LParenLoc), RParenLoc(RParenLoc) { in CXXParenListInitExpr()
5107 unsigned NumUserSpecifiedExprs, SourceLocation InitLoc,
5137 SourceLocation getInitLoc() const LLVM_READONLY { return InitLoc; } in getInitLoc()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp9896 SourceLocation InitLoc = IterSpaces[0].InitSrcRange.getBegin(); in checkOpenMPLoop() local
9905 VarDecl *LBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.lb"); in checkOpenMPLoop()
9906 LB = buildDeclRefExpr(SemaRef, LBDecl, VType, InitLoc); in checkOpenMPLoop()
9908 SemaRef.ActOnIntegerConstant(InitLoc, 0).get(), in checkOpenMPLoop()
9912 VarDecl *UBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.ub"); in checkOpenMPLoop()
9913 UB = buildDeclRefExpr(SemaRef, UBDecl, VType, InitLoc); in checkOpenMPLoop()
9920 VarDecl *ILDecl = buildVarDecl(SemaRef, InitLoc, Int32Ty, ".omp.is_last"); in checkOpenMPLoop()
9921 IL = buildDeclRefExpr(SemaRef, ILDecl, Int32Ty, InitLoc); in checkOpenMPLoop()
9923 SemaRef.ActOnIntegerConstant(InitLoc, 0).get(), in checkOpenMPLoop()
9928 buildVarDecl(SemaRef, InitLoc, StrideVType, ".omp.stride"); in checkOpenMPLoop()
[all …]
H A DSemaInit.cpp2418 SourceLocation InitLoc = Init ? Init->getBeginLoc() : IList->getEndLoc(); in CheckStructUnionTypes() local
2426 CheckEmptyInitializable(BaseEntity, InitLoc); in CheckStructUnionTypes()
2430 if (checkDestructorReference(Base.getType(), InitLoc, SemaRef)) { in CheckStructUnionTypes()
2450 SourceLocation InitLoc = Init->getBeginLoc(); in CheckStructUnionTypes() local
2476 if (checkDestructorReference(ET, InitLoc, SemaRef)) { in CheckStructUnionTypes()
2511 SemaRef.Diag(InitLoc, diag::err_non_designated_init_used); in CheckStructUnionTypes()
2551 if (checkDestructorReference(ET, InitLoc, SemaRef)) { in CheckStructUnionTypes()
H A DSemaDeclCXX.cpp4163 SourceLocation InitLoc) { in ConvertMemberDefaultInitExpression() argument
4171 : InitializationKind::CreateCopy(InitExpr->getBeginLoc(), InitLoc); in ConvertMemberDefaultInitExpression()
4177 SourceLocation InitLoc, in ActOnFinishCXXInClassMemberInitializer() argument
4197 CreateRecoveryExpr(InitLoc, InitLoc, {}, FD->getType()); in ActOnFinishCXXInClassMemberInitializer()
4204 InitExpr = ConvertMemberDefaultInitExpression(FD, InitExpr.get(), InitLoc); in ActOnFinishCXXInClassMemberInitializer()
14360 SourceLocation InitLoc = Shadow->getLocation(); in DefineInheritingConstructor() local
14380 InitLoc, B.getType(), BaseCtor.first, VBase, BaseCtor.second); in DefineInheritingConstructor()
14382 auto *TInfo = Context.getTrivialTypeSourceInfo(B.getType(), InitLoc); in DefineInheritingConstructor()
14384 Context, TInfo, VBase, InitLoc, Init.get(), InitLoc, in DefineInheritingConstructor()
14397 Constructor->setBody(new (Context) CompoundStmt(InitLoc)); in DefineInheritingConstructor()
H A DSemaChecking.cpp11472 SourceLocation InitLoc) { in AnalyzeBitFieldAssignment() argument
11491 S.Diag(InitLoc, diag::warn_no_underlying_type_specified_for_enum_bitfield) in AnalyzeBitFieldAssignment()
11548 S.Diag(InitLoc, DiagID) << Bitfield << ED; in AnalyzeBitFieldAssignment()
11573 S.Diag(InitLoc, DiagID) << Bitfield << ED; in AnalyzeBitFieldAssignment()
11621 S.Diag(InitLoc, OneAssignedToOneBitBitfield in AnalyzeBitFieldAssignment()
14097 void Sema::CheckBitFieldInitialization(SourceLocation InitLoc, in CheckBitFieldInitialization() argument
14100 (void) AnalyzeBitFieldAssignment(*this, BitField, Init, InitLoc); in CheckBitFieldInitialization()
H A DTreeTransform.h3106 SourceLocation InitLoc, in RebuildCXXParenListInitExpr() argument
3110 InitLoc, LParenLoc, RParenLoc); in RebuildCXXParenListInitExpr()
H A DSemaExpr.cpp7993 SourceLocation InitLoc, in ActOnCXXParenListInitExpr() argument
7997 InitLoc, LParenLoc, RParenLoc); in ActOnCXXParenListInitExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1975 SourceLocation InitLoc, SourceLocation LParenLoc, in Create() argument
1978 return new (Mem) CXXParenListInitExpr(Args, T, NumUserSpecifiedExprs, InitLoc, in Create()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp2287 E->InitLoc = readSourceLocation(); in VisitCXXParenListInitExpr()