Searched refs:Loc (Results 226 - 250 of 332) sorted by relevance

1234567891011>>

/external/clang/lib/StaticAnalyzer/Checkers/
H A DObjCSelfInitChecker.cpp273 unsigned selfFlags = getSelfFlags(state->getSVal(cast<Loc>(argV)), C);
304 addSelfFlag(state, state->getSVal(cast<Loc>(argV)), prevFlags, C);
327 addSelfFlag(state, state->getSVal(cast<Loc>(location)), SelfFlag_Self, C);
/external/clang/lib/Sema/
H A DSemaChecking.cpp495 SourceLocation Loc,
508 Loc, Range))
520 CheckNonNullArguments(*I, Args, Loc);
535 SourceLocation Loc) {
539 /*IsMemberFunction=*/true, Loc, SourceRange(), CallType);
1834 SourceLocation Loc, SourceRange Range) {
1839 CallType, Loc, Range);
1847 SourceLocation Loc, SourceRange Range) {
1850 Diag(Loc, diag::warn_missing_format_string) << Range;
1973 bool HandleInvalidConversionSpecifier(unsigned argIndex, SourceLocation Loc,
491 checkCall(NamedDecl *FDecl, Expr **Args, unsigned NumArgs, unsigned NumProtoArgs, bool IsMemberFunction, SourceLocation Loc, SourceRange Range, VariadicCallType CallType) argument
532 CheckConstructorCall(FunctionDecl *FDecl, Expr **Args, unsigned NumArgs, const FunctionProtoType *Proto, SourceLocation Loc) argument
1831 CheckFormatArguments(const FormatAttr *Format, Expr **Args, unsigned NumArgs, bool IsCXXMember, VariadicCallType CallType, SourceLocation Loc, SourceRange Range) argument
1843 CheckFormatArguments(Expr **Args, unsigned NumArgs, bool HasVAListArg, unsigned format_idx, unsigned firstDataArg, FormatStringType Type, VariadicCallType CallType, SourceLocation Loc, SourceRange Range) argument
2156 SourceLocation Loc = E->getLocStart(); local
2168 HandleInvalidConversionSpecifier(unsigned argIndex, SourceLocation Loc, const char *startSpec, unsigned specifierLen, const char *csStart, unsigned csLen) argument
2199 HandlePositionalNonpositionalArgs(SourceLocation Loc, const char *startSpec, unsigned specifierLen) argument
2227 EmitFormatDiagnostic(PartialDiagnostic PDiag, SourceLocation Loc, bool IsStringLocation, Range StringRange, ArrayRef<FixItHint> FixIt) argument
2264 EmitFormatDiagnostic(Sema &S, bool InFunctionCall, const Expr *ArgumentExpr, PartialDiagnostic PDiag, SourceLocation Loc, bool IsStringLocation, Range StringRange, ArrayRef<FixItHint> FixIt) argument
3792 CheckFloatComparison(SourceLocation Loc, Expr* LHS, Expr *RHS) argument
4696 SourceLocation Loc = E->getSourceRange().getBegin(); local
5263 SourceLocation Loc; member in struct:__anon177::RetainCycleOwner
5483 checkUnsafeAssigns(SourceLocation Loc, QualType LHS, Expr *RHS) argument
5501 checkUnsafeExprAssigns(SourceLocation Loc, Expr *LHS, Expr *RHS) argument
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h221 StringRef getMacroNameOrSpelling(SourceLocation &Loc);
H A DExplodedGraph.h161 const ProgramPoint &Loc,
164 ID.Add(Loc);
160 Profile(llvm::FoldingSetNodeID &ID, const ProgramPoint &Loc, const ProgramStateRef &state, bool IsSink) argument
/external/clang/lib/AST/
H A DCommentLexer.cpp12 Loc.dump(SM);
818 SourceLocation Loc = Tok.getLocation();
819 std::pair<FileID, unsigned> LocInfo = SourceMgr.getDecomposedLoc(Loc);
H A DExprConstant.cpp401 bool CheckCallLimit(SourceLocation Loc) { argument
408 Diag(Loc, diag::note_constexpr_call_limit_exceeded);
413 Diag(Loc, diag::note_constexpr_depth_limit_exceeded)
430 PartialDiagnostic &addDiag(SourceLocation Loc, diag::kind DiagId) { argument
432 EvalStatus.Diag->push_back(std::make_pair(Loc, PD));
441 OptionalDiagnostic Diag(SourceLocation Loc, diag::kind DiagId argument
458 addDiag(Loc, DiagId);
479 OptionalDiagnostic CCEDiag(LocArg Loc, diag::kind DiagId argument
487 return Diag(Loc, DiagId, ExtraNotes);
491 OptionalDiagnostic Note(SourceLocation Loc, dia argument
963 CheckLValueConstantExpression(EvalInfo &Info, SourceLocation Loc, QualType Type, const LValue &LVal) argument
1363 HandleSizeof(EvalInfo &Info, SourceLocation Loc, QualType Type, CharUnits &Size) argument
2073 CheckTrivialDefaultConstructor(EvalInfo &Info, SourceLocation Loc, const CXXConstructorDecl *CD, bool IsValueInitialization) argument
6398 SourceLocation Loc; member in struct:__anon3508::ICEDiag
6780 EvaluateCPlusPlus11IntegralConstantExpr(ASTContext &Ctx, const Expr *E, llvm::APSInt *Value, SourceLocation *Loc) argument
6810 isIntegerConstantExpr(llvm::APSInt &Value, ASTContext &Ctx, SourceLocation *Loc, bool isEvaluated) const argument
6878 SourceLocation Loc = FD->getLocation(); local
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp255 const PathDiagnosticLocation &Loc = ExecutionContinues(N); local
257 if (Loc.asStmt())
259 << getSourceManager().getExpansionLineNumber(Loc.asLocation())
275 return Loc;
1136 Loc LV = State->getLValue(PD, CalleeCtx);
1313 const PathDiagnosticLocation &Loc = p->getLocation(); local
1314 EB.addEdge(Loc, true);
1318 if (const Stmt *S = Loc.asStmt())
1779 const FullSourceLoc Loc = piece->getLocation().asLocation(); local
1783 SourceLocation InstantiationLoc = Loc
2141 EmitBasicReport(const Decl *DeclWithIssue, StringRef name, StringRef category, StringRef str, PathDiagnosticLocation Loc, SourceRange* RBeg, unsigned NumRanges) argument
[all...]
H A DStore.cpp265 Loc BaseL = cast<Loc>(Base);
H A DCheckerManager.cpp266 SVal Loc; member in struct:__anon3946::CheckLocationContext
279 : Checkers(checkers), Loc(loc), IsLoad(isLoad), NodeEx(NodeEx),
291 checkFn(Loc, IsLoad, BoundEx, C);
313 SVal Loc; member in struct:__anon3947::CheckBindContext
325 : Checkers(checkers), Loc(loc), Val(val), S(s), Eng(eng), PP(pp) {}
332 checkFn(Loc, Val, S, C);
H A DExprEngineC.cpp69 if (isa<Loc>(LeftV) &&
74 if (isa<Loc>(RightV) &&
800 if (isa<Loc>(V)) {
801 Loc X = svalBuilder.makeNull();
802 Result = evalBinOp(state, BO_EQ, cast<Loc>(V), X,
877 if (Loc::isLocType(U->getType())) {
H A DProgramState.cpp122 ProgramStateRef ProgramState::bindLoc(Loc LV, SVal V, bool notifyChanges) const {
181 ProgramStateRef ProgramState::killBinding(Loc LV) const {
211 if (Loc::isLocType(T) || T->isIntegerType())
218 SVal ProgramState::getSVal(Loc location, QualType T) const {
219 SVal V = getRawSVal(cast<Loc>(location), T);
246 if (isa<Loc>(V))
/external/llvm/lib/Analysis/IPA/
H A DGlobalsModRef.cpp115 const Location &Loc);
546 const Location &Loc) {
552 dyn_cast<GlobalValue>(GetUnderlyingObject(Loc.Ptr)))
561 return ModRefResult(Known & AliasAnalysis::getModRefInfo(CS, Loc));
545 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
/external/bison/src/
H A Dparse-gram.y40 #define YY_LOCATION_PRINT(File, Loc) \
41 location_print (File, Loc)
/external/clang/lib/Analysis/
H A DReachableCode.cpp249 SourceLocation Loc = GetUnreachableLoc(S, R1, R2); local
250 CB.HandleUnreachable(Loc, R1, R2);
H A DThreadSafety.cpp546 SourceLocation Loc; local
548 Loc = DeclExp->getExprLoc();
551 if (Loc.isValid())
552 Handler.handleInvalidLockExp(Loc);
1681 SourceLocation Loc = Exp->getExprLoc(); local
1684 LockData(Loc, LK_Exclusive));
1688 LockData(Loc, LK_Shared));
1935 SourceLocation Loc = Exp->getExprLoc(); local
1938 LockData(Loc, LK_Exclusive, isScopedVar));
1942 LockData(Loc, LK_Share
2187 SourceLocation Loc = D->getLocation(); local
[all...]
/external/llvm/include/llvm/CodeGen/
H A DMachineFunction.h222 Ty *Loc = static_cast<Ty*>(Allocator.Allocate(sizeof(Ty), local
224 MFInfo = new (Loc) Ty(*this);
/external/llvm/lib/MC/
H A DMCDwarf.cpp741 SourceMgr &SrcMgr, SMLoc &Loc) {
761 int CurBuffer = SrcMgr.FindBufferContainingLoc(Loc);
762 unsigned LineNumber = SrcMgr.FindLineNumber(Loc, CurBuffer);
833 const MachineLocation &Loc) {
834 unsigned Reg = Loc.getReg() == MachineLocation::VirtualFP ?
836 unsigned(MRI.getDwarfRegNum(Loc.getReg(), true));
837 const MachineLocation &NewLoc = Loc.isReg() ?
838 MachineLocation(Reg) : MachineLocation(Reg, Loc.getOffset());
740 Make(MCSymbol *Symbol, MCStreamer *MCOS, SourceMgr &SrcMgr, SMLoc &Loc) argument
831 TranslateMachineLocation( const MCRegisterInfo &MRI, const MachineLocation &Loc) argument
/external/clang/lib/Rewrite/Core/
H A DDeltaTree.cpp43 static SourceDelta get(unsigned Loc, int D) { argument
45 Delta.FileLoc = Loc;
/external/clang/include/clang/AST/
H A DDeclBase.h239 /// Loc - The location of this decl.
240 SourceLocation Loc; member in class:clang::Decl
306 Loc(L), DeclKind(DK), InvalidDecl(0),
352 SourceLocation getLocation() const { return Loc; }
353 void setLocation(SourceLocation L) { Loc = L; }
891 SourceLocation Loc; member in class:clang::PrettyStackTraceDecl
897 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {}
/external/llvm/lib/CodeGen/
H A DTailDuplication.cpp825 MachineBasicBlock::iterator Loc = PredBB->getFirstTerminator(); local
827 Copies.push_back(BuildMI(*PredBB, Loc, DebugLoc(),
886 MachineBasicBlock::iterator Loc = PrevBB->getFirstTerminator(); local
888 Copies.push_back(BuildMI(*PrevBB, Loc, DebugLoc(),
947 MachineBasicBlock::iterator Loc = PredBB->getFirstTerminator(); local
949 Copies.push_back(BuildMI(*PredBB, Loc, DebugLoc(),
/external/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp402 const DebugLoc &Loc = I->getDebugLoc(); local
403 if (Loc.isUnknown()) continue;
404 if (Line == Loc.getLine()) continue;
405 Line = Loc.getLine();
406 if (SP != getDISubprogram(Loc.getScope(*Ctx))) continue;
409 Lines.addLine(Loc.getLine());
/external/mesa3d/src/glsl/
H A Dglsl_parser.cpp2027 # define YY_LOCATION_PRINT(File, Loc) \
2029 (Loc).first_line, (Loc).first_column, \
2030 (Loc).last_line, (Loc).last_column)
2032 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
/external/clang/lib/Parse/
H A DParser.cpp126 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { argument
127 return Diags.Report(Loc, DiagID);
137 /// \param Loc The location where we'll emit the diagnostic.
140 void Parser::SuggestParentheses(SourceLocation Loc, unsigned DK, argument
146 Diag(Loc, DK);
150 Diag(Loc, DK)
177 SourceLocation Loc = Tok.getLocation(); local
178 Diag(Loc, DiagID)
180 << FixItHint::CreateReplacement(SourceRange(Loc),
1253 SourceLocation Loc local
[all...]
H A DParseDeclCXX.cpp280 SourceLocation Loc = ConsumeStringToken(); local
286 Loc, Lang,
2015 SourceLocation Loc; local
2016 ExprResult AsmLabel(ParseSimpleAsm(&Loc));
2021 DeclaratorInfo.SetRangeEnd(Loc);
2490 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); local
2491 Diag(Loc, diag::err_ctor_init_missing_comma)
2492 << FixItHint::CreateInsertion(Loc, ", ");
2818 IdentifierInfo *Parser::TryParseCXX11AttributeIdentifier(SourceLocation &Loc) { argument
2823 Loc
2992 SourceLocation StartLoc = Tok.getLocation(), Loc; local
[all...]
/external/clang/include/clang/Serialization/
H A DASTReader.h1278 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID);
1380 SourceLocation Loc = SourceLocation::getFromRawEncoding(Raw); local
1381 assert(ModuleFile.SLocRemap.find(Loc.getOffset()) != ModuleFile.SLocRemap.end() &&
1383 int Remap = ModuleFile.SLocRemap.find(Loc.getOffset())->second;
1384 return Loc.getLocWithOffset(Remap);

Completed in 465 milliseconds

1234567891011>>