Home
last modified time | relevance | path

Searched refs:Previous (Results 1 – 25 of 116) sorted by relevance

12345

/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTDeserializationListener.h70 ASTDeserializationListener *Previous; variable
75 ASTDeserializationListener *Previous, bool DeletePrevious) in DelegatingDeserializationListener() argument
76 : Previous(Previous), DeletePrevious(DeletePrevious) {} in DelegatingDeserializationListener()
79 delete Previous; in ~DelegatingDeserializationListener() local
88 if (Previous) in ReaderInitialized()
89 Previous->ReaderInitialized(Reader); in ReaderInitialized()
93 if (Previous) in IdentifierRead()
94 Previous->IdentifierRead(ID, II); in IdentifierRead()
97 if (Previous) in MacroRead()
98 Previous->MacroRead(ID, MI); in MacroRead()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DContinuationIndenter.cpp42 const FormatToken *Previous = Tok.getPreviousNonComment(); in shouldUnindentNextOperator() local
43 return Previous && (Previous->getPrecedence() == prec::Assignment || in shouldUnindentNextOperator()
44 Previous->isOneOf(tok::kw_return, TT_RequiresClause)); in shouldUnindentNextOperator()
128 return Tok.isMemberAccess() && Tok.Previous && Tok.Previous->closesScope(); in startsSegmentOfBuilderTypeCall()
142 assert(Current.Previous); in startsNextOperand()
143 const auto &Previous = *Current.Previous; in startsNextOperand() local
144 return isAlignableBinaryOperator(Previous) && !Current.isTrailingComment(); in startsNextOperand()
164 (LessTok.Previous && LessTok.Previous->is(tok::equal)))); in opensProtoMessageField()
300 const FormatToken &Previous = *Current.Previous; in canBreak() local
302 assert(&Previous == Current.Previous); in canBreak()
[all …]
H A DTokenAnnotator.cpp67 if (Left->Previous && Left->Previous->is(tok::greater) && in isLambdaParameterList()
68 Left->Previous->MatchingParen && in isLambdaParameterList()
69 Left->Previous->MatchingParen->is(TT_TemplateOpener)) { in isLambdaParameterList()
70 Left = Left->Previous->MatchingParen; in isLambdaParameterList()
74 return Left->Previous && Left->Previous->is(tok::r_square) && in isLambdaParameterList()
75 Left->Previous->MatchingParen && in isLambdaParameterList()
76 Left->Previous->MatchingParen->is(TT_LambdaLSquare); in isLambdaParameterList()
91 if (Tok.Previous && Tok.Previous->is(tok::at)) in isCppAttribute()
153 auto *Left = CurrentToken->Previous; // The '<'. in parseAngle()
160 const auto *BeforeLess = Left->Previous; in parseAngle()
[all …]
H A DFormatToken.cpp65 if (LBrace->Previous && LBrace->Previous->is(tok::equal)) in isBlockIndentedInitRBrace()
90 if (!State.NextToken || !State.NextToken->Previous) in formatAfterToken()
98 State.NextToken->Previous->getPreviousNonComment(); in formatAfterToken()
108 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken()
128 if (Item < Commas.size() && State.NextToken->Previous == Commas[Item]) { in formatAfterToken()
220 !ItemEnd->Previous->isTrailingComment()) { in precomputeFormattingInfos()
227 ItemEnd = Token->MatchingParen->Previous; in precomputeFormattingInfos()
325 assert(Current.Previous); in startsNextParameter()
326 const auto &Previous = *Current.Previous; in startsNextParameter() local
333 return Previous.is(tok::comma) && !Current.isTrailingComment() && in startsNextParameter()
[all …]
H A DQualifierAlignmentFixer.cpp423 for (const auto *Prev = TypeToken->Previous; in analyzeLeft()
424 Prev && Prev->is(tok::coloncolon); Prev = Prev->Previous) { in analyzeLeft()
426 Prev = Prev->Previous; in analyzeLeft()
454 const FormatToken *const Previous = Tok->getPreviousNonComment(); in analyzeLeft() local
455 if (!Previous) in analyzeLeft()
460 if (Tok->is(tok::identifier) && Previous->is(tok::coloncolon)) in analyzeLeft()
463 const FormatToken *const PrePrevious = Previous->getPreviousNonComment(); in analyzeLeft()
466 if (Tok->is(tok::identifier) && Previous->is(tok::kw_template) && in analyzeLeft()
509 const FormatToken *Previous = nullptr; in analyzeLeft() local
510 while ((Previous = TypeToken->getPreviousNonComment()) && in analyzeLeft()
[all …]
H A DWhitespaceManager.cpp265 !(i == 0 && Change.Tok->Previous && in calculateLineBreakInformation()
266 Change.Tok->Previous->is(TT_ConditionalExpr) && in calculateLineBreakInformation()
267 Change.Tok->Previous->is(tok::colon)); in calculateLineBreakInformation()
413 if (CurrentChange.Tok->Previous && in AlignTokenSequence()
414 CurrentChange.Tok->Previous->is(TT_ConditionalExpr)) { in AlignTokenSequence()
478 for (int Previous = i - 1; in AlignTokenSequence() local
479 Previous >= 0 && Changes[Previous].Tok->is(TT_PointerOrReference); in AlignTokenSequence()
480 --Previous) { in AlignTokenSequence()
481 assert(Changes[Previous].Tok->isPointerOrReference()); in AlignTokenSequence()
482 if (Changes[Previous].Tok->isNot(tok::star)) { in AlignTokenSequence()
[all …]
H A DUnwrappedLineParser.cpp338 const FormatToken *Previous = Tokens->getPreviousToken(); in precededByCommentOrPPDirective() local
339 return Previous && Previous->is(tok::comment) && in precededByCommentOrPPDirective()
340 (Previous->IsMultiline || Previous->NewlinesBefore > 0); in precededByCommentOrPPDirective()
392 } else if (FormatTok->Previous && in parseLevel()
393 FormatTok->Previous->ClosesRequiresClause) { in parseLevel()
487 const FormatToken *PrevTok = Tok->Previous; in calculateBraceTypes()
610 !FormatTok->Previous && NextTok->is(tok::eof) && in calculateBraceTypes()
715 if (auto Prev = OpeningBrace->Previous; in mightFitOnOneLine()
839 const bool WrappedOpeningBrace = !Tok->Previous; in parseBlock()
846 const FormatToken *Previous = Tokens->getPreviousToken(); in parseBlock() local
[all …]
H A DUnwrappedLineFormatter.cpp460 const FormatToken *Previous = PreviousLine->Last; in tryFitMultipleLinesInOne() local
461 if (Previous) { in tryFitMultipleLinesInOne()
462 if (Previous->is(tok::comment)) in tryFitMultipleLinesInOne()
463 Previous = Previous->getPreviousNonComment(); in tryFitMultipleLinesInOne()
464 if (Previous) { in tryFitMultipleLinesInOne()
465 if (Previous->is(tok::greater) && !PreviousLine->InPPDirective) in tryFitMultipleLinesInOne()
467 if (Previous->is(tok::identifier)) { in tryFitMultipleLinesInOne()
469 Previous->getPreviousNonComment(); in tryFitMultipleLinesInOne()
987 assert(!B.First->Previous); in join()
993 B.First->Previous = A.Last; in join()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenCommonISel.cpp134 MachineBasicBlock::iterator Previous = SplitPoint; in findSplitPointForStackProtector() local
136 --Previous; in findSplitPointForStackProtector()
137 } while (Previous != Start && Previous->isDebugInstr()); in findSplitPointForStackProtector()
140 Previous->getOpcode() == TII.getCallFrameDestroyOpcode()) { in findSplitPointForStackProtector()
158 --Previous; in findSplitPointForStackProtector()
159 if (Previous->isCall()) in findSplitPointForStackProtector()
161 } while(Previous->getOpcode() != TII.getCallFrameSetupOpcode()); in findSplitPointForStackProtector()
163 return Previous; in findSplitPointForStackProtector()
166 while (MIIsInTerminatorSequence(*Previous)) { in findSplitPointForStackProtector()
167 SplitPoint = Previous; in findSplitPointForStackProtector()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DPGOCtxProfReader.h47 IndexNode *Previous = nullptr; variable
52 Next->Previous = Previous; in ~IndexNode()
53 if (Previous) in ~IndexNode()
54 Previous->Next = Next; in ~IndexNode()
62 Previous = Other.Previous; in IndexNode()
66 Other.Next->Previous = this; in IndexNode()
67 if (Other.Previous) in IndexNode()
68 Other.Previous->Next = this; in IndexNode()
72 Other.Previous = nullptr; in IndexNode()
/freebsd/contrib/llvm-project/libunwind/src/
H A DFrameHeaderCache.hpp94 CacheEntry *Previous = nullptr; in find() local
104 if (Previous) { in find()
105 // If there is no Previous, then Current is already the in find()
107 Previous->Next = Current->Next; in find()
114 Previous = Current; in find()
130 CacheEntry *Previous = nullptr; in add() local
132 Previous = Current; in add()
135 Previous->Next = nullptr; in add()
/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Duttrack.c490 return (Element->Previous); in AcpiUtFindAllocation()
568 ((ACPI_DEBUG_MEM_BLOCK *)(MemList->ListHead))->Previous = in AcpiUtTrackAllocation()
573 Allocation->Previous = NULL; in AcpiUtTrackAllocation()
582 Allocation->Previous = Element; in AcpiUtTrackAllocation()
586 (Element->Next)->Previous = Allocation; in AcpiUtTrackAllocation()
652 if (Allocation->Previous) in AcpiUtRemoveAllocation()
654 (Allocation->Previous)->Next = Allocation->Next; in AcpiUtRemoveAllocation()
663 (Allocation->Next)->Previous = Allocation->Previous; in AcpiUtRemoveAllocation()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp105 SourceLocation Loc, PresumedLoc Previous) { in PrintDifference() argument
112 return Previous; in PrintDifference()
115 if (Previous.isInvalid() || in PrintDifference()
116 strcmp(PLoc.getFilename(), Previous.getFilename()) != 0) { in PrintDifference()
119 } else if (Previous.isInvalid() || PLoc.getLine() != Previous.getLine()) { in PrintDifference()
126 auto PrintedLoc = PrintDifference(OS, SM, SM.getExpansionLoc(Loc), Previous); in PrintDifference()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dedit_distance.h80 unsigned Previous = y - 1; variable
85 Row[x] = std::min(Previous + (CurItem == Map(ToArray[x - 1]) ? 0u : 1u),
90 Row[x] = Previous;
93 Previous = OldRow;
/freebsd/sys/contrib/dev/acpica/components/events/
H A Devgpeutil.c335 GpeXrupt->Previous = NextGpeXrupt; in AcpiEvGetGpeXruptBlock()
408 if (GpeXrupt->Previous) in AcpiEvDeleteGpeXrupt()
410 GpeXrupt->Previous->Next = GpeXrupt->Next; in AcpiEvDeleteGpeXrupt()
421 GpeXrupt->Next->Previous = GpeXrupt->Previous; in AcpiEvDeleteGpeXrupt()
H A Devgpeblk.c226 GpeBlock->Previous = NextGpeBlock; in AcpiEvInstallGpeBlock()
280 if (!GpeBlock->Previous && !GpeBlock->Next) in AcpiEvDeleteGpeBlock()
295 if (GpeBlock->Previous) in AcpiEvDeleteGpeBlock()
297 GpeBlock->Previous->Next = GpeBlock->Next; in AcpiEvDeleteGpeBlock()
306 GpeBlock->Next->Previous = GpeBlock->Previous; in AcpiEvDeleteGpeBlock()
/freebsd/sys/contrib/dev/acpica/components/hardware/
H A Dhwpci.c441 ACPI_PCI_DEVICE *Previous; in AcpiHwDeletePciList() local
447 Previous = Next; in AcpiHwDeletePciList()
448 Next = Previous->Next; in AcpiHwDeletePciList()
449 ACPI_FREE (Previous); in AcpiHwDeletePciList()
/freebsd/sys/contrib/dev/acpica/compiler/
H A Dprmacros.c262 AslGbl_DefineList->Previous = DefineInfo; in PrAddDefine()
301 if (DefineInfo->Previous) in PrRemoveDefine()
303 (DefineInfo->Previous)->Next = DefineInfo->Next; in PrRemoveDefine()
312 (DefineInfo->Next)->Previous = DefineInfo->Previous; in PrRemoveDefine()
H A Dcvdisasm.c191 ACPI_COMMENT_NODE *Previous; in CvPrintOneCommentList() local
196 Previous = Current; in CvPrintOneCommentList()
205 AcpiOsReleaseObject(AcpiGbl_RegCommentCache, Previous); in CvPrintOneCommentList()
/freebsd/contrib/file/magic/Magdir/
H A Ddump10 >8 bedate x Previous dump %s,
29 #>8 bedate x Previous dump %s,
48 >904 beqdate x Previous dump %s,
87 >2 medate x Previous dump %s,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DRedeclarable.h98 using Previous = Decl *; variable
103 using NotKnownLatest = llvm::PointerUnion<Previous, UninitializedLatest>;
113 DeclLink(PreviousTag, decl_type *D) : Link(NotKnownLatest(Previous(D))) {} in DeclLink()
122 if (auto *Prev = dyn_cast<Previous>(NKL)) in getPrevious()
136 Link = Previous(D); in setPrevious()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp1486 static bool AllowOverloadingOfFunction(const LookupResult &Previous, in AllowOverloadingOfFunction() argument
1502 if (Previous.getResultKind() == LookupResultKind::FoundOverloaded) { in AllowOverloadingOfFunction()
1503 return llvm::any_of(Previous, [](const NamedDecl *ND) { in AllowOverloadingOfFunction()
1506 } else if (Previous.getResultKind() == LookupResultKind::Found) in AllowOverloadingOfFunction()
1507 return Previous.getFoundDecl()->hasAttr<OverloadableAttr>(); in AllowOverloadingOfFunction()
2414 LookupResult &Previous) { in filterNonConflictingPreviousTypedefDecls() argument
2420 if (Previous.empty()) in filterNonConflictingPreviousTypedefDecls()
2423 LookupResult::Filter Filter = Previous.makeFilter(); in filterNonConflictingPreviousTypedefDecls()
4525 LookupResult &Previous) { in mergeTypeWithPrevious() argument
4534 if (Previous.isShadowed()) in mergeTypeWithPrevious()
[all …]
/freebsd/sys/contrib/dev/acpica/common/
H A Ddmswitch.c197 ACPI_PARSE_OBJECT_LIST *Previous; in AcpiDmProcessSwitch() local
244 Previous = Current = AcpiGbl_TempListHead; in AcpiDmProcessSwitch()
263 Previous->Next = Current->Next; in AcpiDmProcessSwitch()
273 Previous = Current; in AcpiDmProcessSwitch()
/freebsd/sys/contrib/dev/acpica/components/disassembler/
H A Ddmresrc.c309 BOOLEAN Previous = FALSE; in AcpiDmBitList() local
324 if (Previous) in AcpiDmBitList()
329 Previous = TRUE; in AcpiDmBitList()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp286 Decl *Previous, Decl *Canon);
288 static void attachPreviousDecl(ASTReader &Reader, Decl *D, Decl *Previous,
292 Decl *Previous);
3429 auto &Previous = Reader.AnonymousDeclarationsForMerging[CanonDC]; in getAnonymousDeclForMerging()
3430 if (Index < Previous.size() && Previous[Index]) in getAnonymousDeclForMerging()
3431 return Previous[Index]; in getAnonymousDeclForMerging() local
3438 if (Previous.size() == Number) in getAnonymousDeclForMerging()
3439 Previous.push_back(cast<NamedDecl>(ND->getCanonicalDecl())); in getAnonymousDeclForMerging()
3441 Previous[Numbe in getAnonymousDeclForMerging()
3455 auto &Previous = Reader.AnonymousDeclarationsForMerging[CanonDC]; setAnonymousDeclForMerging() local
3587 mergeInheritableAttributes(ASTReader & Reader,Decl * D,Decl * Previous) mergeInheritableAttributes() argument
3610 attachPreviousDeclImpl(ASTReader & Reader,Redeclarable<DeclT> * D,Decl * Previous,Decl * Canon) attachPreviousDeclImpl() argument
3620 attachPreviousDeclImpl(ASTReader & Reader,Redeclarable<VarDecl> * D,Decl * Previous,Decl * Canon) attachPreviousDeclImpl() argument
3648 attachPreviousDeclImpl(ASTReader & Reader,Redeclarable<FunctionDecl> * D,Decl * Previous,Decl * Canon) attachPreviousDeclImpl() argument
3743 checkMultipleDefinitionInNamedModules(ASTReader & Reader,Decl * D,Decl * Previous) checkMultipleDefinitionInNamedModules() argument
3810 attachPreviousDecl(ASTReader & Reader,Decl * D,Decl * Previous,Decl * Canon) attachPreviousDecl() argument
[all...]

12345