Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DInitialization.h621 static InitializationKind CreateDirect(SourceLocation InitLoc, in CreateDirect() argument
625 InitLoc, LParenLoc, RParenLoc); in CreateDirect()
628 static InitializationKind CreateDirectList(SourceLocation InitLoc) { in CreateDirectList() argument
629 return InitializationKind(IK_DirectList, IC_Normal, InitLoc, InitLoc, in CreateDirectList()
630 InitLoc); in CreateDirectList()
633 static InitializationKind CreateDirectList(SourceLocation InitLoc, in CreateDirectList() argument
636 return InitializationKind(IK_DirectList, IC_Normal, InitLoc, LBraceLoc, in CreateDirectList()
667 static InitializationKind CreateCopy(SourceLocation InitLoc,
672 InitLoc, EqualLoc, EqualLoc);
676 static InitializationKind CreateDefault(SourceLocation InitLoc) { in CreateDefault() argument
[all …]
H A DSema.h12607 void CheckBitFieldInitialization(SourceLocation InitLoc, FieldDecl *Field,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h126 virtual StoreRef getInitialStore(const LocationContext *InitLoc) = 0;
H A DExprEngine.h259 ProgramStateRef getInitialState(const LocationContext *InitLoc);
H A DProgramState.h504 ProgramStateRef getInitialState(const LocationContext *InitLoc);
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp391 ProgramStateRef ProgramStateManager::getInitialState(const LocationContext *InitLoc) { in getInitialState() argument
394 StoreMgr->getInitialStore(InitLoc), in getInitialState()
H A DExprEngine.cpp232 ProgramStateRef ExprEngine::getInitialState(const LocationContext *InitLoc) { in getInitialState() argument
233 ProgramStateRef state = StateMgr.getInitialState(InitLoc); in getInitialState()
234 const Decl *D = InitLoc->getDecl(); in getInitialState()
253 const MemRegion *R = state->getRegion(PD, InitLoc); in getInitialState()
279 const MemRegion *R = state->getRegion(SelfD, InitLoc); in getInitialState()
294 const StackFrameContext *SFC = InitLoc->getStackFrame(); in getInitialState()
H A DRegionStore.cpp406 StoreRef getInitialStore(const LocationContext *InitLoc) override { in getInitialStore() argument
408 if (const auto *FD = dyn_cast<FunctionDecl>(InitLoc->getDecl())) in getInitialStore()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.cpp1203 SMLoc InitLoc = Lex.getLoc(); in ParseOperation() local
1222 Error(InitLoc, Twine("expected a list, got value of type '") + in ParseOperation()
1247 Error(InitLoc, Twine("expected second parameter to be an int, got " in ParseOperation()
1259 Error(InitLoc, Twine("expected bit, bits, int, string, or record; " in ParseOperation()
1271 Error(InitLoc, Twine("expected bit, bits, int, or string; " in ParseOperation()
1282 Error(InitLoc, Twine("expected list of string, int, bits, or bit; " in ParseOperation()
1290 Error(InitLoc, Twine("expected second argument to be a string, " in ParseOperation()
1307 Error(InitLoc, Twine("expected value of type '") + in ParseOperation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOpenMP.cpp9111 SourceLocation InitLoc = IterSpaces[0].InitSrcRange.getBegin(); in checkOpenMPLoop() local
9119 VarDecl *LBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.lb"); in checkOpenMPLoop()
9120 LB = buildDeclRefExpr(SemaRef, LBDecl, VType, InitLoc); in checkOpenMPLoop()
9122 SemaRef.ActOnIntegerConstant(InitLoc, 0).get(), in checkOpenMPLoop()
9126 VarDecl *UBDecl = buildVarDecl(SemaRef, InitLoc, VType, ".omp.ub"); in checkOpenMPLoop()
9127 UB = buildDeclRefExpr(SemaRef, UBDecl, VType, InitLoc); in checkOpenMPLoop()
9134 VarDecl *ILDecl = buildVarDecl(SemaRef, InitLoc, Int32Ty, ".omp.is_last"); in checkOpenMPLoop()
9135 IL = buildDeclRefExpr(SemaRef, ILDecl, Int32Ty, InitLoc); in checkOpenMPLoop()
9137 SemaRef.ActOnIntegerConstant(InitLoc, 0).get(), in checkOpenMPLoop()
9142 buildVarDecl(SemaRef, InitLoc, StrideVType, ".omp.stride"); in checkOpenMPLoop()
[all …]
H A DSemaInit.cpp2106 SourceLocation InitLoc = Init ? Init->getBeginLoc() : IList->getEndLoc(); in CheckStructUnionTypes() local
2114 CheckEmptyInitializable(BaseEntity, InitLoc); in CheckStructUnionTypes()
2118 if (checkDestructorReference(Base.getType(), InitLoc, SemaRef)) { in CheckStructUnionTypes()
2136 SourceLocation InitLoc = Init->getBeginLoc(); in CheckStructUnionTypes() local
2160 if (checkDestructorReference(ET, InitLoc, SemaRef)) { in CheckStructUnionTypes()
2209 if (checkDestructorReference(ET, InitLoc, SemaRef)) { in CheckStructUnionTypes()
H A DSemaDeclCXX.cpp3982 SourceLocation InitLoc, in ActOnFinishCXXInClassMemberInitializer() argument
4013 : InitializationKind::CreateCopy(InitExpr->getBeginLoc(), InitLoc); in ActOnFinishCXXInClassMemberInitializer()
4025 Init = ActOnFinishFullExpr(Init.get(), InitLoc, /*DiscardedValue*/ false); in ActOnFinishCXXInClassMemberInitializer()
13253 SourceLocation InitLoc = Shadow->getLocation(); in DefineInheritingConstructor() local
13273 InitLoc, B.getType(), BaseCtor.first, VBase, BaseCtor.second); in DefineInheritingConstructor()
13275 auto *TInfo = Context.getTrivialTypeSourceInfo(B.getType(), InitLoc); in DefineInheritingConstructor()
13277 Context, TInfo, VBase, InitLoc, Init.get(), InitLoc, in DefineInheritingConstructor()
13290 Constructor->setBody(new (Context) CompoundStmt(InitLoc)); in DefineInheritingConstructor()
H A DSemaChecking.cpp11622 SourceLocation InitLoc) { in AnalyzeBitFieldAssignment() argument
11641 S.Diag(InitLoc, diag::warn_no_underlying_type_specified_for_enum_bitfield) in AnalyzeBitFieldAssignment()
11688 S.Diag(InitLoc, DiagID) << Bitfield << ED; in AnalyzeBitFieldAssignment()
11706 S.Diag(InitLoc, diag::warn_bitfield_too_small_for_enum) in AnalyzeBitFieldAssignment()
11745 S.Diag(InitLoc, diag::warn_impcast_bitfield_precision_constant) in AnalyzeBitFieldAssignment()
14082 void Sema::CheckBitFieldInitialization(SourceLocation InitLoc, in CheckBitFieldInitialization() argument
14085 (void) AnalyzeBitFieldAssignment(*this, BitField, Init, InitLoc); in CheckBitFieldInitialization()