Home
last modified time | relevance | path

Searched refs:LineNo (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm/include/llvm/IR/
DDIBuilder.h172 unsigned LineNo, DIScope *Context);
198 DIFile *File, unsigned LineNo,
213 DIFile *File, unsigned LineNo,
228 DIDerivedType *createObjCIVar(StringRef Name, DIFile *File, unsigned LineNo,
448 unsigned LineNo, DIType *Ty,
457 unsigned LineNo, DIType *Ty, bool isLocalToUnit, llvm::Constant *Val,
469 DIFile *File, unsigned LineNo,
487 unsigned LineNo, DIType *Ty,
522 unsigned LineNo, DISubroutineType *Ty,
533 unsigned LineNo, DISubroutineType *Ty, bool isLocalToUnit,
[all …]
/external/clang/include/clang/Basic/
DSourceManagerInternals.h34 unsigned LineNo; member
54 E.LineNo = Line; in get()
105 unsigned LineNo, int FilenameID);
107 unsigned LineNo, int FilenameID,
DSourceManager.h1387 void AddLineNote(SourceLocation Loc, unsigned LineNo, int FilenameID);
1388 void AddLineNote(SourceLocation Loc, unsigned LineNo, int FilenameID,
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp155 bool MoveToLine(unsigned LineNo);
161 void WriteLineInfo(unsigned LineNo, const char *Extra=nullptr,
176 void PrintPPOutputPPCallbacks::WriteLineInfo(unsigned LineNo, in WriteLineInfo() argument
183 OS << "#line" << ' ' << LineNo << ' ' << '"'; in WriteLineInfo()
187 OS << '#' << ' ' << LineNo << ' ' << '"'; in WriteLineInfo()
206 bool PrintPPOutputPPCallbacks::MoveToLine(unsigned LineNo) { in MoveToLine() argument
209 if (LineNo-CurLine <= 8) { in MoveToLine()
210 if (LineNo-CurLine == 1) in MoveToLine()
212 else if (LineNo == CurLine) in MoveToLine()
216 OS.write(NewLines, LineNo-CurLine); in MoveToLine()
[all …]
DTextDiagnostic.cpp791 unsigned LineNo = PLoc.getLine(); in emitDiagnosticLoc() local
801 case DiagnosticOptions::Clang: OS << ':' << LineNo; break; in emitDiagnosticLoc()
802 case DiagnosticOptions::MSVC: OS << '(' << LineNo; break; in emitDiagnosticLoc()
803 case DiagnosticOptions::Vi: OS << " +" << LineNo; break; in emitDiagnosticLoc()
908 unsigned LineNo, FileID FID, in highlightRange() argument
919 if (StartLineNo > LineNo || SM.getFileID(Begin) != FID) in highlightRange()
923 if (EndLineNo < LineNo || SM.getFileID(End) != FID) in highlightRange()
928 if (StartLineNo == LineNo) { in highlightRange()
935 if (EndLineNo == LineNo) { in highlightRange()
986 static std::string buildFixItInsertionLine(unsigned LineNo, in buildFixItInsertionLine() argument
[all …]
/external/llvm/lib/Support/
DSourceMgr.cpp86 unsigned LineNo = 1; in getLineAndColumn() local
98 LineNo = Cache->LineNoOfQuery; in getLineAndColumn()
104 if (*Ptr == '\n') ++LineNo; in getLineAndColumn()
114 Cache.LineNoOfQuery = LineNo; in getLineAndColumn()
118 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs); in getLineAndColumn()
237 : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind), in SMDiagnostic()
352 if (LineNo != -1) { in print()
353 S << ':' << LineNo; in print()
390 if (LineNo == -1 || ColumnNo == -1) in print()
DSpecialCaseList.cpp91 int LineNo = 1; in parse() local
92 for (auto I = Lines.begin(), E = Lines.end(); I != E; ++I, ++LineNo) { in parse()
101 Error = (Twine("malformed line ") + Twine(LineNo) + ": '" + in parse()
126 Error = (Twine("malformed regex in line ") + Twine(LineNo) + ": '" + in parse()
/external/llvm/lib/IR/
DDIBuilder.cpp267 DIFile *File, unsigned LineNo, in createTypedef() argument
270 LineNo, in createTypedef()
610 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, unsigned Flags) { in createLocalVariable() argument
619 File, LineNo, DITypeRef::get(Ty), ArgNo, Flags); in createLocalVariable()
632 DIFile *File, unsigned LineNo, in createAutoVariable() argument
636 /* ArgNo */ 0, File, LineNo, Ty, AlwaysPreserve, in createAutoVariable()
642 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, unsigned Flags) { in createParameterVariable() argument
645 File, LineNo, Ty, AlwaysPreserve, Flags); in createParameterVariable()
666 unsigned LineNo, DISubroutineType *Ty, bool isLocalToUnit, in createFunction() argument
673 LineNo, Ty, isLocalToUnit, isDefinition, ScopeLine, in createFunction()
[all …]
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp208 static void AddLineNumber(RewriteBuffer &RB, unsigned LineNo, in AddLineNumber() argument
214 << LineNo << "\">" in AddLineNumber()
215 << LineNo << "</td><td class=\"line\">"; in AddLineNumber()
236 unsigned LineNo = 0; in AddLineNumbers() local
241 ++LineNo; in AddLineNumbers()
262 AddLineNumber(RB, LineNo, LineStartPos, LineEndPos); in AddLineNumbers()
/external/llvm/include/llvm/Support/
DSourceMgr.h237 int LineNo, ColumnNo; variable
246 : SM(nullptr), LineNo(0), ColumnNo(0), Kind(SourceMgr::DK_Error) {} in SMDiagnostic()
249 : SM(nullptr), Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), in SMDiagnostic()
262 int getLineNo() const { return LineNo; } in getLineNo()
/external/llvm/lib/Fuzzer/
DFuzzerUtil.cpp149 int LineNo = 0; in ParseDictionaryFile() local
152 LineNo++; in ParseDictionaryFile()
160 Printf("ParseDictionaryFile: error in line %d\n\t\t%s\n", LineNo, in ParseDictionaryFile()
/external/clang/lib/Basic/
DSourceManager.cpp191 unsigned LineNo, int FilenameID) { in AddLineNote() argument
212 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, Kind, in AddLineNote()
222 unsigned LineNo, int FilenameID, in AddLineNote() argument
248 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind, in AddLineNote()
289 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote() argument
303 getLineTable().AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID); in AddLineNote()
307 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote() argument
316 return AddLineNote(Loc, LineNo, FilenameID); in AddLineNote()
347 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID, in AddLineNote()
1368 unsigned LineNo = Pos-SourceLineCacheStart; in getLineNumber() local
[all …]
/external/clang/lib/Parse/
DParseStmtAsm.cpp366 unsigned LineNo = 0; in ParseMicrosoftAsmStatement() local
383 LineNo = SrcMgr.getLineNumber(FID, ExpAsmLoc.second); in ParseMicrosoftAsmStatement()
410 LineNo = SrcMgr.getLineNumber(FID, ExpSemiLoc.second); in ParseMicrosoftAsmStatement()
418 SrcMgr.getLineNumber(ExpLoc.first, ExpLoc.second) != LineNo) { in ParseMicrosoftAsmStatement()
429 LineNo = SrcMgr.getLineNumber(ExpLoc.first, ExpLoc.second); in ParseMicrosoftAsmStatement()
/external/llvm/tools/llvm-cov/
DSourceCoverageView.cpp113 unsigned LineNo) { in renderLineNumberColumn() argument
116 BufferOS << LineNo; in renderLineNumberColumn()
DSourceCoverageView.h124 void renderLineNumberColumn(raw_ostream &OS, unsigned LineNo);
/external/fonttools/Windows/
Dfonttools-win-setup.iss199 LineNo, CharNo, Index: integer;
216 for LineNo := 0 to AutoexecLines.Count - 1 do begin
217 ActualLine := AutoexecLines.Strings[LineNo];
242 PathLineNos.Add(IntToStr(LineNo));
/external/clang/lib/Lex/
DPPDirectives.cpp1004 unsigned LineNo; in HandleLineDirective() local
1005 if (GetLineValue(DigitTok, LineNo, diag::err_pp_line_requires_integer,*this)) in HandleLineDirective()
1008 if (LineNo == 0) in HandleLineDirective()
1016 if (LineNo >= LineLimit) in HandleLineDirective()
1018 else if (LangOpts.CPlusPlus11 && LineNo >= 32768U) in HandleLineDirective()
1052 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID); in HandleLineDirective()
1149 unsigned LineNo; in HandleDigitDirective() local
1150 if (GetLineValue(DigitTok, LineNo, diag::err_pp_linemarker_requires_integer, in HandleDigitDirective()
1190 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID, in HandleDigitDirective()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp768 unsigned LineNo = 0; in CreateType() local
771 DBuilder.createStructType(Unit, "__block_descriptor", nullptr, LineNo, in CreateType()
791 EltTys.push_back(DBuilder.createMemberType(Unit, "__descriptor", nullptr, LineNo, in CreateType()
803 DBuilder.createStructType(Unit, "", nullptr, LineNo, in CreateType()
2446 unsigned &LineNo, QualType &T, in collectVarDeclProps() argument
2450 LineNo = getLineNumber(VD->getLocation()); in collectVarDeclProps()
2716 unsigned LineNo = getLineNumber(Loc); in EmitFunctionStart() local
2725 FDContext, Name, LinkageName, Unit, LineNo, in EmitFunctionStart()
2775 unsigned LineNo = getLineNumber(Loc); in EmitFunctionDecl() local
2778 DBuilder.createFunction(FDContext, Name, LinkageName, Unit, LineNo, in EmitFunctionDecl()
[all …]
DCGDebugInfo.h471 unsigned LineNo, StringRef LinkageName,
512 unsigned &LineNo, QualType &T, StringRef &Name,
DCodeGenModule.cpp1305 unsigned LineNo = PLoc.isValid() ? PLoc.getLine() : in EmitAnnotationLineNo() local
1307 return llvm::ConstantInt::get(Int32Ty, LineNo); in EmitAnnotationLineNo()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp1248 unsigned LineNo = P.getLine(); in codegen() local
1249 unsigned ScopeLine = LineNo; in codegen()
1251 FContext, P.getName(), StringRef(), Unit, LineNo, in codegen()
1274 SP, Arg.getName(), ++ArgIdx, Unit, LineNo, KSDbgInfo.getDoubleTy(), in codegen()
1278 DebugLoc::get(LineNo, 0, SP), in codegen()
/external/llvm/test/CodeGen/PowerPC/
Dtoc-load-sched-bug.ll241 …%LineNo.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %ref.…
242 store i32 -1, i32* %LineNo.i, align 8, !tbaa !14
281 …%LineNo.i39 = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %Er…
282 %16 = bitcast i32* %LineNo.i39 to i8*
283 %17 = bitcast i32* %LineNo.i to i8*
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp252 int LineNo; member
255 LocationMetadata() : Filename(), LineNo(0), ColumnNo(0) {} in LocationMetadata()
263 LineNo = in parse()
805 ConstantInt::get(Type::getInt32Ty(M.getContext()), MD.LineNo), in createPrivateGlobalForSourceLoc()
/external/llvm/docs/tutorial/
DLangImpl8.rst259 unsigned LineNo = 0;
262 FContext, Name, StringRef(), Unit, LineNo,
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp1883 int LineNo = in DiagHandler() local
1886 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler()

12