/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/ |
H A D | AffectedRangeManager.cpp | 29 AnnotatedLine *Line = *I; local 30 Line->LeadingEmptyLinesAffected = affectsLeadingEmptyLines(*Line->First); 34 if (Line->InPPDirective) { 35 FormatToken *Last = Line->Last; 42 if (affectsTokenRange(*Line->First, *Last, 51 if (nonPPLineAffected(Line, PreviousLine, Lines)) 54 PreviousLine = Line; 102 AnnotatedLine *Line, const AnnotatedLine *PreviousLine, 105 Line 101 nonPPLineAffected( AnnotatedLine *Line, const AnnotatedLine *PreviousLine, SmallVectorImpl<AnnotatedLine *> &Lines) argument [all...] |
H A D | TokenAnnotator.h | 39 AnnotatedLine(const UnwrappedLine &Line) argument 40 : First(Line.Tokens.front().Tok), Level(Line.Level), 41 MatchingOpeningBlockLineIndex(Line.MatchingOpeningBlockLineIndex), 42 MatchingClosingBlockLineIndex(Line.MatchingClosingBlockLineIndex), 43 InPPDirective(Line.InPPDirective), 44 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false), 47 FirstStartColumn(Line.FirstStartColumn) { 48 assert(!Line.Tokens.empty()); 55 for (std::list<UnwrappedLineNode>::const_iterator I = ++Line [all...] |
H A D | UnwrappedLineFormatter.cpp | 22 bool startsExternCBlock(const AnnotatedLine &Line) { argument 23 const FormatToken *Next = Line.First->getNextNonComment(); 25 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() && 51 /// Update the indent state given that \p Line is going to be formatted 53 void nextLine(const AnnotatedLine &Line) { argument 54 Offset = getIndentOffset(*Line.First); 57 while (IndentForLevel.size() <= Line.Level) 59 if (Line.InPPDirective) { 60 Indent = Line.Level * Style.IndentWidth + AdditionalIndent; 62 IndentForLevel.resize(Line 71 skipLine(const AnnotatedLine &Line) argument 81 adjustToUnmodifiedLine(const AnnotatedLine &Line) argument 137 getMatchingNamespaceToken( const AnnotatedLine *Line, const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) argument [all...] |
H A D | UnwrappedLineParser.cpp | 40 ScopedDeclarationState(UnwrappedLine &Line, std::vector<bool> &Stack, argument 42 : Line(Line), Stack(Stack) { 43 Line.MustBeDeclaration = MustBeDeclaration; 49 Line.MustBeDeclaration = Stack.back(); 51 Line.MustBeDeclaration = true; 55 UnwrappedLine &Line; member in class:clang::format::__anon492::ScopedDeclarationState 80 ScopedMacroState(UnwrappedLine &Line, FormatTokenSource *&TokenSource, argument 82 : Line(Line), TokenSourc 126 UnwrappedLine &Line; member in class:clang::format::__anon492::ScopedMacroState 594 isGoogScope(const UnwrappedLine &Line) argument 612 isIIFE(const UnwrappedLine &Line, const AdditionalKeywords &Keywords) argument 698 size_t Line = CurrentLines->size(); local 2445 printDebugInfo(const UnwrappedLine &Line, StringRef Prefix = �) argument 2502 continuesLineCommentSection(const FormatToken &FormatTok, const UnwrappedLine &Line, const llvm::Regex &CommentPragmasRegex) argument [all...] |
H A D | UsingDeclarationsSorter.cpp | 68 const AnnotatedLine *Line; member in struct:clang::format::__anon587::UsingDeclaration 71 UsingDeclaration(const AnnotatedLine *Line, const std::string &Label) argument 72 : Line(Line), Label(Label) {} 119 if (Declaration.Line->Affected) { 142 (*UsingDeclarations)[I].Line->First->WhitespaceRange.getBegin(); 143 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); 152 if ((*UsingDeclarations)[I].Line == SortedUsingDeclarations[I].Line) 154 auto Begin = (*UsingDeclarations)[I].Line [all...] |
H A D | NamespaceEndCommentsFixer.h | 25 // If \p Line contains the closing `}` of a namespace, is affected and is not in 28 // \p AnnotatedLines is the sequence of lines from which \p Line is a member of. 30 getNamespaceToken(const AnnotatedLine *Line,
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/ |
H A D | BreakpadRecords.cpp | 125 llvm::Optional<Record::Kind> Record::classify(llvm::StringRef Line) { argument 126 Token Tok = consume<Token>(Line); 139 Tok = consume<Token>(Line); 153 return Record::Line; 165 llvm::Optional<ModuleRecord> ModuleRecord::parse(llvm::StringRef Line) { argument 167 if (consume<Token>(Line) != Token::Module) 170 llvm::Triple::OSType OS = consume<llvm::Triple::OSType>(Line); 174 llvm::Triple::ArchType Arch = consume<llvm::Triple::ArchType>(Line); 179 std::tie(Str, Line) = getToken(Line); 194 parse(llvm::StringRef Line) argument 219 parse(llvm::StringRef Line) argument 242 parsePublicOrFunc(llvm::StringRef Line, bool &Multiple, lldb::addr_t &Address, lldb::addr_t *Size, lldb::addr_t &ParamSize, llvm::StringRef &Name) argument 280 parse(llvm::StringRef Line) argument 302 parse(llvm::StringRef Line) argument 337 parse(llvm::StringRef Line) argument 359 parse(llvm::StringRef Line) argument 408 parse(llvm::StringRef Line) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | LineEntry.h | 17 /// Line entries are used to encode the line tables in FunctionInfo objects. 25 uint32_t Line; ///< Source line number. member in struct:llvm::gsym::LineEntry 27 : Addr(A), File(F), Line(L) {} 33 << ", line=" << format("%3u", LE.Line); 37 return LHS.Addr == RHS.Addr && LHS.File == RHS.File && LHS.Line == RHS.Line;
|
H A D | LookupResult.h | 24 StringRef Dir; ///< Line entry source file directory path. 25 StringRef Base; ///< Line entry source file basename. 26 uint32_t Line = 0; ///< Source file line number. member in struct:llvm::gsym::SourceLocation 31 LHS.Base == RHS.Base && LHS.Line == RHS.Line;
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | SymbolRemappingReader.cpp | 36 StringRef Line = *LineIt; local 37 Line = Line.ltrim(' '); 39 if (Line.startswith("#") || Line.empty()) 43 Line.split(Parts, ' ', /*MaxSplits*/-1, /*KeepEmpty*/false); 47 "found '" + Line + "'");
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/ |
H A D | scudo_termination.cpp | 35 void NORETURN CheckFailed(const char *File, int Line, const char *Condition, argument 38 File, Line, Condition, Value1, Value2);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_powerpc64.cpp | 37 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) 38 asm volatile("dcbf 0, %0" : : "r"(Line)); 41 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) 42 asm volatile("icbi 0, %0" : : "r"(Line));
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | SymbolRemappingReader.h | 71 SymbolRemappingParseError(StringRef File, int64_t Line, Twine Message) argument 72 : File(File), Line(Line), Message(Message.str()) {} 75 OS << File << ':' << Line << ": " << Message; 82 int64_t getLineNum() const { return Line; } 89 int64_t Line; member in class:llvm::SymbolRemappingParseError
|
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/ |
H A D | aslascii.c | 212 Status.Line = 1; 253 Byte, Status.Line, Status.Offset); 267 Byte, Status.Line, Status.Offset); 276 Status.Line++; 358 Status->Line++; 395 Status->Line++;
|
H A D | prexpress.c | 161 char *Line); 206 * PARAMETERS: Line - Pointer into the current line 216 char *Line) 272 return (Line); 358 * PARAMETERS: Line - Pointer to integer expression 371 char *Line, 379 "**** Resolve #if: %s\n", Gbl_CurrentLineNumber, Line); 383 ExpandedLine = PrExpandMacros (Line); 215 PrExpandMacros( char *Line) argument 370 PrResolveIntegerExpression( char *Line, UINT64 *ReturnValue) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/LineEditor/ |
H A D | LineEditor.cpp | 259 const char *Line = ::el_gets(Data->EL, &LineLen); local 262 if (!Line || LineLen == 0) 267 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r')) 272 ::history(Data->Hist, &HE, H_ENTER, Line); 274 return std::string(Line, LineLen); 303 std::string Line; local 308 if (Line.empty()) 311 return Line; 313 Line [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_value.h | 46 u32 Line; member in class:__ubsan::SourceLocation 50 SourceLocation() : Filename(), Line(), Column() {} 51 SourceLocation(const char *Filename, unsigned Line, unsigned Column) argument 52 : Filename(Filename), Line(Line), Column(Column) {} 63 return SourceLocation(Filename, Line, OldColumn); 75 unsigned getLine() const { return Line; }
|
/freebsd-11-stable/sys/contrib/dev/acpica/components/utilities/ |
H A D | uttrack.c | 185 UINT32 Line); 192 UINT32 Line); 239 * Line - Line number of caller 252 UINT32 Line) 262 ACPI_WARNING ((Module, Line, 272 ACPI_WARNING ((Module, Line, 279 Allocation, Size, ACPI_MEM_MALLOC, Component, Module, Line); 308 * Line - Line numbe 248 AcpiUtAllocateAndTrack( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument 317 AcpiUtAllocateZeroedAndTrack( ACPI_SIZE Size, UINT32 Component, const char *Module, UINT32 Line) argument 386 AcpiUtFreeAndTrack( void *Allocation, UINT32 Component, const char *Module, UINT32 Line) argument 512 AcpiUtTrackAllocation( ACPI_DEBUG_MEM_BLOCK *Allocation, ACPI_SIZE Size, UINT8 AllocType, UINT32 Component, const char *Module, UINT32 Line) argument 615 AcpiUtRemoveAllocation( ACPI_DEBUG_MEM_BLOCK *Allocation, UINT32 Component, const char *Module, UINT32 Line) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | SourceCoverageViewText.cpp | 99 StringRef Line = L.Line; local 115 unsigned End = std::min(S->Col, static_cast<unsigned>(Line.size()) + 1); 119 << Line.substr(Col - 1, End - Col); 135 << Line.substr(Col - 1, Line.size() - Col + 1); 148 raw_ostream &OS, const LineCoverageStats &Line) { 149 if (!Line.isMapped()) { 153 std::string C = formatCount(Line.getExecutionCount()); 156 Line 147 renderLineCoverageColumn( raw_ostream &OS, const LineCoverageStats &Line) argument 172 renderRegionMarkers(raw_ostream &OS, const LineCoverageStats &Line, unsigned ViewDepth) argument [all...] |
H A D | SourceCoverageView.h | 57 unsigned Line; member in struct:llvm::InstantiationView 60 InstantiationView(StringRef FunctionName, unsigned Line, argument 62 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} 66 return LHS.Line < RHS.Line; 152 StringRef Line; member in struct:llvm::SourceCoverageView::LineRef 155 LineRef(StringRef Line, int64_t LineNo) : Line(Line), LineN argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | SerializedDiagnosticReader.h | 48 unsigned Line; member in struct:clang::serialized_diags::Location 52 Location(unsigned FileID, unsigned Line, unsigned Col, unsigned Offset) argument 53 : FileID(FileID), Line(Line), Col(Col), Offset(Offset) {}
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFDebugMacro.h | 27 uint64_t Line; member in union:llvm::DWARFDebugMacro::Entry::__anon1486
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugMacro.cpp | 38 OS << " - lineno: " << E.Line; 42 OS << " - lineno: " << E.Line; 86 E.Line = data.getULEB128(&Offset); 92 E.Line = data.getULEB128(&Offset);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | LLVMContextImpl.h | 279 unsigned Line; member in struct:llvm::MDNodeKeyImpl 285 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope, argument 287 : Line(Line), Column(Column), Scope(Scope), InlinedAt(InlinedAt), 290 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()), 294 return Line == RHS->getLine() && Column == RHS->getColumn() && 300 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode); 409 unsigned Line; member in struct:llvm::MDNodeKeyImpl 419 MDNodeKeyImpl(unsigned Tag, MDString *Name, Metadata *File, unsigned Line, argument 424 : Tag(Tag), Name(Name), File(File), Line(Lin 499 unsigned Line; member in struct:llvm::MDNodeKeyImpl 513 MDNodeKeyImpl(unsigned Tag, MDString *Name, Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, Metadata *Elements, unsigned RuntimeLang, Metadata *VTableHolder, Metadata *TemplateParams, MDString *Identifier, Metadata *Discriminator) argument 613 unsigned Line; member in struct:llvm::MDNodeKeyImpl 627 MDNodeKeyImpl(Metadata *Scope, MDString *Name, MDString *LinkageName, Metadata *File, unsigned Line, Metadata *Type, unsigned ScopeLine, Metadata *ContainingType, unsigned VirtualIndex, int ThisAdjustment, unsigned Flags, unsigned SPFlags, Metadata *Unit, Metadata *TemplateParams, Metadata *Declaration, Metadata *RetainedNodes, Metadata *ThrownTypes) argument 731 unsigned Line; member in struct:llvm::MDNodeKeyImpl 734 MDNodeKeyImpl(Metadata *Scope, Metadata *File, unsigned Line, unsigned Column) argument 886 unsigned Line; member in struct:llvm::MDNodeKeyImpl 894 MDNodeKeyImpl(Metadata *Scope, MDString *Name, MDString *LinkageName, Metadata *File, unsigned Line, Metadata *Type, bool IsLocalToUnit, bool IsDefinition, Metadata *StaticDataMemberDeclaration, Metadata *TemplateParams, uint32_t AlignInBits) argument 943 unsigned Line; member in struct:llvm::MDNodeKeyImpl 949 MDNodeKeyImpl(Metadata *Scope, MDString *Name, Metadata *File, unsigned Line, Metadata *Type, unsigned Arg, unsigned Flags, uint32_t AlignInBits) argument 982 unsigned Line; member in struct:llvm::MDNodeKeyImpl 984 MDNodeKeyImpl(Metadata *Scope, MDString *Name, Metadata *File, unsigned Line) argument 1036 unsigned Line; member in struct:llvm::MDNodeKeyImpl 1042 MDNodeKeyImpl(MDString *Name, Metadata *File, unsigned Line, MDString *GetterName, MDString *SetterName, unsigned Attributes, Metadata *Type) argument 1070 unsigned Line; member in struct:llvm::MDNodeKeyImpl 1073 MDNodeKeyImpl(unsigned Tag, Metadata *Scope, Metadata *Entity, Metadata *File, unsigned Line, MDString *Name) argument 1094 unsigned Line; member in struct:llvm::MDNodeKeyImpl 1098 MDNodeKeyImpl(unsigned MIType, unsigned Line, MDString *Name, MDString *Value) argument 1116 unsigned Line; member in struct:llvm::MDNodeKeyImpl 1120 MDNodeKeyImpl(unsigned MIType, unsigned Line, Metadata *File, Metadata *Elements) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerDataFlowTrace.cpp | 131 static bool ParseError(const char *Err, const std::string &Line) { argument 132 Printf("DataFlowTrace: parse error: %s: Line: %s\n", Err, Line.c_str()); 138 static bool ParseDFTLine(const std::string &Line, size_t *FunctionNum, argument 140 if (!Line.empty() && Line[0] != 'F') 142 size_t SpacePos = Line.find(' '); 144 return ParseError("no space in the trace line", Line); 145 if (Line.empty() || Line[ [all...] |