Searched defs:Loc (Results 176 - 200 of 312) sorted by relevance

1234567891011>>

/external/clang/lib/Parse/
H A DParseExpr.cpp1202 SourceLocation Loc; local
1246 Loc = T.getOpenLocation();
1257 LHS = Actions.ActOnArraySubscriptExpr(getCurScope(), LHS.get(), Loc,
1302 Loc = PrevTokLocation;
1317 Loc = PT.getOpenLocation();
1348 LHS = Actions.ActOnCallExpr(getCurScope(), LHS.get(), Loc,
1424 SourceLocation Loc = ConsumeToken(); local
1425 Name.setIdentifier(Id, Loc);
H A DParsePragma.cpp398 SourceLocation Loc = Tok.getLocation(); local
401 Actions.ActOnCapturedRegionStart(Loc, getCurScope(), CR_Default,
H A DParseStmt.cpp413 SourceLocation Loc = ConsumeToken(); local
414 return ParseSEHTryBlockCommon(Loc);
438 SourceLocation Loc = ConsumeToken(); local
439 Handler = ParseSEHExceptBlock(Loc);
441 SourceLocation Loc = ConsumeToken(); local
442 Handler = ParseSEHFinallyBlock(Loc);
1014 SourceLocation Loc,
1020 ParseCXXCondition(ExprResult, DeclResult, Loc, ConvertToBoolean);
1028 = Actions.ActOnBooleanCondition(getCurScope(), Loc, ExprResult.get());
1515 SourceLocation Loc local
1012 ParseParenExprOrCondition(ExprResult &ExprResult, Decl *&DeclResult, SourceLocation Loc, bool ConvertToBoolean) argument
1983 SourceLocation Loc = ConsumeToken(); local
1987 SourceLocation Loc = ConsumeToken(); local
[all...]
H A DParser.cpp74 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { argument
75 return Diags.Report(Loc, DiagID);
85 /// \param Loc The location where we'll emit the diagnostic.
88 void Parser::SuggestParentheses(SourceLocation Loc, unsigned DK, argument
94 Diag(Loc, DK);
98 Diag(Loc, DK)
120 SourceLocation Loc = Tok.getLocation(); local
122 DiagnosticBuilder DB = Diag(Loc, DiagID);
124 SourceRange(Loc), tok::getPunctuatorSpelling(ExpectedTok));
1251 SourceLocation Loc local
[all...]
/external/clang/lib/Sema/
H A DDeclSpec.cpp34 static DiagnosticBuilder Diag(DiagnosticsEngine &D, SourceLocation Loc, argument
36 return D.Report(Loc, DiagID);
179 I.Loc = LocalRangeBegin;
469 bool DeclSpec::SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc, argument
507 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy);
525 StorageClassSpecLoc = Loc;
530 bool DeclSpec::SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc, argument
537 ThreadStorageClassSpecLoc = Loc;
544 bool DeclSpec::SetTypeSpecWidth(TSW W, SourceLocation Loc, argument
551 TSWLoc = Loc;
565 SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
575 SetTypeSpecSign(TSS S, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
585 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep, const PrintingPolicy &Policy) argument
614 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Expr *Rep, const PrintingPolicy &Policy) argument
634 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned, const PrintingPolicy &Policy) argument
664 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
691 SetTypeAltiVecVector(bool isAltiVecVector, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
704 SetTypeAltiVecPixel(bool isAltiVecPixel, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
719 SetTypeAltiVecBool(bool isAltiVecBool, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
742 SetTypeQual(TQ T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const LangOptions &Lang) argument
767 setFunctionSpecInline(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
781 setFunctionSpecForceInline(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
793 setFunctionSpecVirtual(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
808 setFunctionSpecExplicit(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
823 setFunctionSpecNoreturn(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
838 SetFriendSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
856 setModulePrivateSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
868 SetConstexprSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument
1191 SetSpecifier(Specifier VS, SourceLocation Loc, const char *&PrevSpec) argument
[all...]
H A DSema.cpp47 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { argument
48 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
933 SourceLocation Loc = Diags.getCurrentDiagLoc(); local
951 Diag(Loc, diag::warn_cxx98_compat_sfinae_access_control);
996 Sema::Diag(SourceLocation Loc, const PartialDiagnostic& PD) { argument
997 SemaDiagnosticBuilder Builder(Diag(Loc, PD.getDiagID()));
1096 Diag(PUD.Loc, PUD.PD);
1200 SourceLocation Loc = this->Loc; local
1201 if (!Loc
1354 notePlausibleOverloads(Sema &S, SourceLocation Loc, const UnresolvedSetImpl &Overloads, bool (*IsPlausibleResult)(QualType)) argument
1386 SourceLocation Loc = E.get()->getExprLoc(); local
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp211 if (Optional<Loc> LValue = RetVal.getAs<Loc>())
221 if (Optional<Loc> RetLoc = RetVal.getAs<Loc>())
264 Optional<Loc> LValue;
266 if ((LValue = V.getAs<Loc>())) {
297 if (V.getAs<Loc>()) {
362 Optional<Loc> ArgV = Call->getArgSVal(I).getAs<Loc>();
762 if (Constraint.getAs<Loc>()) {
1579 FullSourceLoc Loc = BR.getLocation(SM).asLocation(); local
[all...]
H A DCheckerManager.cpp265 SVal Loc; member in struct:__anon18264::CheckLocationContext
278 : Checkers(checkers), Loc(loc), IsLoad(isLoad), NodeEx(NodeEx),
290 checkFn(Loc, IsLoad, BoundEx, C);
312 SVal Loc; member in struct:__anon18265::CheckBindContext
324 : Checkers(checkers), Loc(loc), Val(val), S(s), Eng(eng), PP(pp) {}
331 checkFn(Loc, Val, S, C);
/external/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp248 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); local
249 if (Loc.isValid()) {
269 llvm::errs() << ": " << Loc.getFilename();
275 llvm::errs() << ' ' << "block(line:" << Loc.getLine() << ",col:"
276 << Loc.getColumn() << '\n';
/external/clang/tools/libclang/
H A DCXCursor.cpp551 SourceLocation Loc,
554 void *RawLoc = Loc.getPtrEncoding();
567 SourceLocation Loc,
570 void *RawLoc = Loc.getPtrEncoding();
583 SourceLocation Loc,
589 void *RawLoc = Loc.getPtrEncoding();
601 CXCursor cxcursor::MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, argument
604 void *RawLoc = Loc.getPtrEncoding();
617 SourceLocation Loc,
620 void *RawLoc = Loc
550 MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super, SourceLocation Loc, CXTranslationUnit TU) argument
566 MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto, SourceLocation Loc, CXTranslationUnit TU) argument
582 MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class, SourceLocation Loc, CXTranslationUnit TU) argument
616 MakeCursorTemplateRef(const TemplateDecl *Template, SourceLocation Loc, CXTranslationUnit TU) argument
632 MakeCursorNamespaceRef(const NamedDecl *NS, SourceLocation Loc, CXTranslationUnit TU) argument
650 MakeCursorVariableRef(const VarDecl *Var, SourceLocation Loc, CXTranslationUnit TU) argument
666 MakeCursorMemberRef(const FieldDecl *Field, SourceLocation Loc, CXTranslationUnit TU) argument
728 MakeMacroExpansionCursor(MacroDefinition *MI, SourceLocation Loc, CXTranslationUnit TU) argument
763 MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc, CXTranslationUnit TU) argument
791 MakeCursorOverloadedDeclRef(const Decl *D, SourceLocation Loc, CXTranslationUnit TU) argument
804 MakeCursorOverloadedDeclRef(TemplateName Name, SourceLocation Loc, CXTranslationUnit TU) argument
946 SourceLocation Loc = TL.getBeginLoc(); local
[all...]
H A DIndexing.cpp60 bool isParsed(SourceLocation Loc, FileID FID, const FileEntry *FE) { argument
187 bool isParsed(SourceLocation Loc, FileID FID, const FileEntry *FE) {
188 PPRegion region = getRegion(Loc, FID, FE);
208 PPRegion getRegion(SourceLocation Loc, FileID FID, const FileEntry *FE) {
209 SourceLocation RegionLoc = PPRec.findConditionalDirectiveRegionLoc(Loc);
256 void FileChanged(SourceLocation Loc, FileChangeReason Reason,
264 if (Loc == MainFileLoc && Reason == PPCallbacks::EnterFile) {
362 SourceLocation Loc = D->getLocation(); variable
363 if (Loc.isMacroID())
365 if (SM.isInSystemHeader(Loc))
709 SourceLocation Loc = ID->getSourceRange().getBegin(); local
1076 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); local
1086 SourceLocation Loc = SourceLocation::getFromRawEncoding(location.int_data); local
[all...]
H A DIndexingContext.cpp29 SourceLocation Loc = *LI; local
34 MakeCursorObjCProtocolRef(PD, Loc, IdxCtx.CXTU),
35 IdxCtx.getIndexLoc(Loc) };
39 IdxCtx.markEntityOccurrenceInFile(PD, Loc);
72 CXIdxLoc Loc = IdxCtx.getIndexLoc(A->getLocation()); local
75 Attrs.push_back(AttrInfo(CXIdxAttr_Unexposed, C, Loc, A));
78 Attrs.push_back(AttrInfo(CXIdxAttr_IBAction, C, Loc, A));
81 Attrs.push_back(AttrInfo(CXIdxAttr_IBOutlet, C, Loc, A));
84 IBCollAttrs.push_back(IBOutletCollectionInfo(C, Loc, A));
130 SourceLocation Loc local
160 SourceLocation Loc = Base.getSourceRange().getBegin(); local
309 handleDecl(const NamedDecl *D, SourceLocation Loc, CXCursor Cursor, DeclInfo &DInfo, const DeclContext *LexicalDC) argument
365 handleObjCContainer(const ObjCContainerDecl *D, SourceLocation Loc, CXCursor Cursor, ObjCContainerDeclInfo &ContDInfo) argument
596 handleSynthesizedObjCMethod(const ObjCMethodDecl *D, SourceLocation Loc, const DeclContext *LexicalDC) argument
653 handleReference(const NamedDecl *D, SourceLocation Loc, const NamedDecl *Parent, const DeclContext *DC, const Expr *E, CXIdxEntityRefKind Kind) argument
666 handleReference(const NamedDecl *D, SourceLocation Loc, CXCursor Cursor, const NamedDecl *Parent, const DeclContext *DC, const Expr *E, CXIdxEntityRefKind Kind) argument
773 Loc = SourceLocation::getFromRawEncoding(baseInfo->loc.int_data); local
788 markEntityOccurrenceInFile(const NamedDecl *D, SourceLocation Loc) argument
884 translateLoc(SourceLocation Loc, CXIdxClientFile *indexFile, CXFile *file, unsigned *line, unsigned *column, unsigned *offset) argument
1128 getRefCursor(const NamedDecl *D, SourceLocation Loc) argument
[all...]
/external/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp481 const Location &Loc) override;
491 bool pointsToConstantMemory(const Location &Loc, bool OrLocal) override;
601 BasicAliasAnalysis::pointsToConstantMemory(const Location &Loc, bool OrLocal) { argument
606 Worklist.push_back(Loc.Ptr);
611 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
625 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
643 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
652 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal);
725 Location Loc = AliasAnalysis::getArgLocation(CS, ArgIdx, Mask); local
737 Loc
806 getModRefInfo(ImmutableCallSite CS, const Location &Loc) argument
[all...]
H A DMemoryDependenceAnalysis.cpp117 /// location, fill in Loc with the details, otherwise set Loc.Ptr to null.
122 AliasAnalysis::Location &Loc,
126 Loc = AA->getLocation(LI);
130 Loc = AA->getLocation(LI);
133 Loc = AliasAnalysis::Location();
139 Loc = AA->getLocation(SI);
143 Loc = AA->getLocation(SI);
146 Loc = AliasAnalysis::Location();
151 Loc
121 GetLocation(const Instruction *Inst, AliasAnalysis::Location &Loc, AliasAnalysis *AA) argument
211 AliasAnalysis::Location Loc; local
771 getNonLocalPointerDependency(const AliasAnalysis::Location &Loc, bool isLoad, BasicBlock *FromBB, SmallVectorImpl<NonLocalDepResult> &Result) argument
799 GetNonLocalInfoForBlock(const AliasAnalysis::Location &Loc, bool isLoad, BasicBlock *BB, NonLocalDepInfo *Cache, unsigned NumSortedEntries) argument
913 getNonLocalPointerDepFromBB(const PHITransAddr &Pointer, const AliasAnalysis::Location &Loc, bool isLoad, BasicBlock *StartBB, SmallVectorImpl<NonLocalDepResult> &Result, DenseMap<BasicBlock*, Value*> &Visited, bool SkipFirstBlock) argument
[all...]
/external/llvm/lib/CodeGen/
H A DBranchFolding.cpp1494 MachineBasicBlock::iterator Loc = MBB->getFirstTerminator(); local
1495 if (!TII->isUnpredicatedTerminator(Loc))
1498 for (unsigned i = 0, e = Loc->getNumOperands(); i != e; ++i) {
1499 const MachineOperand &MO = Loc->getOperand(i);
1522 return Loc;
1523 if (Loc == MBB->begin())
1528 MachineBasicBlock::iterator PI = Loc;
1538 return Loc;
1550 return Loc;
1612 MachineBasicBlock::iterator Loc local
[all...]
H A DLiveDebugVariables.cpp182 /// getLocationNo - Return the location number that matches Loc.
211 // Add a singular (Idx,Idx) -> Loc mapping.
377 OS << " Loc" << i << '=';
650 const MachineOperand &Loc = locations[LocNo]; local
652 if (!Loc.isReg()) {
658 if (TargetRegisterInfo::isVirtualRegister(Loc.getReg())) {
661 if (LIS.hasInterval(Loc.getReg())) {
662 LI = &LIS.getInterval(Loc.getReg());
673 unsigned Unit = *MCRegUnitIterator(Loc.getReg(), &TRI);
741 dbgs() << "Splitting Loc" << OldLocN
844 const MachineOperand *Loc = &locations[LocNo]; local
877 MachineOperand &Loc = locations[LocNo]; local
934 MachineOperand &Loc = locations[LocNo]; local
[all...]
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp352 /// isTargetNullPtr - Return whether the target pointer stored at Loc is null.
353 static bool isTargetNullPtr(ExecutionEngine *EE, void *Loc) { argument
356 if (*(i + (uint8_t*)Loc))
/external/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp464 SMLoc Loc = getLexer().getLoc(); local
466 return Error(Loc, "unexpected token");
470 SMLoc Loc = getLexer().getLoc(); local
472 return Error(Loc, "unexpected token");
479 SMLoc Loc = getLexer().getLoc(); local
481 return Error(Loc, "unexpected token");
486 SMLoc Loc = getLexer().getLoc(); local
488 return Error(Loc, "unexpected token");
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCCodeEmitter.cpp122 void EmitImmediate(const MCOperand &Disp, SMLoc Loc,
317 EmitImmediate(const MCOperand &DispOp, SMLoc Loc, unsigned Size, argument
381 Fixups.push_back(MCFixup::Create(CurByte, Expr, FixupKind, Loc));
/external/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp461 const DebugLoc &Loc = I->getDebugLoc(); local
462 if (Loc.isUnknown()) continue;
465 if (Loc.getLine() == 0) continue;
530 const DebugLoc &Loc = I->getDebugLoc(); local
531 if (Loc.isUnknown()) continue;
534 if (Loc.getLine() == 0) continue;
536 if (Line == Loc.getLine()) continue;
537 Line = Loc.getLine();
538 if (SP != getDISubprogram(Loc.getScope(*Ctx))) continue;
541 Lines.addLine(Loc
[all...]
/external/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp946 DebugLoc Loc; local
950 Loc = RI->getDebugLoc();
951 BI->setDebugLoc(Loc);
959 CreatedBranchToNormalDest->setDebugLoc(Loc);
/external/llvm/utils/FileCheck/
H A DFileCheck.cpp585 /// Loc - The location in the match file that the check string was specified.
586 SMLoc Loc; member in struct:CheckString
602 : Pat(P), Prefix(S), Loc(L), CheckTy(Ty) {}
720 static size_t SkipWord(StringRef Str, size_t Loc) { argument
721 while (Loc < Str.size() && IsPartOfWord(Str[Loc]))
722 ++Loc;
723 return Loc;
942 static void PrintCheckFailed(const SourceMgr &SM, const SMLoc &Loc, argument
946 SM.PrintMessage(Loc, SourceMg
[all...]
/external/clang/include/clang/AST/
H A DComment.h56 SourceLocation Loc; member in class:clang::comments::Comment
180 Loc = L;
198 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) {
224 SourceLocation getLocation() const LLVM_READONLY { return Loc; }
H A DDeclBase.h236 /// Loc - The location of this decl.
237 SourceLocation Loc; member in class:clang::Decl
316 Loc(L), DeclKind(DK), InvalidDecl(0),
365 SourceLocation getLocation() const { return Loc; }
366 void setLocation(SourceLocation L) { Loc = L; }
992 SourceLocation Loc; member in class:clang::PrettyStackTraceDecl
998 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {}
H A DDeclTemplate.h1519 void setPointOfInstantiation(SourceLocation Loc) { argument
1520 assert(Loc.isValid() && "point of instantiation must be valid!");
1521 PointOfInstantiation = Loc;
1609 void setExternLoc(SourceLocation Loc) { argument
1612 ExplicitInfo->ExternLoc = Loc;
1616 void setTemplateKeywordLoc(SourceLocation Loc) { argument
1619 ExplicitInfo->TemplateKeywordLoc = Loc;
2029 FriendTemplateDecl(DeclContext *DC, SourceLocation Loc, argument
2034 : Decl(Decl::FriendTemplate, DC, Loc),
2049 DeclContext *DC, SourceLocation Loc,
2190 ClassScopeFunctionSpecializationDecl(DeclContext *DC, SourceLocation Loc, CXXMethodDecl *FD, bool Args, TemplateArgumentListInfo TemplArgs) argument
2209 Create(ASTContext &C, DeclContext *DC, SourceLocation Loc, CXXMethodDecl *FD, bool HasExplicitTemplateArgs, TemplateArgumentListInfo TemplateArgs) argument
2374 setPointOfInstantiation(SourceLocation Loc) argument
2468 setExternLoc(SourceLocation Loc) argument
2475 setTemplateKeywordLoc(SourceLocation Loc) argument
[all...]

Completed in 4079 milliseconds

1234567891011>>