Searched refs:Loc (Results 126 - 150 of 332) sorted by relevance

1234567891011>>

/external/clang/include/clang/Analysis/
H A DProgramPoint.h327 /// \param Loc can be used to store the information about the location
329 PostStore(const Stmt *S, const LocationContext *L, const void *Loc, argument
333 setData2(Loc);
422 ImplicitCallPoint(const Decl *D, SourceLocation Loc, Kind K, argument
424 : ProgramPoint(Loc.getPtrEncoding(), D, K, L, Tag) {}
442 PreImplicitCall(const Decl *D, SourceLocation Loc, argument
444 : ImplicitCallPoint(D, Loc, PreImplicitCallKind, L, Tag) {}
456 PostImplicitCall(const Decl *D, SourceLocation Loc, argument
458 : ImplicitCallPoint(D, Loc, PostImplicitCallKind, L, Tag) {}
582 static unsigned getHashValue(const clang::ProgramPoint &Loc) { argument
[all...]
/external/clang/lib/AST/
H A DASTImporter.cpp84 SourceLocation &Loc);
230 DiagnosticBuilder Diag1(SourceLocation Loc, unsigned DiagID) { argument
234 return C1.getDiagnostics().Report(Loc, DiagID);
237 DiagnosticBuilder Diag2(SourceLocation Loc, unsigned DiagID) { argument
241 return C2.getDiagnostics().Report(Loc, DiagID);
1693 SourceLocation &Loc) {
1712 Loc = Importer.Import(D->getLocation());
1748 // NOTE: To.Name and To.Loc are already imported.
1764 SourceLocation Loc = From.getCXXLiteralOperatorNameLoc(); local
1765 To.setCXXLiteralOperatorNameLoc(Importer.Import(Loc));
1690 ImportDeclParts(NamedDecl *D, DeclContext *&DC, DeclContext *&LexicalDC, DeclarationName &Name, SourceLocation &Loc) argument
2064 SourceLocation Loc; local
2132 SourceLocation Loc; local
2206 SourceLocation Loc; local
2291 SourceLocation Loc; local
2388 SourceLocation Loc; local
2438 SourceLocation Loc; local
2603 SourceLocation Loc; local
2654 SourceLocation Loc; local
2715 SourceLocation Loc; local
2765 SourceLocation Loc; local
2947 SourceLocation Loc; local
3069 SourceLocation Loc; local
3193 SourceLocation Loc; local
3339 SourceLocation Loc; local
3492 SourceLocation Loc; local
3723 SourceLocation Loc; local
4616 ToDiag(SourceLocation Loc, unsigned DiagID) argument
4620 FromDiag(SourceLocation Loc, unsigned DiagID) argument
[all...]
H A DCommentParser.cpp127 SourceLocation Loc,
131 Result.setLocation(Loc);
158 SourceLocation Loc = getSourceLocation(); local
178 formTokenWithChars(Tok, Loc, WordBegin,
192 SourceLocation Loc = getSourceLocation(); local
224 formTokenWithChars(Tok, Loc, WordBegin,
521 SourceLocation Loc; local
523 Loc = Tok.getLocation();
528 Loc,
126 formTokenWithChars(Token &Result, SourceLocation Loc, const char *TokBegin, unsigned TokLength, StringRef Text) argument
H A DExprClassification.cpp35 Cl::Kinds Kind, SourceLocation &Loc);
52 Cl Expr::ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const {
86 if (Loc)
87 modifiable = IsModifiable(Ctx, this, kind, *Loc);
552 Cl::Kinds Kind, SourceLocation &Loc) {
561 Loc = CE->getExprLoc();
626 Expr::isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc) const {
628 Classification VC = ClassifyModifiable(Ctx, Loc ? *Loc : dummy);
551 IsModifiable(ASTContext &Ctx, const Expr *E, Cl::Kinds Kind, SourceLocation &Loc) argument
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h69 MachineLocation Loc; member in struct:llvm::DotDebugLocEntry
91 : Begin(B), End(E), Loc(L), Variable(V), Merged(false),
108 if (!(Begin && Loc == Next->Loc && End == Next->Begin))
322 DbgVariable *findAbstractVariable(DIVariable &Var, DebugLoc Loc);
/external/clang/lib/Sema/
H A DSemaAttr.cpp301 SourceLocation Loc = PP.getPragmaARCCFCodeAuditedLoc(); local
302 if (!Loc.isValid()) return;
309 D->addAttr(::new (Context) CFAuditedTransferAttr(Loc, Context));
387 SourceLocation Loc) {
392 PushPragmaVisibility(*this, NoVisibility, Loc);
386 PushNamespaceVisibilityAttr(const VisibilityAttr *Attr, SourceLocation Loc) argument
H A DSemaObjCProperty.cpp214 SourceLocation LParenLoc, SourceLocation &Loc) {
236 Loc = Tok.getLocation();
1225 SourceLocation Loc) {
1238 else if (CheckAssignmentConstraints(Loc, GetterType, PropertyIvarType)
1240 Diag(Loc, diag::error_property_accessor_type)
1255 Diag(Loc, diag::warn_accessor_property_type_mismatch)
1880 SourceLocation Loc = redeclaredProperty ? local
1884 GetterMethod = ObjCMethodDecl::Create(Context, Loc, Loc,
1903 ::new (Context) NSReturnsNotRetainedAttr(Loc, Contex
213 LocPropertyAttribute( ASTContext &Context, const char *attrName, SourceLocation LParenLoc, SourceLocation &Loc) argument
1223 DiagnosePropertyAccessorMismatch(ObjCPropertyDecl *property, ObjCMethodDecl *GetterMethod, SourceLocation Loc) argument
1917 SourceLocation Loc = redeclaredProperty ? local
1989 CheckObjCPropertyAttributes(Decl *PDecl, SourceLocation Loc, unsigned &Attributes, bool propertyInPrimaryClass) argument
[all...]
H A DJumpDiagnostics.cpp53 /// Loc - Location to emit the diagnostic.
54 SourceLocation Loc; member in struct:__anon163::JumpScopeChecker::GotoScope
58 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {}
264 SourceLocation Loc = D->getLocation(); local
265 if (Loc.isInvalid())
266 Loc = BDecl->getLocation();
268 Diags.first, Diags.second, Loc));
676 S.Diag(Scopes[ToScopes[I]].Loc, Scopes[ToScopes[I]].InDiag);
693 S.Diag(Scopes[I].Loc, Scopes[I].OutDiag);
704 S.Diag(Scopes[I].Loc, Scope
[all...]
H A DSemaTemplateInstantiate.cpp674 SourceLocation Loc; member in class:__anon251::TemplateInstantiator
682 SourceLocation Loc,
684 : inherited(SemaRef), TemplateArgs(TemplateArgs), Loc(Loc),
695 SourceLocation getBaseLocation() { return Loc; }
702 void setBase(SourceLocation Loc, DeclarationName Entity) { argument
703 this->Loc = Loc;
758 Decl *TransformDecl(SourceLocation Loc, Decl *D);
770 Decl *TransformDefinition(SourceLocation Loc, Dec
680 TemplateInstantiator(Sema &SemaRef, const MultiLevelTemplateArgumentList &TemplateArgs, SourceLocation Loc, DeclarationName Entity) argument
872 TransformDecl(SourceLocation Loc, Decl *D) argument
920 TransformFirstQualifierInScope(NamedDecl *D, SourceLocation Loc) argument
1410 SubstType(TypeSourceInfo *T, const MultiLevelTemplateArgumentList &Args, SourceLocation Loc, DeclarationName Entity) argument
1426 SubstType(TypeLoc TL, const MultiLevelTemplateArgumentList &Args, SourceLocation Loc, DeclarationName Entity) argument
1457 SubstType(QualType T, const MultiLevelTemplateArgumentList &TemplateArgs, SourceLocation Loc, DeclarationName Entity) argument
1505 SubstFunctionDeclType(TypeSourceInfo *T, const MultiLevelTemplateArgumentList &Args, SourceLocation Loc, DeclarationName Entity, CXXRecordDecl *ThisContext, unsigned ThisTypeQuals) argument
1633 SubstParmTypes(SourceLocation Loc, ParmVarDecl **Params, unsigned NumParams, const MultiLevelTemplateArgumentList &TemplateArgs, SmallVectorImpl<QualType> &ParamTypes, SmallVectorImpl<ParmVarDecl *> *OutParams) argument
2527 SubstTemplateName(NestedNameSpecifierLoc QualifierLoc, TemplateName Name, SourceLocation Loc, const MultiLevelTemplateArgumentList &TemplateArgs) argument
[all...]
/external/clang/lib/Parse/
H A DParseExprCXX.cpp678 SourceLocation Loc; local
684 Loc = ConsumeToken();
700 Loc = ConsumeToken();
714 Intro.addCapture(Kind, Loc, Id, EllipsisLoc);
1294 /// \param Loc The location of the start of the statement that requires this
1303 SourceLocation Loc,
1326 = Actions.ActOnBooleanCondition(getCurScope(), Loc, ExprOut.get());
1340 SourceLocation Loc; local
1341 ExprResult AsmLabel(ParseSimpleAsm(&Loc));
1347 DeclaratorInfo.SetRangeEnd(Loc);
1301 ParseCXXCondition(ExprResult &ExprOut, Decl *&DeclOut, SourceLocation Loc, bool ConvertToBoolean) argument
1427 SourceLocation Loc = Tok.getLocation(); local
2529 SourceLocation Loc = ConsumeToken(); local
2557 SourceLocation Loc = ConsumeToken(); local
2597 SourceLocation Loc = ConsumeToken(); local
2647 SourceLocation Loc = ConsumeToken(); local
2690 SourceLocation Loc = ConsumeToken(); local
[all...]
/external/clang/include/clang/AST/
H A DExpr.h186 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc,
247 /// \param Loc [in,out] - A source location which *may* be filled
251 SourceLocation *Loc = 0) const;
338 /// \param Loc A source location that might be filled with a relevant location
340 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{
341 return ClassifyImpl(Ctx, &Loc);
379 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const;
419 /// valid i-c-e, return false and fill in Loc (if specified) with the location
425 SourceLocation *Loc = 0,
427 bool isIntegerConstantExpr(ASTContext &Ctx, SourceLocation *Loc
715 SourceLocation Loc; member in class:clang::OpaqueValueExpr
718 OpaqueValueExpr(SourceLocation Loc, QualType T, ExprValueKind VK, ExprObjectKind OK = OK_Ordinary, Expr *SourceExpr = 0) argument
796 SourceLocation Loc; member in class:clang::DeclRefExpr
1085 SourceLocation Loc; member in class:clang::PredefinedExpr
1168 SourceLocation Loc; member in class:clang::IntegerLiteral
1216 SourceLocation Loc; member in class:clang::CharacterLiteral
1253 SourceLocation Loc; member in class:clang::FloatingLiteral
1381 Create(ASTContext &C, StringRef Str, StringKind Kind, bool Pascal, QualType Ty, SourceLocation Loc) argument
1514 setLParen(SourceLocation Loc) argument
1518 setRParen(SourceLocation Loc) argument
1546 SourceLocation Loc; member in class:clang::StringLiteral::UnaryOperator
3400 GNUNullExpr(QualType Ty, SourceLocation Loc) argument
[all...]
H A DTemplateBase.h490 void setLAngleLoc(SourceLocation Loc) { LAngleLoc = Loc; } argument
491 void setRAngleLoc(SourceLocation Loc) { RAngleLoc = Loc; } argument
503 void addArgument(const TemplateArgumentLoc &Loc) { argument
504 Arguments.push_back(Loc);
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp780 SMLoc Loc = getLexer().getLoc(); local
782 return Error(Loc, "unexpected token in argument list");
786 SMLoc Loc = getLexer().getLoc(); local
788 return Error(Loc, "unexpected token in argument list");
798 SMLoc Loc = getLexer().getLoc(); local
800 return Error(Loc, "unexpected token in argument list");
805 SMLoc Loc = getLexer().getLoc(); local
807 return Error(Loc, "unexpected token in argument list");
867 SMLoc Loc = getLexer().getLoc(); local
869 return Error(Loc, "unexpecte
877 SMLoc Loc = getLexer().getLoc(); local
885 SMLoc Loc = getLexer().getLoc(); local
[all...]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp324 SymbolTableMap::const_iterator Loc = local
326 if (Loc == GlobalSymbolTable.end()) {
331 RECopy.Addend += Loc->second.second;
332 Relocations[Loc->second.first].push_back(RECopy);
412 SymbolTableMap::const_iterator Loc = GlobalSymbolTable.find(Name); local
413 if (Loc == GlobalSymbolTable.end()) {
/external/clang/lib/Serialization/
H A DASTReader.cpp1316 SourceLocation Loc = ReadSourceLocation(F, Record[1]); local
1319 MacroInfo *MI = PP.AllocateMacroInfo(Loc);
1529 RecordLocation Loc = getLocalBitOffset(Offset); local
1530 ReadMacroRecord(*Loc.F, Loc.Offset);
3620 SourceLocation Loc = ReadSourceLocation(M, PPOffs.Begin); local
3621 if (Loc.isInvalid())
3624 if (SourceMgr.isInFileID(SourceMgr.getFileLoc(Loc), FID))
3687 SourceLocation Loc = ReadSourceLocation(F, F.PragmaDiagMappings[Idx++]); local
3691 FullSourceLoc(Loc, SourceMg
3726 RecordLocation Loc = TypeCursorForIndex(Index); local
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramState.h212 ProgramStateRef bindLoc(Loc location,
220 ProgramStateRef killBinding(Loc LV) const;
237 Loc getLValue(const VarDecl *D, const LocationContext *LC) const;
239 Loc getLValue(const CompoundLiteralExpr *literal,
262 SVal getSVal(Loc LV, QualType T = QualType()) const;
265 SVal getRawSVal(Loc LV, QualType T= QualType()) const;
498 SVal ArrayToPointer(Loc Array) {
633 return !isa<Loc>(LV) ? this : bindLoc(cast<Loc>(LV), V);
636 inline Loc ProgramStat
[all...]
/external/clang/include/clang/Basic/
H A DDiagnosticIDs.h254 /// \param Loc The source location we are interested in finding out the
256 DiagnosticIDs::Level getDiagnosticLevel(unsigned DiagID, SourceLocation Loc,
263 SourceLocation Loc,
/external/clang/include/clang/Lex/
H A DMacroInfo.h312 void setVisibility(bool Public, SourceLocation Loc) {
313 VisibilityLocation = Loc;
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCStringSyntaxChecker.cpp144 PathDiagnosticLocation Loc = local
161 os.str(), Loc, &R, 1);
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp49 BlockEdge Loc(Entry, Succ, calleeCtx);
55 ExplodedNode *Node = G.getNode(Loc, state, false, &isNew);
181 PostStmt Loc(LastSt, calleeCtx, &retValBind);
183 ExplodedNode *BindedRetNode = G.getNode(Loc, state, false, &isNew);
206 CallExitEnd Loc(calleeCtx, callerCtx);
209 ExplodedNode *CEENode = G.getNode(Loc, CEEState, false, &isNew);
465 CallEnter Loc(CallE, CalleeSFC, CurLC);
472 if (ExplodedNode *N = G.getNode(Loc, State, false, &isNew)) {
/external/clang/tools/libclang/
H A DIndexing.cpp53 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, argument
61 if (Loc == MainFileLoc && Reason == PPCallbacks::EnterFile) {
800 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); local
801 if (!location.ptr_data[0] || Loc.isInvalid())
806 IndexCtx.translateLoc(Loc, indexFile, file, line, column, offset);
810 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); local
811 if (!location.ptr_data[0] || Loc.isInvalid())
816 return cxloc::translateSourceLocation(IndexCtx.getASTContext(), Loc);
/external/llvm/lib/TableGen/
H A DTGLexer.cpp43 tgtok::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) { argument
44 PrintError(Loc, Msg);
/external/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp144 AliasAnalysis::Location Loc(Arg,
147 if (!AA->pointsToConstantMemory(Loc, /*OrLocal=*/true)) {
169 AliasAnalysis::Location Loc = AA->getLocation(LI); local
170 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true))
176 AliasAnalysis::Location Loc = AA->getLocation(SI); local
177 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true))
182 AliasAnalysis::Location Loc = AA->getLocation(VI); local
183 if (AA->pointsToConstantMemory(Loc, /*OrLocal=*/true))
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp48 X86Operand *ErrorOperand(SMLoc Loc, StringRef Msg) { argument
49 Error(Loc, Msg);
443 static X86Operand *CreateToken(StringRef Str, SMLoc Loc) { argument
444 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size() - 1);
445 X86Operand *Res = new X86Operand(Token, Loc, EndLoc);
673 SMLoc Loc = Parser.getTok().getLoc(); local
690 return ErrorOperand(Loc, "Unexpected token");
923 SMLoc Loc = Parser.getTok().getLoc(); local
927 Error(Loc, "expected scale expression");
933 Error(Loc, "scal
942 SMLoc Loc = Parser.getTok().getLoc(); local
1076 SMLoc Loc = Parser.getTok().getLoc(); local
1102 SMLoc Loc = getLexer().getLoc(); local
1126 SMLoc Loc = Op.getEndLoc(); local
1139 SMLoc Loc = Op.getEndLoc(); local
[all...]
/external/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h90 bool isLive(const Stmt *Loc, const Stmt *StmtVal);

Completed in 503 milliseconds

1234567891011>>