/external/clang/lib/Sema/ |
SemaExprObjC.cpp | 145 static bool validateBoxingMethod(Sema &S, SourceLocation Loc, 150 S.Diag(Loc, diag::err_undeclared_boxing_method) << Sel << Class->getName(); 157 S.Diag(Loc, diag::err_objc_literal_method_sig) 169 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc, 178 S.Diag(Loc, diag::err_invalid_nsnumber_type) 199 Loc, Sema::LookupOrdinaryName); 210 S.Diag(Loc, diag::err_undeclared_nsnumber); 214 S.Diag(Loc, diag::err_undeclared_nsnumber); 245 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method)) 1148 SourceLocation loc; local 3044 SourceLocation loc = local 3191 SourceLocation loc = local [all...] |
SemaStmt.cpp | 122 SourceLocation Loc; 129 Loc = Op->getOperatorLoc(); 137 Loc = Op->getOperatorLoc(); 147 if (S.SourceMgr.isMacroBodyExpansion(Loc)) 150 S.Diag(Loc, diag::warn_unused_comparison) 157 S.Diag(Loc, diag::note_inequality_comparison_to_or_assign) 158 << FixItHint::CreateReplacement(Loc, "|="); 160 S.Diag(Loc, diag::note_equality_comparison_to_assign) 161 << FixItHint::CreateReplacement(Loc, "="); 185 SourceLocation Loc; [all...] |
SemaTemplateInstantiateDecl.cpp | [all...] |
SemaCodeComplete.cpp | [all...] |
SemaInit.cpp | 342 SourceLocation Loc; 343 InitializationKind Kind = InitializationKind::CreateValue(Loc, Loc, Loc, 354 SourceLocation Loc = ILE->getLocStart(); 382 SemaRef.Diag(Loc, diag::err_init_reference_member_uninitialized) 391 InitializationKind Kind = InitializationKind::CreateValue(Loc, Loc, Loc, 434 SourceLocation Loc = ILE->getLocStart() [all...] |
SemaTemplate.cpp | 459 /// declaration at location Loc. Returns true to indicate that this is 461 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) { 471 Diag(Loc, diag::err_template_param_shadow) 544 SourceLocation Loc, 547 S, Name, Loc, Sema::LookupOrdinaryName, Sema::ForRedeclaration); 549 SemaRef.DiagnoseTemplateParameterShadow(Loc, PrevDecl); 573 SourceLocation Loc = ParamNameLoc; 575 Loc = KeyLoc; 579 KeyLoc, Loc, Depth, Position, ParamName, 609 if (DiagnoseUnexpandedParameterPack(Loc, DefaultTInfo [all...] |
SemaType.cpp | 80 SourceLocation loc = attr.getLoc(); local 84 if (useExpansionLoc && loc.isMacroID() && attr.getParameterName()) { 86 if (S.findMacroSpelling(loc, "__strong")) name = "__strong"; 88 if (S.findMacroSpelling(loc, "__weak")) name = "__weak"; 92 S.Diag(loc, diag::warn_type_attribute_wrong_type) << name << WhichType 676 SourceLocation loc = declarator.getLocStart(); 700 loc, loc, declarator)); [all...] |
SemaChecking.cpp | 709 SourceLocation Loc, 724 if (CheckFormatArguments(*I, Args, IsMemberFunction, CallType, Loc, 746 CheckNonNullArguments(*I, Args.data(), Loc); 763 SourceLocation Loc) { 767 /*IsMemberFunction=*/true, Loc, SourceRange(), CallType); [all...] |
/external/clang/lib/Serialization/ |
ASTReaderDecl.cpp | [all...] |
ASTWriter.cpp | [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
BugReporter.cpp | 344 const PathDiagnosticLocation &Loc = ExecutionContinues(N); 346 if (Loc.asStmt()) 348 << getSourceManager().getExpansionLineNumber(Loc.asLocation()) 364 return Loc; [all...] |
/external/llvm/lib/Target/X86/AsmParser/ |
X86AsmParser.cpp | 489 X86Operand *ErrorOperand(SMLoc Loc, StringRef Msg) { 490 Error(Loc, Msg); 934 static X86Operand *CreateToken(StringRef Str, SMLoc Loc) { 935 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); 936 X86Operand *Res = new X86Operand(Token, Loc, EndLoc); [all...] |
/external/clang/include/clang/AST/ |
Expr.h | 233 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc, 293 /// \param Loc [in,out] - A source location which *may* be filled 297 SourceLocation *Loc = 0) const; 384 /// \param Loc A source location that might be filled with a relevant location 386 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ 387 return ClassifyImpl(Ctx, &Loc); 425 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const; 480 /// valid i-c-e, return false and fill in Loc (if specified) with the location 486 SourceLocation *Loc = 0, 488 bool isIntegerConstantExpr(ASTContext &Ctx, SourceLocation *Loc = 0) const [all...] |
Stmt.h | 549 explicit CompoundStmt(SourceLocation Loc) 550 : Stmt(CompoundStmtClass), Body(0), LBracLoc(Loc), RBracLoc(Loc) { 807 AttributedStmt(SourceLocation Loc, ArrayRef<const Attr*> Attrs, Stmt *SubStmt) 808 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc), 819 static AttributedStmt *Create(ASTContext &C, SourceLocation Loc, [all...] |
/external/clang/lib/CodeGen/ |
CGDebugInfo.cpp | 99 void CGDebugInfo::setLocation(SourceLocation Loc) { 101 if (Loc.isInvalid()) return; 103 CurLoc = CGM.getContext().getSourceManager().getExpansionLoc(Loc); 270 llvm::DIFile CGDebugInfo::getOrCreateFile(SourceLocation Loc) { 271 if (!Loc.isValid()) 276 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 306 unsigned CGDebugInfo::getLineNumber(SourceLocation Loc) { 307 if (Loc.isInvalid() && CurLoc.isInvalid()) 310 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc) 2884 SourceLocation loc = blockDecl->getCaretLocation(); local [all...] |
CGExpr.cpp | 441 void CodeGenFunction::EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc, 507 EmitCheckSourceLocation(Loc), 566 EmitCheckSourceLocation(Loc), [all...] |
/external/clang/tools/c-index-test/ |
c-index-test.c | 616 CXSourceLocation Loc; 620 Loc = clang_getCursorLocation(Ovl); 621 clang_getSpellingLocation(Loc, 0, &line, &column, 0); 626 CXSourceLocation Loc = clang_getCursorLocation(Referenced); 627 clang_getSpellingLocation(Loc, 0, &line, &column, 0); 734 CXSourceLocation Loc = clang_getCursorLocation(SpecializationOf); 736 clang_getSpellingLocation(Loc, 0, &line, &column, 0); 749 CXSourceLocation Loc = clang_getCursorLocation(overridden[I]); 750 clang_getSpellingLocation(Loc, 0, &line, &column, 0); 838 CXSourceLocation Loc = clang_getCursorLocation(Cursor) [all...] |
/external/llvm/lib/MC/MCParser/ |
AsmParser.cpp | 298 void PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, 300 SrcMgr.PrintMessage(Loc, Kind, Msg, Ranges); 310 /// \brief Reset the current lexer position to that given by \p Loc. The 316 void JumpToLoc(SMLoc Loc, int InBuffer=-1); 379 // ".file", ".line", ".loc", ".stabs" 572 void AsmParser::JumpToLoc(SMLoc Loc, int InBuffer) { 576 CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); 578 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer), Loc.getPointer()); 809 SMLoc Loc = getTok().getLoc(); 833 return Error(Loc, "invalid reference to undefined symbol") [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
LoopVectorize.cpp | 186 Instruction *Loc); [all...] |
/external/clang/include/clang/Sema/ |
DeclSpec.h | 73 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } 74 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); } 576 void SetRangeStart(SourceLocation Loc) { Range.setBegin(Loc); } 577 void SetRangeEnd(SourceLocation Loc) { Range.setEnd(Loc); } 584 /// Diag(Loc, DiagID) << PrevSpec; 589 bool SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc, [all...] |
/external/clang/include/clang/Serialization/ |
ASTBitCodes.h | 181 unsigned Loc; 185 DeclOffset() : Loc(0), BitOffset(0) { } 186 DeclOffset(SourceLocation Loc, uint32_t BitOffset) 187 : Loc(Loc.getRawEncoding()), 190 Loc = L.getRawEncoding(); [all...] |
/external/clang/lib/AST/ |
ASTContext.cpp | [all...] |
/external/clang/lib/Rewrite/Frontend/ |
RewriteObjC.cpp | 246 void InsertText(SourceLocation Loc, StringRef Str, 249 if (!Rewrite.InsertText(Loc, Str, InsertAfter) || 253 Diags.Report(Context->getFullLoc(Loc), RewriteFailedDiag); 653 SourceLocation Loc = D->getLocation(); 654 Loc = SM->getExpansionLoc(Loc); 657 if (Loc.isInvalid()) return; 724 if (SM->isFromMainFile(Loc)) 3710 std::string::size_type loc = 0; local [all...] |
/external/clang/tools/libclang/ |
CIndex.cpp | 545 SourceLocation Loc = AU->mapLocationToPreamble(BeginLoc); 549 checkForMacroInMacroDefinition(MI, Loc, TU)) [all...] |
/external/llvm/lib/IR/ |
Core.cpp | [all...] |