Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
687 static InitializationKind CreateCopy(SourceLocation InitLoc,
692 InitLoc, EqualLoc, EqualLoc);
696 static InitializationKind CreateDefault(SourceLocation InitLoc) { in CreateDefault() argument
[all …]
H A DSema.h6256 SourceLocation InitLoc);
13630 void CheckBitFieldInitialization(SourceLocation InitLoc, FieldDecl *Field,
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h127 virtual StoreRef getInitialStore(const LocationContext *InitLoc) = 0;
H A DExprEngine.h262 ProgramStateRef getInitialState(const LocationContext *InitLoc);
H A DProgramState.h544 ProgramStateRef getInitialState(const LocationContext *InitLoc);
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp395 ProgramStateRef ProgramStateManager::getInitialState(const LocationContext *InitLoc) { in getInitialState() argument
398 StoreMgr->getInitialStore(InitLoc), in getInitialState()
H A DExprEngine.cpp243 ProgramStateRef ExprEngine::getInitialState(const LocationContext *InitLoc) { in getInitialState() argument
244 ProgramStateRef state = StateMgr.getInitialState(InitLoc); in getInitialState()
245 const Decl *D = InitLoc->getDecl(); in getInitialState()
264 const MemRegion *R = state->getRegion(PD, InitLoc); in getInitialState()
290 const MemRegion *R = state->getRegion(SelfD, InitLoc); in getInitialState()
305 const StackFrameContext *SFC = InitLoc->getStackFrame(); in getInitialState()
H A DRegionStore.cpp394 StoreRef getInitialStore(const LocationContext *InitLoc) override { in getInitialStore() argument
396 if (const auto *FD = dyn_cast<FunctionDecl>(InitLoc->getDecl())) in getInitialStore()
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DTGParser.cpp1287 SMLoc InitLoc = Lex.getLoc(); in ParseOperation() local
1306 Error(InitLoc, Twine("expected a list, got value of type '") + in ParseOperation()
1331 Error(InitLoc, Twine("expected second parameter to be an int, got " in ParseOperation()
1340 Error(InitLoc, Twine("expected a list, got value of type '") + in ParseOperation()
1350 Error(InitLoc, Twine("expected bit, bits, int, string, or record; " in ParseOperation()
1362 Error(InitLoc, Twine("expected bit, bits, int, or string; " in ParseOperation()
1374 Error(InitLoc, Twine("expected list of string, int, bits, or bit; " in ParseOperation()
1382 Error(InitLoc, Twine("expected second argument to be a string, " in ParseOperation()
1399 Error(InitLoc, Twine("expected value of type '") + in ParseOperation()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DExprCXX.h4803 SourceLocation InitLoc, LParenLoc, RParenLoc; variable
4807 unsigned NumUserSpecifiedExprs, SourceLocation InitLoc, in CXXParenListInitExpr() argument
4811 InitLoc(InitLoc), LParenLoc(LParenLoc), RParenLoc(RParenLoc) { in CXXParenListInitExpr()
4824 unsigned NumUserSpecifiedExprs, SourceLocation InitLoc,
4856 SourceLocation getInitLoc() const LLVM_READONLY { return InitLoc; } in getInitLoc()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaOpenMP.cpp9748 SourceLocation InitLoc = IterSpaces[0].InitSrcRange.getBegin(); in checkOpenMPLoop() local
9757 VarDecl *LBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.lb"); in checkOpenMPLoop()
9758 LB = buildDeclRefExpr(SemaRef, LBDecl, VType, InitLoc); in checkOpenMPLoop()
9760 SemaRef.ActOnIntegerConstant(InitLoc, 0).get(), in checkOpenMPLoop()
9764 VarDecl *UBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.ub"); in checkOpenMPLoop()
9765 UB = buildDeclRefExpr(SemaRef, UBDecl, VType, InitLoc); in checkOpenMPLoop()
9772 VarDecl *ILDecl = buildVarDecl(SemaRef, InitLoc, Int32Ty, ".omp.is_last"); in checkOpenMPLoop()
9773 IL = buildDeclRefExpr(SemaRef, ILDecl, Int32Ty, InitLoc); in checkOpenMPLoop()
9775 SemaRef.ActOnIntegerConstant(InitLoc, 0).get(), in checkOpenMPLoop()
9780 buildVarDecl(SemaRef, InitLoc, StrideVType, ".omp.stride"); in checkOpenMPLoop()
[all …]
H A DSemaInit.cpp2116 SourceLocation InitLoc = Init ? Init->getBeginLoc() : IList->getEndLoc(); in CheckStructUnionTypes() local
2124 CheckEmptyInitializable(BaseEntity, InitLoc); in CheckStructUnionTypes()
2128 if (checkDestructorReference(Base.getType(), InitLoc, SemaRef)) { in CheckStructUnionTypes()
2149 SourceLocation InitLoc = Init->getBeginLoc(); in CheckStructUnionTypes() local
2173 if (checkDestructorReference(ET, InitLoc, SemaRef)) { in CheckStructUnionTypes()
2211 SemaRef.Diag(InitLoc, diag::err_non_designated_init_used); in CheckStructUnionTypes()
2251 if (checkDestructorReference(ET, InitLoc, SemaRef)) { in CheckStructUnionTypes()
H A DSemaDeclCXX.cpp4062 SourceLocation InitLoc) { in ConvertMemberDefaultInitExpression() argument
4070 : InitializationKind::CreateCopy(InitExpr->getBeginLoc(), InitLoc); in ConvertMemberDefaultInitExpression()
4079 SourceLocation InitLoc, in ActOnFinishCXXInClassMemberInitializer() argument
4105 Init = ConvertMemberDefaultInitExpression(FD, Init.get(), InitLoc); in ActOnFinishCXXInClassMemberInitializer()
13756 SourceLocation InitLoc = Shadow->getLocation(); in DefineInheritingConstructor() local
13776 InitLoc, B.getType(), BaseCtor.first, VBase, BaseCtor.second); in DefineInheritingConstructor()
13778 auto *TInfo = Context.getTrivialTypeSourceInfo(B.getType(), InitLoc); in DefineInheritingConstructor()
13780 Context, TInfo, VBase, InitLoc, Init.get(), InitLoc, in DefineInheritingConstructor()
13793 Constructor->setBody(new (Context) CompoundStmt(InitLoc)); in DefineInheritingConstructor()
H A DSemaChecking.cpp13259 SourceLocation InitLoc) { in AnalyzeBitFieldAssignment() argument
13278 S.Diag(InitLoc, diag::warn_no_underlying_type_specified_for_enum_bitfield) in AnalyzeBitFieldAssignment()
13322 S.Diag(InitLoc, DiagID) << Bitfield << ED; in AnalyzeBitFieldAssignment()
13340 S.Diag(InitLoc, diag::warn_bitfield_too_small_for_enum) in AnalyzeBitFieldAssignment()
13386 S.Diag(InitLoc, OneAssignedToOneBitBitfield in AnalyzeBitFieldAssignment()
15781 void Sema::CheckBitFieldInitialization(SourceLocation InitLoc, in CheckBitFieldInitialization() argument
15784 (void) AnalyzeBitFieldAssignment(*this, BitField, Init, InitLoc); in CheckBitFieldInitialization()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprCXX.cpp1831 SourceLocation InitLoc, SourceLocation LParenLoc, in Create() argument
1834 return new (Mem) CXXParenListInitExpr(Args, T, NumUserSpecifiedExprs, InitLoc, in Create()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp2192 E->InitLoc = readSourceLocation(); in VisitCXXParenListInitExpr()