/external/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 125 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 128 virtual void Ident(SourceLocation Loc, const std::string &str); 129 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, 131 virtual void PragmaMessage(SourceLocation Loc, StringRef Str); 132 virtual void PragmaDiagnosticPush(SourceLocation Loc, 134 virtual void PragmaDiagnosticPop(SourceLocation Loc, 136 virtual void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, 140 bool MoveToLine(SourceLocation Loc) { argument 141 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 350 PragmaMessage(SourceLocation Loc, StringRef Str) argument 375 PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) argument 383 PragmaDiagnosticPop(SourceLocation Loc, StringRef Namespace) argument 391 PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, diag::Mapping Map, StringRef Str) argument [all...] |
H A D | SerializedDiagnosticPrinter.cpp | 61 virtual void emitDiagnosticMessage(SourceLocation Loc, 69 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, argument 74 virtual void emitNote(SourceLocation Loc, StringRef Message, 77 virtual void emitCodeContext(SourceLocation Loc, 132 void EmitDiagnosticMessage(SourceLocation Loc, 158 void AddLocToRecord(SourceLocation Loc, const SourceManager *SM, 163 void AddLocToRecord(SourceLocation Loc, RecordDataImpl &Record, argument 166 AddLocToRecord(Loc, SM, SM ? SM->getPresumedLoc(Loc) : PresumedLoc(), 263 void SDiagsWriter::AddLocToRecord(SourceLocation Loc, argument 530 EmitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, const SourceManager *SM, DiagOrStoredDiag D) argument 558 emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, ArrayRef<clang::CharSourceRange> Ranges, const SourceManager *SM, DiagOrStoredDiag D) argument 614 emitCodeContext(SourceLocation Loc, DiagnosticsEngine::Level Level, SmallVectorImpl<CharSourceRange> &Ranges, ArrayRef<FixItHint> Hints, const SourceManager &SM) argument 622 emitNote(SourceLocation Loc, StringRef Message, const SourceManager *SM) argument [all...] |
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 60 return Error(MDList[i].Loc, "use of undefined metadata '!" + 81 return Error(Fn.Loc, "unknown function referenced by blockaddress"); 134 Res = PFS->GetBB(Refs[i].first.StrVal, Refs[i].first.Loc); 136 Res = PFS->GetBB(Refs[i].first.UIntVal, Refs[i].first.Loc); 138 return Error(Refs[i].first.Loc, 146 return Error(Refs[i].first.Loc, 748 LocTy Loc) { 751 Error(Loc, "global variable reference must have pointer type"); 771 Error(Loc, "'@" + Name + "' defined with type '" + 784 ForwardRefVals[Name] = std::make_pair(FwdVal, Loc); 747 GetGlobalVal(const std::string &Name, Type *Ty, LocTy Loc) argument 788 GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc) argument [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SValBuilder.h | 55 virtual SVal evalCastFromLoc(Loc val, QualType castTy) = 0; 99 Loc lhs, Loc rhs, QualType resultTy) = 0; 105 Loc lhs, NonLoc rhs, QualType resultTy) = 0; 250 if (Loc::isLocType(type)) 265 NonLoc makeLocAsInteger(Loc loc, unsigned bits) { 289 Loc makeNull() { 293 Loc makeLoc(SymbolRef sym) { 297 Loc makeLoc(const MemRegion* region) { 301 Loc makeLo [all...] |
/external/clang/lib/ARCMigrate/ |
H A D | TransARCAssign.cpp | 48 SourceLocation Loc = OrigLoc; local 52 Expr::isModifiableLvalueResult IsLV = E->isModifiableLvalue(Ctx, &Loc);
|
H A D | PlistReporter.cpp | 50 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM)); 54 extend ? Lexer::MeasureTokenLength(Loc, SM, LangOpts) - 1 : 0; 58 << Loc.getExpansionLineNumber() << "</integer>\n"; 60 << Loc.getExpansionColumnNumber() + offset << "</integer>\n"; 62 << GetFID(FM, SM, Loc) << "</integer>\n";
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | TraversalChecker.cpp | 47 SourceLocation Loc = Parent->getLocStart(); local 48 llvm::outs() << C.getSourceManager().getSpellingLineNumber(Loc) << " "
|
/external/llvm/include/llvm/Analysis/ |
H A D | LibCallAliasAnalysis.h | 41 const Location &Loc); 69 const Location &Loc);
|
/external/llvm/lib/TableGen/ |
H A D | TGParser.h | 38 SMLoc Loc; member in struct:llvm::LetRecord 41 : Name(N), Bits(B), Value(V), Loc(L) { 104 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV); 105 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName, 107 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName, argument 109 return SetValue(TheRec, Loc, StringInit::get(ValName), BitList, V); 126 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc); 127 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals);
|
/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/lib/Edit/ |
H A D | Commit.cpp | 20 SourceLocation Loc = SM.getLocForStartOfFile(Offset.getFID()); local 21 Loc = Loc.getLocWithOffset(Offset.getOffset()); 22 assert(Loc.isFileID()); 23 return Loc; 27 SourceLocation Loc = getFileLocation(SM); local 28 return CharSourceRange::getCharRange(Loc, Loc.getLocWithOffset(Length)); 32 SourceLocation Loc = SM.getLocForStartOfFile(InsertFromRangeOffs.getFID()); local 33 Loc [all...] |
/external/clang/include/clang/AST/ |
H A D | DependentDiagnostic.h | 41 SourceLocation Loc, 49 DD->AccessData.Loc = Loc.getRawEncoding(); 74 return SourceLocation::getFromRawEncoding(AccessData.Loc); 113 unsigned Loc; member in struct:clang::DependentDiagnostic::__anon3276::__anon3277 38 Create(ASTContext &Context, DeclContext *Parent, AccessNonce _, SourceLocation Loc, bool IsMemberAccess, AccessSpecifier AS, NamedDecl *TargetDecl, CXXRecordDecl *NamingClass, QualType BaseObjectType, const PartialDiagnostic &PDiag) argument
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
H A D | PathDiagnostic.h | 133 FullSourceLoc Loc; member in class:clang::ento::PathDiagnosticLocation 139 Loc(genLocation(L)), Range(genRange()) { 140 assert(Loc.isValid()); 161 Loc(genLocation(SourceLocation(), lac)), 164 assert(Loc.isValid()); 171 Loc(genLocation()), Range(genRange()) { 173 assert(Loc.isValid()); 181 : K(SingleLocK), S(0), D(0), SM(&sm), Loc(loc, sm), Range(genRange()) { 182 assert(Loc.isValid()); 253 return K == X.K && Loc 659 PathDiagnosticLocation Loc; member in class:clang::ento::PathDiagnostic [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CoreEngine.cpp | 228 void CoreEngine::dispatchWorkItem(ExplodedNode* Pred, ProgramPoint Loc, argument 231 switch (Loc.getKind()) { 233 HandleBlockEdge(cast<BlockEdge>(Loc), Pred); 237 HandleBlockEntrance(cast<BlockEntrance>(Loc), Pred); 245 CallEnter CEnter = cast<CallEnter>(Loc); 262 assert(isa<PostStmt>(Loc) || 263 isa<PostInitializer>(Loc) || 264 isa<PostImplicitCall>(Loc) || 265 isa<CallExitEnd>(Loc)); 474 void CoreEngine::generateNode(const ProgramPoint &Loc, argument 585 generateNodeImpl(const ProgramPoint &Loc, ProgramStateRef State, ExplodedNode *FromN, bool MarkAsSink) argument [all...] |
/external/llvm/lib/ExecutionEngine/IntelJITEvents/ |
H A D | IntelJITEventListener.cpp | 62 DebugLoc Loc) { 66 Result.LineNumber = Loc.getLine(); 110 DebugLoc FirstLoc = Details.LineStarts[0].Loc; 135 I->Loc)); 140 MDNode *scope = I->Loc.getScope( 59 LineStartToIntelJITFormat( uintptr_t StartAddress, uintptr_t Address, DebugLoc Loc) argument
|
/external/llvm/lib/ExecutionEngine/OProfileJIT/ |
H A D | OProfileJITEventListener.cpp | 80 uintptr_t Address, DebugLoc Loc) { 83 Result.lineno = Loc.getLine(); 85 Loc.getScope(MF.getFunction()->getContext())); 114 DebugLoc FirstLoc = Details.LineStarts[0].Loc; 135 *Details.MF, Filenames, I->Address, I->Loc)); 78 LineStartToOProfileFormat( const MachineFunction &MF, FilenameCache &Filenames, uintptr_t Address, DebugLoc Loc) argument
|
/external/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 233 /// 'Loc' can be null if the point represents the diagnostic state 237 FullSourceLoc Loc; member in struct:clang::DiagnosticsEngine::DiagStatePoint 238 DiagStatePoint(DiagState *State, FullSourceLoc Loc) argument 239 : State(State), Loc(Loc) { } 242 // If Loc is invalid it means it came from <command-line>, in which case 244 if (RHS.Loc.isInvalid()) 246 if (Loc.isInvalid()) 248 return Loc.isBeforeInTranslationUnitThan(RHS.Loc); [all...] |
/external/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 79 void DiagnosticsEngine::pushMappings(SourceLocation Loc) { argument 83 bool DiagnosticsEngine::popMappings(SourceLocation Loc) { argument 89 PushDiagStatePoint(DiagStateOnPushStack.back(), Loc); 145 assert(DiagStatePoints.front().Loc.isInvalid() && 151 FullSourceLoc Loc(L, *SourceMgr); 152 if (Loc.isInvalid()) 156 FullSourceLoc LastStateChangePos = DiagStatePoints.back().Loc; 158 Loc.isBeforeInTranslationUnitThan(LastStateChangePos)) 160 DiagStatePoint(0, Loc)); 175 FullSourceLoc Loc local 233 setDiagnosticGroupMapping( StringRef Group, diag::Mapping Map, SourceLocation Loc) argument 342 setMappingToAllDiagnostics(diag::Mapping Map, SourceLocation Loc) argument 953 StoredDiagnostic(DiagnosticsEngine::Level Level, unsigned ID, StringRef Message, FullSourceLoc Loc, ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Fixits) argument [all...] |
/external/clang/lib/Sema/ |
H A D | SemaLambda.cpp | 448 PrevCaptureLoc = C->Loc, ++C) { 454 Diag(C->Loc, diag::err_capture_more_than_once) 458 SourceRange(PP.getLocForEndOfToken(PrevCaptureLoc), C->Loc)); 466 Diag(C->Loc, diag::err_this_capture_with_copy_default) 468 SourceRange(PP.getLocForEndOfToken(PrevCaptureLoc), C->Loc)); 477 Diag(C->Loc, diag::err_this_capture) << true; 481 CheckCXXThisCapture(C->Loc, /*Explicit=*/true); 493 Diag(C->Loc, diag::err_reference_capture_with_reference_default) 495 SourceRange(PP.getLocForEndOfToken(PrevCaptureLoc), C->Loc)); 498 Diag(C->Loc, dia 630 SourceLocation Loc = IntroducerRange.getBegin(); local 702 SourceLocation Loc = IntroducerRange.getBegin(); local [all...] |
H A D | SemaType.cpp | 960 SourceLocation Loc; local 962 Loc = DS.getConstSpecLoc(); 964 Loc = DS.getVolatileSpecLoc(); 968 Loc = DS.getRestrictSpecLoc(); 970 S.Diag(Loc, diag::warn_typecheck_function_qualifiers) 1019 QualType Sema::BuildQualifiedType(QualType T, SourceLocation Loc, argument 1050 Diag(Loc, DiagID) << ProblemTy; 1119 /// \param Loc The location of the entity whose type involves this 1129 SourceLocation Loc, DeclarationName Entity) { 1132 Diag(Loc, dia 1128 BuildPointerType(QualType T, SourceLocation Loc, DeclarationName Entity) argument 1160 BuildReferenceType(QualType T, bool SpelledAsLValue, SourceLocation Loc, DeclarationName Entity) argument 1215 diagnoseNotICE(Sema &S, SourceLocation Loc, SourceRange SR) argument 1218 diagnoseFold(Sema &S, SourceLocation Loc, SourceRange SR) argument 1247 SourceLocation Loc = Brackets.getBegin(); local 1491 BuildFunctionType(QualType T, QualType *ParamTypes, unsigned NumParamTypes, bool Variadic, bool HasTrailingReturn, unsigned Quals, RefQualifierKind RefQualifier, SourceLocation Loc, DeclarationName Entity, FunctionType::ExtInfo Info) argument 1551 BuildMemberPointerType(QualType T, QualType Class, SourceLocation Loc, DeclarationName Entity) argument 1608 BuildBlockPointerType(QualType T, SourceLocation Loc, DeclarationName Entity) argument 1746 SourceLocation Loc; local 2689 SourceLocation Loc = D.getLocStart(); local 3382 ActOnObjCInstanceType(SourceLocation Loc) argument 4292 diagnose(Sema &S, SourceLocation Loc, QualType T) argument 4321 RequireCompleteType(SourceLocation Loc, QualType T, TypeDiagnoser &Diagnoser) argument 4429 RequireCompleteType(SourceLocation Loc, QualType T, unsigned DiagID) argument 4467 RequireLiteralType(SourceLocation Loc, QualType T, TypeDiagnoser &Diagnoser) argument 4549 RequireLiteralType(SourceLocation Loc, QualType T, unsigned DiagID) argument 4571 BuildTypeofExprType(Expr *E, SourceLocation Loc) argument 4645 BuildDecltypeType(Expr *E, SourceLocation Loc) argument 4653 BuildUnaryTransformType(QualType BaseType, UnaryTransformType::UTTKind UKind, SourceLocation Loc) argument 4677 BuildAtomicType(QualType T, SourceLocation Loc) argument [all...] |
/external/llvm/lib/Object/ |
H A D | Archive.cpp | 203 const char *Loc = Data->getBufferStart() + strlen(Magic); local 205 ToHeader(Loc)->getSize(); 206 Child c(this, StringRef(Loc, Size)); 208 if (skip_internal && isInternalMember(*ToHeader(Loc))) 237 const char *Loc = Parent->getData().begin() + offset; local 239 ToHeader(Loc)->getSize(); 240 Result = Child(Parent, StringRef(Loc, Size));
|
/external/llvm/lib/Analysis/ |
H A D | MemoryDependenceAnalysis.cpp | 115 /// location, fill in Loc with the details, otherwise set Loc.Ptr to null. 120 AliasAnalysis::Location &Loc, 124 Loc = AA->getLocation(LI); 127 Loc = AA->getLocation(LI); 130 Loc = AliasAnalysis::Location(); 136 Loc = AA->getLocation(SI); 139 Loc = AA->getLocation(SI); 142 Loc = AliasAnalysis::Location(); 147 Loc 119 GetLocation(const Instruction *Inst, AliasAnalysis::Location &Loc, AliasAnalysis *AA) argument 207 AliasAnalysis::Location Loc; local 750 getNonLocalPointerDependency(const AliasAnalysis::Location &Loc, bool isLoad, BasicBlock *FromBB, SmallVectorImpl<NonLocalDepResult> &Result) argument 778 GetNonLocalInfoForBlock(const AliasAnalysis::Location &Loc, bool isLoad, BasicBlock *BB, NonLocalDepInfo *Cache, unsigned NumSortedEntries) argument 892 getNonLocalPointerDepFromBB(const PHITransAddr &Pointer, const AliasAnalysis::Location &Loc, bool isLoad, BasicBlock *StartBB, SmallVectorImpl<NonLocalDepResult> &Result, DenseMap<BasicBlock*, Value*> &Visited, bool SkipFirstBlock) argument [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGDebugInfo.h | 166 void CreateLexicalBlock(SourceLocation Loc); 176 void setLocation(SourceLocation Loc); 180 void EmitLocation(CGBuilderTy &Builder, SourceLocation Loc); 192 void EmitLexicalBlockStart(CGBuilderTy &Builder, SourceLocation Loc); 196 void EmitLexicalBlockEnd(CGBuilderTy &Builder, SourceLocation Loc); 237 SourceLocation Loc); 267 llvm::DIFile getOrCreateFile(SourceLocation Loc); 316 unsigned getLineNumber(SourceLocation Loc); 320 unsigned getColumnNumber(SourceLocation Loc);
|
/external/llvm/lib/CodeGen/ |
H A D | LiveDebugVariables.cpp | 176 /// getLocationNo - Return the location number that matches Loc. 205 // Add a singular (Idx,Idx) -> Loc mapping. 365 OS << " Loc" << i << '='; 636 const MachineOperand &Loc = locations[LocNo]; local 638 if (!Loc.isReg()) { 644 if (TargetRegisterInfo::isVirtualRegister(Loc.getReg())) { 647 if (LIS.hasInterval(Loc.getReg())) { 648 LI = &LIS.getInterval(Loc.getReg()); 659 unsigned Unit = *MCRegUnitIterator(Loc.getReg(), &TRI); 722 MachineOperand &Loc local 865 const MachineOperand *Loc = &locations[LocNo]; local 898 MachineOperand &Loc = locations[LocNo]; local 955 MachineOperand &Loc = locations[LocNo]; local [all...] |
/external/clang/tools/libclang/ |
H A D | CXLoadedDiagnostic.cpp | 94 CXSourceLocation Loc = { { (void*) V, 0 }, 0 }; local 95 return Loc; 169 const Location &Loc = *((Location*)V); 172 *file = Loc.file; 174 *line = Loc.line; 176 *column = Loc.column; 178 *offset = Loc.offset; 243 CXLoadedDiagnostic::Location &Loc); 494 CXLoadedDiagnostic::Location &Loc) { 503 Loc 492 readLocation(CXLoadedDiagnosticSetImpl &TopDiags, RecordData &Record, unsigned &offset, CXLoadedDiagnostic::Location &Loc) argument [all...] |