Searched defs:LineNo (Results 1 - 17 of 17) sorted by relevance

/external/clang/include/clang/Basic/
H A DSourceManagerInternals.h34 unsigned LineNo; member in struct:clang::LineEntry
54 E.LineNo = Line;
105 unsigned LineNo, int FilenameID);
107 unsigned LineNo, int FilenameID,
/external/llvm/lib/Fuzzer/
H A DFuzzerUtil.cpp149 int LineNo = 0; local
152 LineNo++;
160 Printf("ParseDictionaryFile: error in line %d\n\t\t%s\n", LineNo,
/external/llvm/lib/Support/
H A DSpecialCaseList.cpp91 int LineNo = 1; local
92 for (auto I = Lines.begin(), E = Lines.end(); I != E; ++I, ++LineNo) {
101 Error = (Twine("malformed line ") + Twine(LineNo) + ": '" +
126 Error = (Twine("malformed regex in line ") + Twine(LineNo) + ": '" +
H A DSourceMgr.cpp86 unsigned LineNo = 1; local
98 LineNo = Cache->LineNoOfQuery;
104 if (*Ptr == '\n') ++LineNo;
114 Cache.LineNoOfQuery = LineNo;
118 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs);
237 : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind),
352 if (LineNo != -1) {
353 S << ':' << LineNo; local
390 if (LineNo == -1 || ColumnNo == -1)
/external/clang/lib/Rewrite/
H A DHTMLRewrite.cpp208 static void AddLineNumber(RewriteBuffer &RB, unsigned LineNo, argument
214 << LineNo << "\">"
215 << LineNo << "</td><td class=\"line\">"; local
236 unsigned LineNo = 0; local
241 ++LineNo;
262 AddLineNumber(RB, LineNo, LineStartPos, LineEndPos);
/external/llvm/tools/llvm-cov/
H A DSourceCoverageView.cpp113 unsigned LineNo) {
116 BufferOS << LineNo; local
112 renderLineNumberColumn(raw_ostream &OS, unsigned LineNo) argument
/external/llvm/include/llvm/Support/
H A DSourceMgr.h237 int LineNo, ColumnNo; member in class:llvm::SMDiagnostic
246 : SM(nullptr), LineNo(0), ColumnNo(0), Kind(SourceMgr::DK_Error) {}
249 : SM(nullptr), Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd),
262 int getLineNo() const { return LineNo; }
/external/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp155 bool MoveToLine(unsigned LineNo);
161 void WriteLineInfo(unsigned LineNo, const char *Extra=nullptr,
176 void PrintPPOutputPPCallbacks::WriteLineInfo(unsigned LineNo, argument
183 OS << "#line" << ' ' << LineNo << ' ' << '"'; local
187 OS << '#' << ' ' << LineNo << ' ' << '"'; local
206 bool PrintPPOutputPPCallbacks::MoveToLine(unsigned LineNo) { argument
209 if (LineNo-CurLine <= 8) {
210 if (LineNo-CurLine == 1)
212 else if (LineNo == CurLine)
216 OS.write(NewLines, LineNo
[all...]
/external/clang/lib/Basic/
H A DSourceManager.cpp189 /// location to LineNo/FilenameID.
191 unsigned LineNo, int FilenameID) {
212 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, Kind,
222 unsigned LineNo, int FilenameID,
248 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind,
289 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, argument
303 getLineTable().AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID);
307 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, argument
316 return AddLineNote(Loc, LineNo, FilenameID);
347 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameI
190 AddLineNote(FileID FID, unsigned Offset, unsigned LineNo, int FilenameID) argument
221 AddLineNote(FileID FID, unsigned Offset, unsigned LineNo, int FilenameID, unsigned EntryExit, SrcMgr::CharacteristicKind FileKind) argument
1368 unsigned LineNo = Pos-SourceLineCacheStart; local
1473 unsigned LineNo = getLineNumber(LocInfo.first, LocInfo.second, &Invalid); local
[all...]
/external/clang/lib/Lex/
H A DPPDirectives.cpp1004 unsigned LineNo; local
1005 if (GetLineValue(DigitTok, LineNo, diag::err_pp_line_requires_integer,*this))
1008 if (LineNo == 0)
1016 if (LineNo >= LineLimit)
1018 else if (LangOpts.CPlusPlus11 && LineNo >= 32768U)
1052 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID);
1149 unsigned LineNo; local
1150 if (GetLineValue(DigitTok, LineNo, diag::err_pp_linemarker_requires_integer,
1190 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID,
/external/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp1248 unsigned LineNo = P.getLine(); local
1249 unsigned ScopeLine = LineNo;
1251 FContext, P.getName(), StringRef(), Unit, LineNo,
1274 SP, Arg.getName(), ++ArgIdx, Unit, LineNo, KSDbgInfo.getDoubleTy(),
1278 DebugLoc::get(LineNo, 0, SP),
/external/llvm/lib/IR/
H A DDIBuilder.cpp267 DIFile *File, unsigned LineNo,
270 LineNo,
610 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, unsigned Flags) {
619 File, LineNo, DITypeRef::get(Ty), ArgNo, Flags);
632 DIFile *File, unsigned LineNo,
636 /* ArgNo */ 0, File, LineNo, Ty, AlwaysPreserve,
642 unsigned LineNo, DIType *Ty, bool AlwaysPreserve, unsigned Flags) {
645 File, LineNo, Ty, AlwaysPreserve, Flags);
666 unsigned LineNo, DISubroutineType *Ty, bool isLocalToUnit,
673 LineNo, T
266 createTypedef(DIType *Ty, StringRef Name, DIFile *File, unsigned LineNo, DIScope *Context) argument
606 createLocalVariable( LLVMContext &VMContext, DenseMap<MDNode *, std::vector<TrackingMDNodeRef>> &PreservedVariables, DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, unsigned LineNo, DIType *Ty, bool AlwaysPreserve, unsigned Flags) argument
631 createAutoVariable(DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo, DIType *Ty, bool AlwaysPreserve, unsigned Flags) argument
640 createParameterVariable( DIScope *Scope, StringRef Name, unsigned ArgNo, DIFile *File, unsigned LineNo, DIType *Ty, bool AlwaysPreserve, unsigned Flags) argument
664 createFunction( DIScopeRef Context, StringRef Name, StringRef LinkageName, DIFile *File, unsigned LineNo, DISubroutineType *Ty, bool isLocalToUnit, bool isDefinition, unsigned ScopeLine, unsigned Flags, bool isOptimized, DITemplateParameterArray TParams, DISubprogram *Decl) argument
684 createFunction( DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *File, unsigned LineNo, DISubroutineType *Ty, bool isLocalToUnit, bool isDefinition, unsigned ScopeLine, unsigned Flags, bool isOptimized, DITemplateParameterArray TParams, DISubprogram *Decl) argument
702 createTempFunctionFwdDecl( DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *File, unsigned LineNo, DISubroutineType *Ty, bool isLocalToUnit, bool isDefinition, unsigned ScopeLine, unsigned Flags, bool isOptimized, DITemplateParameterArray TParams, DISubprogram *Decl) argument
716 createMethod(DIScope *Context, StringRef Name, StringRef LinkageName, DIFile *F, unsigned LineNo, DISubroutineType *Ty, bool isLocalToUnit, bool isDefinition, unsigned VK, unsigned VIndex, DIType *VTableHolder, unsigned Flags, bool isOptimized, DITemplateParameterArray TParams) argument
737 createNameSpace(DIScope *Scope, StringRef Name, DIFile *File, unsigned LineNo) argument
[all...]
/external/clang/lib/CodeGen/
H A DCGDebugInfo.cpp768 unsigned LineNo = 0; local
771 DBuilder.createStructType(Unit, "__block_descriptor", nullptr, LineNo,
791 EltTys.push_back(DBuilder.createMemberType(Unit, "__descriptor", nullptr, LineNo,
803 DBuilder.createStructType(Unit, "", nullptr, LineNo,
2446 unsigned &LineNo, QualType &T,
2450 LineNo = getLineNumber(VD->getLocation());
2716 unsigned LineNo = getLineNumber(Loc); local
2725 FDContext, Name, LinkageName, Unit, LineNo,
2775 unsigned LineNo = getLineNumber(Loc); local
2778 DBuilder.createFunction(FDContext, Name, LinkageName, Unit, LineNo,
2445 collectVarDeclProps(const VarDecl *VD, llvm::DIFile *&Unit, unsigned &LineNo, QualType &T, StringRef &Name, StringRef &LinkageName, llvm::DIScope *&VDContext) argument
3312 CollectAnonRecordDecls( const RecordDecl *RD, llvm::DIFile *Unit, unsigned LineNo, StringRef LinkageName, llvm::GlobalVariable *Var, llvm::DIScope *DContext) argument
3343 unsigned LineNo; local
3486 unsigned LineNo = getLineNumber(NSDecl->getLocation()); local
[all...]
H A DCodeGenModule.cpp1305 unsigned LineNo = PLoc.isValid() ? PLoc.getLine() : local
1307 return llvm::ConstantInt::get(Int32Ty, LineNo);
/external/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp252 int LineNo; member in struct:__anon12880::LocationMetadata
255 LocationMetadata() : Filename(), LineNo(0), ColumnNo(0) {}
263 LineNo =
805 ConstantInt::get(Type::getInt32Ty(M.getContext()), MD.LineNo),
/external/clang/lib/Serialization/
H A DASTReader.cpp1090 unsigned LineNo = Record[Idx++]; local
1095 Entries.push_back(LineEntry::get(FileOffset, LineNo, FilenameID,
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp1843 /// for the Filename and LineNo if any in the diagnostic.
1865 // print the normal diagnostic using its Filename and LineNo.
1883 int LineNo = local
1886 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo,

Completed in 2365 milliseconds