/external/clang/lib/Basic/ |
H A D | DiagnosticIDs.cpp | 353 DiagnosticIDs::getDiagnosticLevel(unsigned DiagID, SourceLocation Loc, argument 361 return getDiagnosticLevel(DiagID, DiagClass, Loc, Diag); 368 /// \param Loc The source location we are interested in finding out the 372 SourceLocation Loc, 379 Pos = Diag.GetDiagStatePointForLoc(Loc); 464 Loc.isValid() && 466 Diag.getSourceManager().getExpansionLoc(Loc))) 371 getDiagnosticLevel(unsigned DiagID, unsigned DiagClass, SourceLocation Loc, const DiagnosticsEngine &Diag) const argument
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 182 SourceLocation Loc = SourceLocation::getFromRawEncoding(LocCookie); local 183 ((BackendConsumer*)Context)->InlineAsmDiagHandler2(SM, Loc); 235 FullSourceLoc Loc; local 237 Loc = ConvertBackendLocation(D, Context->getSourceManager()); 247 DiagnosticBuilder B = Diags.Report(Loc, diag::note_fe_inline_asm_here); 253 B << SourceRange(Loc.getLocWithOffset(Range.first - Column), 254 Loc.getLocWithOffset(Range.second - Column)); 261 // If Loc is invalid, we still need to report the error, it just gets no 263 Diags.Report(Loc, diag::err_fe_inline_asm).AddString(Message); 388 SourceLocation Loc local [all...] |
/external/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 119 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 122 virtual void Ident(SourceLocation Loc, const std::string &str); 123 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, 125 virtual void PragmaMessage(SourceLocation Loc, StringRef Str); 126 virtual void PragmaDiagnosticPush(SourceLocation Loc, 128 virtual void PragmaDiagnosticPop(SourceLocation Loc, 130 virtual void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, 134 bool MoveToLine(SourceLocation Loc) { argument 135 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 236 void PrintPPOutputPPCallbacks::FileChanged(SourceLocation Loc, argument 292 Ident(SourceLocation Loc, const std::string &S) argument 323 PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, const std::string &Str) argument 349 PragmaMessage(SourceLocation Loc, StringRef Str) argument 373 PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) argument 380 PragmaDiagnosticPop(SourceLocation Loc, StringRef Namespace) argument 387 PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, diag::Mapping Map, StringRef Str) argument [all...] |
/external/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 300 SourceLocation Loc = local 303 Identifier.setLocation(Loc); 916 SourceLocation Loc = Tok.getLocation(); local 920 Loc = AdvanceToTokenCharacter(Loc, 0); 927 Loc = SourceMgr.getExpansionRange(Loc).second; 928 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc);
|
H A D | Preprocessor.cpp | 206 void Preprocessor::DumpLocation(SourceLocation Loc) const { 207 Loc.dump(SourceMgr); 372 SourceLocation Loc = ScratchBuf->getToken(Buf, Len, DestPtr); local 375 Loc = SourceMgr.createExpansionLoc(Loc, ExpansionLocStart, 377 Tok.setLocation(Loc);
|
/external/clang/lib/Parse/ |
H A D | ParseTemplate.cpp | 1020 SourceLocation Loc = Tok.getLocation(); local 1028 Loc); 1047 SourceLocation Loc = Tok.getLocation(); local 1053 ExprArg.release(), Loc);
|
/external/clang/lib/Sema/ |
H A D | DeclSpec.cpp | 32 static DiagnosticBuilder Diag(DiagnosticsEngine &D, SourceLocation Loc, argument 34 return D.Report(Loc, DiagID); 172 I.Loc = LocalRangeBegin; 423 bool DeclSpec::SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc, argument 452 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID); 470 StorageClassSpecLoc = Loc; 475 bool DeclSpec::SetStorageClassSpecThread(SourceLocation Loc, argument 484 SCS_threadLoc = Loc; 491 bool DeclSpec::SetTypeSpecWidth(TSW W, SourceLocation Loc, argument 497 TSWLoc = Loc; 511 SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 521 SetTypeSpecSign(TSS S, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 531 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep) argument 558 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Expr *Rep) argument 577 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned) argument 605 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 631 SetTypeAltiVecVector(bool isAltiVecVector, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 643 SetTypeAltiVecPixel(bool isAltiVecPixel, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 665 SetTypeQual(TQ T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const LangOptions &Lang) argument 681 SetFunctionSpecInline(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 689 SetFunctionSpecVirtual(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 697 SetFunctionSpecExplicit(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 705 SetFriendSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 718 setModulePrivateSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 730 SetConstexprSpec(SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) argument 965 SetSpecifier(Specifier VS, SourceLocation Loc, const char *&PrevSpec) argument [all...] |
H A D | SemaExceptionSpec.cpp | 100 Sema::ResolveExceptionSpec(SourceLocation Loc, const FunctionProtoType *FPT) { argument 114 InstantiateExceptionSpec(Loc, SourceDecl);
|
H A D | SemaLambda.cpp | 299 PrevCaptureLoc = C->Loc, ++C) { 305 Diag(C->Loc, diag::err_capture_more_than_once) 309 SourceRange(PP.getLocForEndOfToken(PrevCaptureLoc), C->Loc)); 317 Diag(C->Loc, diag::err_this_capture_with_copy_default) 319 SourceRange(PP.getLocForEndOfToken(PrevCaptureLoc), C->Loc)); 328 Diag(C->Loc, diag::err_this_capture) << true; 332 CheckCXXThisCapture(C->Loc, /*Explicit=*/true); 344 Diag(C->Loc, diag::err_reference_capture_with_reference_default) 346 SourceRange(PP.getLocForEndOfToken(PrevCaptureLoc), C->Loc)); 349 Diag(C->Loc, dia 477 SourceLocation Loc = IntroducerRange.getBegin(); local 549 SourceLocation Loc = IntroducerRange.getBegin(); local [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | HTMLDiagnostics.cpp | 473 SourceLocation Loc = local 476 R.InsertTextBefore(Loc, os.str());
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 178 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); local 179 if (Loc.isValid()) { 186 llvm::errs() << ": " << Loc.getFilename(); 192 llvm::errs() << ' ' << "block(line:" << Loc.getLine() << ",col:" 193 << Loc.getColumn() << '\n';
|
/external/clang/tools/libclang/ |
H A D | CIndexDiagnostic.cpp | 48 CXSourceLocation Loc; member in class:__anon4319::CXDiagnosticCustomNoteImpl 52 Message(Msg), Loc(L) {} 61 return Loc; 115 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, argument 123 CXSourceLocation L = translateSourceLocation(SM, LangOpts, Loc); 128 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, argument 132 virtual void emitCodeContext(SourceLocation Loc, argument 137 virtual void emitNote(SourceLocation Loc, StringRef Message) { argument 138 CXSourceLocation L = translateSourceLocation(SM, LangOpts, Loc);
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.h | 59 LLLexer::LocTy Loc; member in struct:llvm::ValID 104 SMLoc Loc; member in struct:llvm::LLParser::MDRef 147 GlobalValue *GetGlobalVal(const std::string &N, Type *Ty, LocTy Loc); 148 GlobalValue *GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc); 157 bool ParseOptionalToken(lltok::Kind T, bool &Present, LocTy *Loc = 0) { 161 if (Loc) 162 *Loc = Lex.getLoc(); 170 bool ParseUInt32(unsigned &Val, LocTy &Loc) { argument 171 Loc = Lex.getLoc(); 210 bool ParseGlobal(const std::string &Name, LocTy Loc, unsigne 221 ParseType(Type *&Result, LocTy &Loc, bool AllowVoid = false) argument 283 ParseValue(Type *Ty, Value *&V, LocTy &Loc, PerFunctionState &PFS) argument 293 ParseTypeAndValue(Value *&V, LocTy &Loc, PerFunctionState &PFS) argument 300 LocTy Loc; local 306 LocTy Loc; member in struct:llvm::LLParser::ParamInfo 327 LocTy Loc; member in struct:llvm::LLParser::ArgInfo [all...] |
/external/llvm/lib/CodeGen/ |
H A D | TailDuplication.cpp | 797 MachineBasicBlock::iterator Loc = PredBB->getFirstTerminator(); local 799 Copies.push_back(BuildMI(*PredBB, Loc, DebugLoc(), 858 MachineBasicBlock::iterator Loc = PrevBB->getFirstTerminator(); local 860 Copies.push_back(BuildMI(*PrevBB, Loc, DebugLoc(), 919 MachineBasicBlock::iterator Loc = PredBB->getFirstTerminator(); local 921 Copies.push_back(BuildMI(*PredBB, Loc, DebugLoc(),
|
/external/llvm/lib/MC/MCParser/ |
H A D | DarwinAsmParser.cpp | 410 SMLoc Loc = getLexer().getLoc(); local 414 return Error(Loc, "expected identifier after '.section' directive"); 443 return Error(Loc, ErrorStr.c_str());
|
/external/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 465 AliasAnalysis::Location Loc = AA.getLocation(Load); local 466 if (AA.canInstructionRangeModify(BB->front(), *Load, Loc)) 477 if (AA.canBasicBlockModify(**I, Loc))
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | DeadStoreElimination.cpp | 174 AliasAnalysis::Location Loc = AA.getLocationForDest(MI); local 178 if (Loc.Size == AliasAnalysis::UnknownSize && AA.getTargetData() == 0) 180 return Loc; 524 AliasAnalysis::Location Loc = getLocForWrite(Inst, *AA); local 527 if (Loc.Ptr == 0) 532 // skip any instructions that 'Loc' clearly doesn't interact with. If we 545 // completely obliterated by the store to 'Loc', and c) which we know that 548 !isPossibleSelfRead(Inst, Loc, DepWrite, *AA)) { 550 OverwriteResult OR = isOverwrite(Loc, DepLoc, *AA, 605 // Can't look past this instruction if it might read 'Loc' 642 AliasAnalysis::Location Loc = AliasAnalysis::Location(F->getOperand(0)); local [all...] |
/external/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 663 BasicBlock::iterator Loc= Instr; local 664 BasicBlock *Next = Curr->splitBasicBlock(Loc, "CF");
|
/external/clang/include/clang/AST/ |
H A D | TypeLoc.h | 133 void initialize(ASTContext &Context, SourceLocation Loc) const { 134 initializeImpl(Context, *this, Loc); 166 SourceLocation Loc); 215 void initializeLocal(ASTContext &Context, SourceLocation Loc) { argument 409 void setNameLoc(SourceLocation Loc) { argument 410 this->getLocalData()->NameLoc = Loc; 415 void initializeLocal(ASTContext &Context, SourceLocation Loc) { argument 416 setNameLoc(Loc); 439 void setBuiltinLoc(SourceLocation Loc) { argument 440 getLocalData()->BuiltinLoc = Loc; 516 initializeLocal(ASTContext &Context, SourceLocation Loc) argument 769 setLAngleLoc(SourceLocation Loc) argument 776 setRAngleLoc(SourceLocation Loc) argument [all...] |
/external/clang/include/clang/Lex/ |
H A D | PreprocessingRecord.h | 309 SourceLocation Loc; member in class:clang::PreprocessingRecord::CondDirectiveLoc 313 CondDirectiveLoc(SourceLocation Loc, unsigned Idx) : Loc(Loc), Idx(Idx) {} argument 315 SourceLocation getLoc() const { return Loc; } 340 unsigned findCondDirectiveIdx(SourceLocation Loc) const; 378 unsigned findBeginLocalPreprocessedEntity(SourceLocation Loc) const; 379 unsigned findEndLocalPreprocessedEntity(SourceLocation Loc) const; 604 virtual void If(SourceLocation Loc, SourceRange ConditionRange); 605 virtual void Elif(SourceLocation Loc, SourceRang [all...] |
/external/clang/include/clang/Sema/ |
H A D | Overload.h | 733 SourceLocation Loc; member in class:clang::OverloadCandidateSet 742 OverloadCandidateSet(SourceLocation Loc) : Loc(Loc), NumInlineSequences(0){} argument 749 SourceLocation getLocation() const { return Loc; } 795 OverloadingResult BestViableFunction(Sema &S, SourceLocation Loc, 803 SourceLocation Loc = SourceLocation()); 809 SourceLocation Loc,
|
/external/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 310 unsigned Loc; member in struct:clang::ASTWriter::ReplacedDeclInfo 312 ReplacedDeclInfo() : ID(0), Offset(0), Loc(0) {} 314 SourceLocation Loc) 315 : ID(ID), Offset(Offset), Loc(Loc.getRawEncoding()) {} 478 void AddSourceLocation(SourceLocation Loc, RecordDataImpl &Record); 629 serialization::SubmoduleID inferSubmoduleIDFromLocation(SourceLocation Loc); 313 ReplacedDeclInfo(serialization::DeclID ID, uint64_t Offset, SourceLocation Loc) argument
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | PathDiagnostic.h | 107 FullSourceLoc Loc; member in class:clang::ento::PathDiagnosticLocation 113 Loc(genLocation(L)), Range(genRange()) { 114 assert(Loc.isValid()); 135 Loc(genLocation(SourceLocation(), lac)), 138 assert(Loc.isValid()); 145 Loc(genLocation()), Range(genRange()) { 147 assert(Loc.isValid()); 210 return K == X.K && Loc == X.Loc && Range == X.Range; 222 return Loc; [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ExplodedGraph.h | 153 const ProgramPoint &Loc, 156 ID.Add(Loc); 152 Profile(llvm::FoldingSetNodeID &ID, const ProgramPoint &Loc, ProgramStateRef state, bool IsSink) argument
|
H A D | SymbolManager.h | 573 const Stmt *Loc; member in class:clang::ento::SymbolReaper 581 : LCtx(ctx), Loc(s), SymMgr(symmgr), reapedStore(0, storeMgr) {} 586 const Stmt *getCurrentStatement() const { return Loc; }
|