Searched refs:Loc (Results 126 - 150 of 419) sorted by relevance

1234567891011>>

/external/clang/lib/Parse/
H A DParseDecl.cpp186 SourceLocation Loc = Tok.getLocation(); local
190 *endLoc = Loc;
1243 SourceLocation Loc = Tok.getLocation(); local
1245 CharSourceRange AttrRange(SourceRange(Loc, Attrs.Range.getEnd()), true);
1247 Diag(Loc, diag::err_attributes_not_allowed)
1695 SourceLocation Loc; local
1696 ExprResult AsmLabel(ParseSimpleAsm(&Loc));
1703 D.SetRangeEnd(Loc);
2027 SourceLocation Loc = Tok.getLocation(); local
2094 Diag(Loc, dia
2450 SourceLocation Loc = Tok.getLocation(); local
3831 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); local
4388 SourceLocation Loc = Tok.getLocation(); local
4552 SourceLocation Loc = ConsumeToken(); local
4581 SourceLocation Loc = ConsumeToken(); // Eat the *, ^, & or &&. local
4671 getMissingDeclaratorIdLoc(Declarator &D, SourceLocation Loc) argument
4868 SourceLocation Loc = D.getCXXScopeSpec().getEndLoc(); local
5812 TryAltiVecTokenOutOfLine(DeclSpec &DS, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, bool &isInvalid) argument
[all...]
H A DParseStmtAsm.cpp49 ClangAsmParserCallback(Parser &P, SourceLocation Loc, StringRef AsmString, argument
51 : TheParser(P), AsmLoc(Loc), AsmString(AsmString), AsmToks(Toks),
154 SourceLocation Loc = AsmLoc; local
157 Loc = Tok.getLocation();
158 Loc = Loc.getLocWithOffset(Offset - TokOffset);
160 TheParser.Diag(Loc, diag::err_inline_ms_asm_parsing) << D.getMessage();
592 SourceLocation Loc = Tok.getLocation();
597 Diag(Loc, diag::w_asm_qualifier_ignored) << "const";
599 Diag(Loc, dia
[all...]
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp74 DebugLoc Loc) {
78 Result.LineNumber = Loc.getLine();
133 DebugLoc FirstLoc = Details.LineStarts[0].Loc;
158 I->Loc));
163 MDNode *scope = I->Loc.getScope(
71 LineStartToIntelJITFormat( uintptr_t StartAddress, uintptr_t Address, DebugLoc Loc) argument
/external/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp86 uintptr_t Address, DebugLoc Loc) {
89 Result.lineno = Loc.getLine();
91 Loc.getScope(MF.getFunction()->getContext()));
120 DebugLoc FirstLoc = Details.LineStarts[0].Loc;
141 *Details.MF, Filenames, I->Address, I->Loc));
84 LineStartToOProfileFormat( const MachineFunction &MF, FilenameCache &Filenames, uintptr_t Address, DebugLoc Loc) argument
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h136 FullSourceLoc Loc; member in class:clang::ento::PathDiagnosticLocation
142 Loc(genLocation(L)), Range(genRange()) {
164 Loc(genLocation(SourceLocation(), lac)),
167 assert(K == SingleLocK || Loc.isValid());
174 Loc(genLocation()), Range(genRange()) {
176 assert(Loc.isValid());
184 : K(SingleLocK), S(nullptr), D(nullptr), SM(&sm), Loc(loc, sm),
186 assert(Loc.isValid());
260 return K == X.K && Loc == X.Loc
723 PathDiagnosticLocation Loc; member in class:clang::ento::PathDiagnostic
[all...]
/external/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp62 void emitDiagnosticMessage(SourceLocation Loc,
70 void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
75 void emitNote(SourceLocation Loc, StringRef Message,
78 void emitCodeContext(SourceLocation Loc,
134 void EmitDiagnosticMessage(SourceLocation Loc,
160 void AddLocToRecord(SourceLocation Loc, const SourceManager *SM,
165 void AddLocToRecord(SourceLocation Loc, RecordDataImpl &Record, argument
168 AddLocToRecord(Loc, SM, SM ? SM->getPresumedLoc(Loc) : PresumedLoc(),
282 void SDiagsWriter::AddLocToRecord(SourceLocation Loc, argument
583 EmitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, const SourceManager *SM, DiagOrStoredDiag D) argument
615 emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, ArrayRef<clang::CharSourceRange> Ranges, const SourceManager *SM, DiagOrStoredDiag D) argument
675 emitCodeContext(SourceLocation Loc, DiagnosticsEngine::Level Level, SmallVectorImpl<CharSourceRange> &Ranges, ArrayRef<FixItHint> Hints, const SourceManager &SM) argument
683 emitNote(SourceLocation Loc, StringRef Message, const SourceManager *SM) argument
[all...]
/external/clang/include/clang/Analysis/
H A DProgramPoint.h379 /// \param Loc can be used to store the information about the location
381 PostStore(const Stmt *S, const LocationContext *L, const void *Loc, argument
385 setData2(Loc);
478 /// \param Loc The location of the field being initialized.
480 const void *Loc,
482 : ProgramPoint(I, Loc, PostInitializerKind, L) {}
506 ImplicitCallPoint(const Decl *D, SourceLocation Loc, Kind K, argument
508 : ProgramPoint(Loc.getPtrEncoding(), D, K, L, Tag) {}
530 PreImplicitCall(const Decl *D, SourceLocation Loc, const LocationContext *L, argument
532 : ImplicitCallPoint(D, Loc, PreImplicitCallKin
479 PostInitializer(const CXXCtorInitializer *I, const void *Loc, const LocationContext *L) argument
547 PostImplicitCall(const Decl *D, SourceLocation Loc, const LocationContext *L, const ProgramPointTag *Tag = nullptr) argument
689 getHashValue(const clang::ProgramPoint &Loc) argument
[all...]
/external/clang/include/clang/Serialization/
H A DASTWriter.h293 unsigned Loc; member in union:clang::ASTWriter::DeclUpdate::__anon17635
302 DeclUpdate(unsigned Kind, SourceLocation Loc) argument
303 : Kind(Kind), Loc(Loc.getRawEncoding()) {}
311 return SourceLocation::getFromRawEncoding(Loc);
364 unsigned Loc; member in struct:clang::ASTWriter::ReplacedDeclInfo
366 ReplacedDeclInfo() : ID(0), Offset(0), Loc(0) {}
368 SourceLocation Loc)
369 : ID(ID), Offset(Offset), Loc(Loc
367 ReplacedDeclInfo(serialization::DeclID ID, uint64_t Offset, SourceLocation Loc) argument
[all...]
/external/clang/lib/Sema/
H A DAttributeList.cpp25 IdentifierLoc *IdentifierLoc::create(ASTContext &Ctx, SourceLocation Loc, argument
28 Result->Loc = Loc;
/external/clang/lib/StaticAnalyzer/Checkers/
H A DNonNullParamChecker.cpp88 assert(!haveRefTypeParam || DV->getAs<Loc>());
90 if (haveAttrNonNull && !DV->getAs<Loc>()) {
110 if (!V.getAs<Loc>())
H A DCheckerDocumentation.cpp123 /// \param Loc The value of the location (pointer).
128 void checkLocation(SVal Loc, bool IsLoad, const Stmt *S, argument
133 /// \param Loc The value of the location (pointer).
134 /// \param Val The value which will be stored at the location Loc.
138 void checkBind(SVal Loc, SVal Val, const Stmt *S, CheckerContext &) const {} argument
/external/clang/tools/libclang/
H A DIndexTypeSourceInfo.cpp127 SourceLocation Loc = NNS.getSourceRange().getBegin(); local
136 Loc, Parent, DC);
140 Loc, Parent, DC);
/external/clang/unittests/Tooling/
H A DCommentHandlerTest.cpp37 virtual bool HandleComment(Preprocessor &PP, SourceRange Loc) { argument
40 SourceLocation Start = Loc.getBegin();
43 SM.getCharacterData(Loc.getEnd()));
/external/llvm/include/llvm/MC/
H A DMCInst.h152 SMLoc Loc; member in class:llvm::MCInst
160 void setLoc(SMLoc loc) { Loc = loc; }
161 SMLoc getLoc() const { return Loc; }
H A DMCTargetAsmParser.h59 SMLoc Loc; member in struct:llvm::AsmRewrite
64 : Kind(kind), Loc(loc), Len(len), Val(val) {}
/external/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp203 AliasAnalysis::Location Loc = AA.getLocationForDest(MI); local
207 if (Loc.Size == AliasAnalysis::UnknownSize && DL == nullptr)
209 return Loc;
544 AliasAnalysis::Location Loc = getLocForWrite(Inst, *AA); local
547 if (!Loc.Ptr)
552 // skip any instructions that 'Loc' clearly doesn't interact with. If we
565 // completely obliterated by the store to 'Loc', and c) which we know that
568 !isPossibleSelfRead(Inst, Loc, DepWrite, *AA)) {
570 OverwriteResult OR = isOverwrite(Loc, DepLoc, *AA,
625 // Can't look past this instruction if it might read 'Loc'
662 AliasAnalysis::Location Loc = AliasAnalysis::Location(F->getOperand(0)); local
[all...]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h369 SymbolLoc Loc = pos->second;
370 return getSectionAddress(Loc.first) + Loc.second;
379 SymbolLoc Loc = pos->second;
380 return getSectionLoadAddress(Loc.first) + Loc.second;
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp403 void DwarfUnit::addBlock(DIE &Die, dwarf::Attribute Attribute, DIELoc *Loc) { argument
404 Loc->ComputeSize(Asm);
405 DIELocs.push_back(Loc); // Memoize so we can call the destructor later on.
406 Die.addValue(Attribute, Loc->BestForm(DD->getDwarfVersion()), Loc);
560 DIELoc *Loc = new (DIEValueAllocator) DIELoc();
563 addRegisterOp(*Loc, Location.getReg());
565 addRegisterOffset(*Loc, Location.getReg(), Location.getOffset());
567 addUInt(*Loc, dwarf::DW_FORM_data1, dwarf::DW_OP_deref);
572 addBlock(Die, Attribute, Loc);
[all...]
/external/bison/src/
H A Dcomplain.c90 #define ERROR_MESSAGE(Loc, Prefix, Message) \
94 error_message (Loc, Prefix, Message, args); \
/external/clang/include/clang/AST/
H A DASTImporter.h254 DiagnosticBuilder ToDiag(SourceLocation Loc, unsigned DiagID);
257 DiagnosticBuilder FromDiag(SourceLocation Loc, unsigned DiagID);
/external/clang/include/clang/Basic/
H A DDiagnosticIDs.h248 /// \param Loc The source location for which we are interested in finding out
251 getDiagnosticLevel(unsigned DiagID, SourceLocation Loc,
255 getDiagnosticSeverity(unsigned DiagID, SourceLocation Loc,
/external/clang/include/clang/Lex/
H A DPreprocessor.h607 SourceLocation Loc,
609 DefMacroDirective *MD = AllocateDefMacroDirective(MI, Loc, isImported);
629 /// \brief Return the name of the macro defined before \p Loc that has
632 StringRef getLastMacroWithSpelling(SourceLocation Loc,
717 SourceLocation Loc);
989 void setPragmaARCCFCodeAuditedLoc(SourceLocation Loc) { argument
990 PragmaARCCFCodeAuditedLoc = Loc;
1007 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) const { argument
1008 return Diags->Report(Loc, DiagID);
1067 bool getRawToken(SourceLocation Loc, Toke argument
606 appendDefMacroDirective(IdentifierInfo *II, MacroInfo *MI, SourceLocation Loc, bool isImported) argument
1098 getImmediateMacroName(SourceLocation Loc) argument
1126 getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) argument
[all...]
/external/clang/include/clang/Sema/
H A DOverload.h718 SourceLocation Loc; member in class:clang::OverloadCandidateSet
730 OverloadCandidateSet(SourceLocation Loc, CandidateSetKind CSK) argument
731 : Loc(Loc), Kind(CSK), NumInlineSequences(0) {}
734 SourceLocation getLocation() const { return Loc; }
781 OverloadingResult BestViableFunction(Sema &S, SourceLocation Loc,
789 SourceLocation Loc = SourceLocation());
795 SourceLocation Loc,
/external/clang/unittests/Basic/
H A DSourceManagerTest.cpp247 SourceLocation Loc; member in struct:__anon19539::__anon19540::MacroAction
251 MacroAction(SourceLocation Loc, StringRef Name, bool isDefinition) argument
252 : Loc(Loc), Name(Name), isDefinition(isDefinition) { }
353 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[3].Loc, Macros[4].Loc));
357 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(Macros[7].Loc, Macros[8].Loc));
/external/clang/lib/Rewrite/Core/
H A DRewriter.cpp216 unsigned Rewriter::getLocationOffsetAndFileID(SourceLocation Loc, argument
218 assert(Loc.isValid() && "Invalid location");
219 std::pair<FileID,unsigned> V = SourceMgr->getDecomposedLoc(Loc);
242 bool Rewriter::InsertText(SourceLocation Loc, StringRef Str, argument
244 if (!isRewritable(Loc)) return true;
246 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID);
283 bool Rewriter::InsertTextAfterToken(SourceLocation Loc, StringRef Str) { argument
284 if (!isRewritable(Loc)) return true;
286 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID);
289 StartOffs += getRangeSize(SourceRange(Loc, Lo
[all...]

Completed in 5045 milliseconds

1234567891011>>