| /external/clang/lib/CodeGen/ |
| CGObjC.cpp | 650 SourceLocation Loc = PID->getLocStart(); 653 DeclRefExpr Base(Self, Self->getType(), VK_RValue, Loc); 658 DeclRefExpr Arg(ArgDecl, T, VK_LValue, Loc); 659 ObjCIvarRefExpr IvarRef(Ivar, Ivar->getType(), Loc, &Base, true, true); 669 Ivar->getType(), VK_RValue, OK_Ordinary, Loc); 673 Ivar->getType(), VK_RValue, OK_Ordinary, Loc); [all...] |
| /external/clang/lib/Parse/ |
| ParseDecl.cpp | 126 ConsumeParen(); // ignore the left paren loc for now 134 ConsumeParen(); // ignore the right paren loc for now 158 ConsumeParen(); // ignore the right paren loc for now 168 ConsumeParen(); // ignore the right paren loc for now 220 ConsumeParen(); // ignore the right paren loc for now 235 SourceLocation Loc = Tok.getLocation(); 240 *endLoc = Loc; 332 SourceLocation Loc = Tok.getLocation(); 339 PP.getIdentifierInfo("address_space"), Loc, 0); 345 PP.getIdentifierInfo("address_space"), Loc, LangAS::opencl_global) [all...] |
| /external/clang/lib/Sema/ |
| SemaTemplateDeduction.cpp | [all...] |
| SemaTemplateInstantiateDecl.cpp | [all...] |
| SemaChecking.cpp | [all...] |
| SemaType.cpp | 75 SourceLocation loc = attr.getLoc(); local 79 if (useInstantiationLoc && loc.isMacroID() && attr.getParameterName()) { 81 if (S.findMacroSpelling(loc, "__strong")) name = "__strong"; 83 if (S.findMacroSpelling(loc, "__weak")) name = "__weak"; 87 S.Diag(loc, diagID) << name << type; 549 SourceLocation loc = declarator.getSourceRange().getBegin(); 560 /*parens*/ loc, loc, [all...] |
| SemaCodeComplete.cpp | [all...] |
| SemaTemplate.cpp | 419 /// declaration at location Loc. Returns true to indicate that this is 421 bool Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) { 431 Diag(Loc, diag::err_template_param_shadow) 534 SourceLocation Loc = ParamNameLoc; 536 Loc = KeyLoc; 540 KeyLoc, Loc, Depth, Position, ParamName, 568 if (DiagnoseUnexpandedParameterPack(Loc, DefaultTInfo, 590 Sema::CheckNonTypeTemplateParameterType(QualType T, SourceLocation Loc) { 594 Diag(Loc, diag::err_variably_modified_nontype_template_param) 630 Diag(Loc, diag::err_template_nontype_parm_bad_type [all...] |
| /external/clang/lib/Serialization/ |
| ASTReaderDecl.cpp | [all...] |
| ASTWriter.cpp | [all...] |
| /external/clang/lib/StaticAnalyzer/Core/ |
| BugReporter.cpp | 212 const PathDiagnosticLocation &Loc = ExecutionContinues(N); 214 if (Loc.asStmt()) 216 << getSourceManager().getInstantiationLineNumber(Loc.asLocation()) 232 return Loc; 409 SVal X = PrevSt->getSVal(loc::MemRegionVal(R)); 451 if (Loc::isLocType(VD->getType())) { 925 SourceLocation Loc = (*CS->body_begin())->getLocStart(); 926 rawAddEdge(PathDiagnosticLocation(Loc, PDB.getSourceManager())); [all...] |
| ExprEngine.cpp | 124 SVal V = state->getSVal(loc::MemRegionVal(R)); 146 SVal V = state->getSVal(loc::MemRegionVal(R)); 148 if (const Loc *LV = dyn_cast<Loc>(&V)) { 406 Loc dest = state->getLValue(varDecl, pred->getLocationContext()); 409 VisitCXXDestructor(dtorDecl, cast<loc::MemRegionVal>(dest).getRegion(), 2702 SVal loc = state->getSVal(Ex); local [all...] |
| /external/clang/tools/c-index-test/ |
| c-index-test.c | 192 CXSourceLocation Loc; 196 Loc = clang_getCursorLocation(Ovl); 197 clang_getSpellingLocation(Loc, 0, &line, &column, 0); 202 CXSourceLocation Loc = clang_getCursorLocation(Referenced); 203 clang_getSpellingLocation(Loc, 0, &line, &column, 0); 259 CXSourceLocation Loc = clang_getCursorLocation(SpecializationOf); 261 clang_getSpellingLocation(Loc, 0, &line, &column, 0); 272 CXSourceLocation Loc = clang_getCursorLocation(overridden[I]); 273 clang_getSpellingLocation(Loc, 0, &line, &column, 0); 295 CXSourceLocation Loc = clang_getCursorLocation(Cursor) [all...] |
| /external/llvm/lib/MC/MCParser/ |
| AsmParser.cpp | 166 void PrintMessage(SMLoc Loc, const Twine &Msg, const char *Type, 168 SrcMgr.PrintMessage(Loc, Msg, Type, ShowLine); 174 /// \brief Reset the current lexer position to that given by \arg Loc. The 177 void JumpToLoc(SMLoc Loc); 257 AddDirectiveHandler<&GenericAsmParser::ParseDirectiveLoc>(".loc"); 416 void AsmParser::JumpToLoc(SMLoc Loc) { 417 CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); 418 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer), Loc.getPointer()); 621 SMLoc Loc = getTok().getLoc(); 635 return Error(Loc, "invalid reference to undefined symbol") [all...] |
| /external/llvm/lib/Target/ARM/ |
| ARMLoadStoreOptimizer.cpp | 404 MachineBasicBlock::iterator Loc = memOps[insertAfter].MBBI; 405 ++Loc; 406 if (!MergeOps(MBB, Loc, Offset, Base, BaseKill, Opcode, 411 Merges.push_back(prior(Loc)); 446 MachineBasicBlock::iterator Loc = MemOps[SIndex].MBBI; 447 DebugLoc dl = Loc->getDebugLoc(); 448 const MachineOperand &PMO = Loc->getOperand(0); 502 bool BaseKill = Loc->findRegisterUseOperandIdx(Base, true) != -1; [all...] |
| /external/llvm/lib/Transforms/Scalar/ |
| GVN.cpp | [all...] |
| ObjCARC.cpp | 631 virtual bool pointsToConstantMemory(const Location &Loc, bool OrLocal); 635 const Location &Loc); 689 ObjCARCAliasAnalysis::pointsToConstantMemory(const Location &Loc, 692 return AliasAnalysis::pointsToConstantMemory(Loc, OrLocal); 696 const Value *S = StripPointerCastsAndObjCCalls(Loc.Ptr); 697 if (AliasAnalysis::pointsToConstantMemory(Location(S, Loc.Size, Loc.TBAATag), 734 ObjCARCAliasAnalysis::getModRefInfo(ImmutableCallSite CS, const Location &Loc) { 736 return AliasAnalysis::getModRefInfo(CS, Loc); 754 return AliasAnalysis::getModRefInfo(CS, Loc); [all...] |
| /external/clang/include/clang/AST/ |
| Stmt.h | [all...] |
| Expr.h | 182 /// be warned about if the result is unused. If so, fill in Loc and Ranges 185 bool isUnusedResultAWarning(SourceLocation &Loc, SourceRange &R1, 226 /// \param Loc [in] [out] - A source location which *may* be filled 248 SourceLocation *Loc = 0) const; 335 /// \param Loc A source location that might be filled with a relevant location 337 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ 338 return ClassifyImpl(Ctx, &Loc); 376 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const; 403 /// valid i-c-e, return false and fill in Loc (if specified) with the location 406 SourceLocation *Loc = 0 [all...] |
| /external/clang/lib/AST/ |
| ASTImporter.cpp | 85 SourceLocation &Loc); 199 DiagnosticBuilder Diag1(SourceLocation Loc, unsigned DiagID) { 200 return C1.getDiagnostics().Report(Loc, DiagID); 203 DiagnosticBuilder Diag2(SourceLocation Loc, unsigned DiagID) { 204 return C2.getDiagnostics().Report(Loc, DiagID); [all...] |
| ExprConstant.cpp | [all...] |
| ASTContext.cpp | [all...] |
| /external/clang/include/clang/Sema/ |
| DeclSpec.h | 66 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } 67 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); } 527 void SetRangeStart(SourceLocation Loc) { Range.setBegin(Loc); } 528 void SetRangeEnd(SourceLocation Loc) { Range.setEnd(Loc); } 535 /// Diag(Loc, DiagID) << PrevSpec; 540 bool SetStorageClassSpec(SCS S, SourceLocation Loc, const char *&PrevSpec [all...] |
| /external/llvm/lib/VMCore/ |
| Core.cpp | [all...] |
| /external/clang/lib/Rewrite/ |
| RewriteObjC.cpp | 222 void InsertText(SourceLocation Loc, llvm::StringRef Str, 225 if (!Rewrite.InsertText(Loc, Str, InsertAfter) || 229 Diags.Report(Context->getFullLoc(Loc), RewriteFailedDiag); 692 SourceLocation Loc = D->getLocation(); 693 Loc = SM->getInstantiationLoc(Loc); 696 if (Loc.isInvalid()) return; 724 if (SM->isFromMainFile(Loc)) 4526 std::string::size_type loc = 0; local [all...] |