Searched refs:LineNo (Results 1 - 19 of 19) sorted by relevance

/external/clang/include/clang/Basic/
H A DSourceManagerInternals.h34 unsigned LineNo; member in struct:clang::LineEntry
54 E.LineNo = Line;
110 unsigned LineNo, int FilenameID);
112 unsigned LineNo, int FilenameID,
H A DSourceManager.h1362 void AddLineNote(SourceLocation Loc, unsigned LineNo, int FilenameID);
1363 void AddLineNote(SourceLocation Loc, unsigned LineNo, int FilenameID,
/external/llvm/include/llvm/IR/
H A DDIBuilder.h81 MDNode *File = nullptr, unsigned LineNo = 0,
179 /// @param LineNo Line number.
182 unsigned LineNo, DIDescriptor Context);
201 /// @param LineNo Line number.
209 unsigned LineNo, uint64_t SizeInBits, uint64_t AlignInBits,
217 /// @param LineNo Line number.
223 DIFile File, unsigned LineNo, DIType Ty,
230 /// @param LineNo Line number.
244 unsigned LineNo, uint64_t SizeInBits,
256 /// @param LineNo Lin
[all...]
/external/llvm/lib/Support/
H A DSpecialCaseList.cpp86 int LineNo = 1; local
88 I != E; ++I, ++LineNo) {
97 Error = (Twine("Malformed line ") + Twine(LineNo) + ": '" +
134 Error = (Twine("Malformed regex in line ") + Twine(LineNo) + ": '" +
H A DSourceMgr.cpp93 unsigned LineNo = 1; local
105 LineNo = Cache->LineNoOfQuery;
111 if (*Ptr == '\n') ++LineNo;
121 Cache.LineNoOfQuery = LineNo;
125 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs);
244 : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind),
359 if (LineNo != -1) {
360 S << ':' << LineNo; local
395 if (LineNo == -1 || ColumnNo == -1)
/external/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp159 bool MoveToLine(unsigned LineNo);
165 void WriteLineInfo(unsigned LineNo, const char *Extra=nullptr,
180 void PrintPPOutputPPCallbacks::WriteLineInfo(unsigned LineNo, argument
187 OS << "#line" << ' ' << LineNo << ' ' << '"'; local
191 OS << '#' << ' ' << LineNo << ' ' << '"'; local
210 bool PrintPPOutputPPCallbacks::MoveToLine(unsigned LineNo) { argument
213 if (LineNo-CurLine <= 8) {
214 if (LineNo-CurLine == 1)
216 else if (LineNo == CurLine)
220 OS.write(NewLines, LineNo
[all...]
H A DTextDiagnostic.cpp790 unsigned LineNo = PLoc.getLine();
800 case DiagnosticOptions::Clang: OS << ':' << LineNo; break;
801 case DiagnosticOptions::Msvc: OS << '(' << LineNo; break;
802 case DiagnosticOptions::Vi: OS << " +" << LineNo; break;
904 /// \brief Highlight a SourceRange (with ~'s) for any characters on LineNo.
906 unsigned LineNo, FileID FID,
917 if (StartLineNo > LineNo || SM.getFileID(Begin) != FID)
921 if (EndLineNo < LineNo || SM.getFileID(End) != FID)
926 if (StartLineNo == LineNo) {
933 if (EndLineNo == LineNo) {
[all...]
/external/llvm/include/llvm/Support/
H A DSourceMgr.h231 int LineNo, ColumnNo; member in class:llvm::SMDiagnostic
240 : SM(nullptr), LineNo(0), ColumnNo(0), Kind(SourceMgr::DK_Error) {}
243 : SM(nullptr), Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd),
256 int getLineNo() const { return LineNo; }
/external/llvm/lib/IR/
H A DDIBuilder.cpp363 unsigned LineNo, DIDescriptor Context) {
370 ConstantInt::get(Type::getInt32Ty(VMContext), LineNo),
546 DIType Ty, MDNode *File, unsigned LineNo,
554 ConstantInt::get(Type::getInt32Ty(VMContext), LineNo),
564 unsigned LineNo,
573 ConstantInt::get(Type::getInt32Ty(VMContext), LineNo),
584 MDNode *File, unsigned LineNo,
587 Context, Name, Ty, Val, File, LineNo,
594 MDNode *File, unsigned LineNo,
598 MDString::get(VMContext, Val), File, LineNo, ColumnN
362 createTypedef(DIType Ty, StringRef Name, DIFile File, unsigned LineNo, DIDescriptor Context) argument
545 createTemplateTypeParameter(DIDescriptor Context, StringRef Name, DIType Ty, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument
561 createTemplateValueParameter(unsigned Tag, DIDescriptor Context, StringRef Name, DIType Ty, Value *Val, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument
582 createTemplateValueParameter(DIDescriptor Context, StringRef Name, DIType Ty, Value *Val, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument
592 createTemplateTemplateParameter(DIDescriptor Context, StringRef Name, DIType Ty, StringRef Val, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument
602 createTemplateParameterPack(DIDescriptor Context, StringRef Name, DIType Ty, DIArray Val, MDNode *File, unsigned LineNo, unsigned ColumnNo) argument
1037 createLocalVariable(unsigned Tag, DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNo, DITypeRef Ty, bool AlwaysPreserve, unsigned Flags, unsigned ArgNo) argument
1072 createComplexVariable(unsigned Tag, DIDescriptor Scope, StringRef Name, DIFile F, unsigned LineNo, DITypeRef Ty, ArrayRef<Value *> Addr, unsigned ArgNo) argument
1097 createFunction(DIScopeRef Context, StringRef Name, StringRef LinkageName, DIFile File, unsigned LineNo, DICompositeType Ty, bool isLocalToUnit, bool isDefinition, unsigned ScopeLine, unsigned Flags, bool isOptimized, Function *Fn, MDNode *TParams, MDNode *Decl) argument
1113 createFunction(DIDescriptor Context, StringRef Name, StringRef LinkageName, DIFile File, unsigned LineNo, DICompositeType Ty, bool isLocalToUnit, bool isDefinition, unsigned ScopeLine, unsigned Flags, bool isOptimized, Function *Fn, MDNode *TParams, MDNode *Decl) argument
1157 createMethod(DIDescriptor Context, StringRef Name, StringRef LinkageName, DIFile F, unsigned LineNo, DICompositeType Ty, bool isLocalToUnit, bool isDefinition, unsigned VK, unsigned VIndex, DIType VTableHolder, unsigned Flags, bool isOptimized, Function *Fn, MDNode *TParam) argument
1203 createNameSpace(DIDescriptor Scope, StringRef Name, DIFile File, unsigned LineNo) argument
[all...]
/external/clang/lib/Rewrite/Core/
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/clang/lib/Basic/
H A DSourceManager.cpp194 /// location to LineNo/FilenameID.
196 unsigned LineNo, int FilenameID) {
217 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, Kind,
227 unsigned LineNo, int FilenameID,
253 Entries.push_back(LineEntry::get(Offset, LineNo, FilenameID, FileKind,
296 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, argument
312 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameID);
316 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, argument
325 return AddLineNote(Loc, LineNo, FilenameID);
357 LineTable->AddLineNote(LocInfo.first, LocInfo.second, LineNo, FilenameI
195 AddLineNote(FileID FID, unsigned Offset, unsigned LineNo, int FilenameID) argument
226 AddLineNote(FileID FID, unsigned Offset, unsigned LineNo, int FilenameID, unsigned EntryExit, SrcMgr::CharacteristicKind FileKind) argument
1369 unsigned LineNo = Pos-SourceLineCacheStart; local
1474 unsigned LineNo = getLineNumber(LocInfo.first, LocInfo.second, &Invalid); local
[all...]
/external/clang/lib/Parse/
H A DParseStmtAsm.cpp329 unsigned LineNo = 0;
346 LineNo = SrcMgr.getLineNumber(FID, ExpAsmLoc.second);
373 LineNo = SrcMgr.getLineNumber(FID, ExpSemiLoc.second);
381 SrcMgr.getLineNumber(ExpLoc.first, ExpLoc.second) != LineNo) {
/external/clang/lib/CodeGen/
H A DCGDebugInfo.cpp686 unsigned LineNo = getLineNumber(CurLoc); local
689 Unit, LineNo, FieldOffset, 0,
711 LineNo, FieldSize, FieldAlign,
719 Unit, LineNo, FieldOffset, 0,
2524 unsigned LineNo = getLineNumber(Loc); local
2533 DBuilder.createFunction(FDContext, Name, LinkageName, Unit, LineNo,
3113 unsigned LineNo, StringRef LinkageName,
3126 GV = CollectAnonRecordDecls(RT->getDecl(), Unit, LineNo, LinkageName,
3132 LineNo, FieldTy,
3145 unsigned LineNo local
3112 CollectAnonRecordDecls(const RecordDecl *RD, llvm::DIFile Unit, unsigned LineNo, StringRef LinkageName, llvm::GlobalVariable *Var, llvm::DIDescriptor DContext) argument
3287 unsigned LineNo = getLineNumber(NSDecl->getLocation()); local
[all...]
H A DCGDebugInfo.h375 CollectAnonRecordDecls(const RecordDecl *RD, llvm::DIFile Unit, unsigned LineNo,
H A DCodeGenModule.cpp1119 unsigned LineNo = PLoc.isValid() ? PLoc.getLine() : local
1121 return llvm::ConstantInt::get(Int32Ty, LineNo);
/external/clang/lib/Lex/
H A DPPDirectives.cpp925 unsigned LineNo; local
926 if (GetLineValue(DigitTok, LineNo, diag::err_pp_line_requires_integer,*this))
929 if (LineNo == 0)
937 if (LineNo >= LineLimit)
939 else if (LangOpts.CPlusPlus11 && LineNo >= 32768U)
973 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID);
1070 unsigned LineNo; local
1071 if (GetLineValue(DigitTok, LineNo, diag::err_pp_linemarker_requires_integer,
1111 SourceMgr.AddLineNote(DigitTok.getLocation(), LineNo, FilenameID,
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp1690 /// for the Filename and LineNo if any in the diagnostic.
1712 // print the normal diagnostic using its Filename and LineNo.
1730 int LineNo = local
1733 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo,
/external/clang/lib/Serialization/
H A DASTReader.cpp1046 unsigned LineNo = Record[Idx++]; local
1051 Entries.push_back(LineEntry::get(FileOffset, LineNo, FilenameID,
H A DASTWriter.cpp1836 Record.push_back(LE->LineNo);

Completed in 402 milliseconds