HomeSort by: relevance | last modified time | path
    Searched refs:Previous (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/clang/lib/Format/
ContinuationIndenter.cpp 116 return Tok.isMemberAccess() && Tok.Previous && Tok.Previous->closesScope();
122 const FormatToken &Previous = *Current.Previous;
128 return Previous.is(tok::comma) && !Current.isTrailingComment() &&
129 ((Previous.isNot(TT_CtorInitializerComma) ||
132 (Previous.isNot(TT_InheritanceComma) ||
143 (LessTok.Previous && LessTok.Previous->is(tok::equal))));
279 const FormatToken &Previous = *Current.Previous
    [all...]
TokenAnnotator.cpp 48 if (Left->Previous && Left->Previous->is(tok::greater) &&
49 Left->Previous->MatchingParen &&
50 Left->Previous->MatchingParen->is(TT_TemplateOpener))
51 Left = Left->Previous->MatchingParen;
54 return Left->Previous && Left->Previous->is(tok::r_square) &&
55 Left->Previous->MatchingParen &&
56 Left->Previous->MatchingParen->is(TT_LambdaLSquare);
83 if (!CurrentToken || !CurrentToken->Previous)
    [all...]
FormatToken.cpp 79 if (State.NextToken == nullptr || !State.NextToken->Previous)
87 State.NextToken->Previous->getPreviousNonComment();
96 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth;
115 // If the previous token was one of our commas, we are now on the next item.
116 if (Item < Commas.size() && State.NextToken->Previous == Commas[Item]) {
202 !ItemEnd->Previous->isTrailingComment()) {
209 ItemEnd = Token->MatchingParen->Previous;
WhitespaceManager.cpp 244 !(i == 0 && Change.Tok->Previous &&
245 Change.Tok->Previous->is(TT_ConditionalExpr) &&
246 Change.Tok->Previous->is(tok::colon));
298 // Compare current token to previous non-comment token to ensure whether
353 if (Changes[i].Tok->Previous &&
354 Changes[i].Tok->Previous->is(TT_ConditionalExpr))
379 // non-matching tokens, finalize the previous sequence.
592 if (Current->SpacesRequiredBefore == 0 || !Current->Previous)
595 Current = Current->Previous;
600 Current = Current->MatchingParen->Previous;
    [all...]
UnwrappedLineFormatter.cpp 374 const FormatToken *Previous = I[-1]->Last;
375 if (Previous) {
376 if (Previous->is(tok::comment))
377 Previous = Previous->getPreviousNonComment();
378 if (Previous) {
379 if (Previous->is(tok::greater) && !I[-1]->InPPDirective)
381 if (Previous->is(tok::identifier)) {
383 Previous->getPreviousNonComment();
736 assert(!B.First->Previous);
    [all...]
TokenAnnotator.h 50 // Calculate Next and Previous for all tokens. Note that we must overwrite
51 // Next and Previous for every token, as previous formatting runs might have
53 First->Previous = nullptr;
60 I->Tok->Previous = Current;
UnwrappedLineParser.cpp 65 // \p Previous. The original column of \p MinColumnToken is used to determine
66 // whether \p FormatTok is indented enough to the right to continue \p Previous.
68 const FormatToken *Previous,
70 if (!Previous || !MinColumnToken)
75 isLineComment(*Previous) &&
447 const FormatToken *PrevTok = Tok->Previous;
1003 FormatToken *Previous = FormatTok;
1014 bool PreviousMustBeValue = mustBeJSIdentOrValue(Keywords, Previous);
1016 Previous->is(TT_TemplateString) && Previous->TokenText.endswith("${")
    [all...]
FormatToken.h 428 /// The previous token in the unwrapped line.
429 FormatToken *Previous = nullptr;
472 return Previous->closesScopeAfterBlock();
484 /// following the ``Previous`` pointers, ignoring comments.
629 /// Returns the previous token ignoring comments.
631 FormatToken *Tok = Previous;
633 Tok = Tok->Previous;
717 if (is(tok::comment) && Previous)
718 return Previous->endsSequenceInternal(K1);
724 if (is(tok::comment) && Previous)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
edit_distance.h 56 // iteration, and the top-left entry is stored in Previous.
76 unsigned Previous = y - 1;
81 Previous + (FromArray[y-1] == ToArray[x-1] ? 0u : 1u),
85 if (FromArray[y-1] == ToArray[x-1]) Row[x] = Previous;
88 Previous = OldRow;
  /src/sys/external/bsd/acpica/dist/events/
evgpeutil.c 227 GpeXrupt->Previous = NextGpeXrupt;
300 if (GpeXrupt->Previous)
302 GpeXrupt->Previous->Next = GpeXrupt->Next;
306 /* No previous, update list head */
313 GpeXrupt->Next->Previous = GpeXrupt->Previous;
evgpeblk.c 118 GpeBlock->Previous = NextGpeBlock;
172 if (!GpeBlock->Previous && !GpeBlock->Next)
187 if (GpeBlock->Previous)
189 GpeBlock->Previous->Next = GpeBlock->Next;
198 GpeBlock->Next->Previous = GpeBlock->Previous;
  /src/external/apache2/llvm/dist/clang/lib/Basic/
SourceLocation.cpp 107 SourceLocation Loc, PresumedLoc Previous) {
114 return Previous;
117 if (Previous.isInvalid() ||
118 strcmp(PLoc.getFilename(), Previous.getFilename()) != 0) {
121 } else if (Previous.isInvalid() || PLoc.getLine() != Previous.getLine()) {
128 auto PrintedLoc = PrintDifference(OS, SM, SM.getExpansionLoc(Loc), Previous);
  /src/sys/external/bsd/acpica/dist/utilities/
uttrack.c 363 * than previous allocations.
382 return (Element->Previous);
460 ((ACPI_DEBUG_MEM_BLOCK *)(MemList->ListHead))->Previous =
465 Allocation->Previous = NULL;
474 Allocation->Previous = Element;
478 (Element->Next)->Previous = Allocation;
544 if (Allocation->Previous)
546 (Allocation->Previous)->Next = Allocation->Next;
555 (Allocation->Next)->Previous = Allocation->Previous;
    [all...]
  /src/sys/external/bsd/acpica/dist/hardware/
hwpci.c 129 * NOTE: Created 08/2010. Replaces the previous OSL AcpiOsDerivePciId
333 ACPI_PCI_DEVICE *Previous;
339 Previous = Next;
340 Next = Previous->Next;
341 ACPI_FREE (Previous);
409 * If the previous device was a bridge, use the previous
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
FrontendAction.cpp 44 ASTDeserializationListener *Previous;
49 ASTDeserializationListener *Previous, bool DeletePrevious)
50 : Previous(Previous), DeletePrevious(DeletePrevious) {}
53 delete Previous;
57 if (Previous)
58 Previous->ReaderInitialized(Reader);
62 if (Previous)
63 Previous->IdentifierRead(ID, II);
66 if (Previous)
    [all...]
  /src/sys/external/bsd/acpica/dist/compiler/
prmacros.c 154 AslGbl_DefineList->Previous = DefineInfo;
193 if (DefineInfo->Previous)
195 (DefineInfo->Previous)->Next = DefineInfo->Next;
204 (DefineInfo->Next)->Previous = DefineInfo->Previous;
cvdisasm.c 83 ACPI_COMMENT_NODE *Previous;
88 Previous = Current;
97 AcpiOsReleaseObject(AcpiGbl_RegCommentCache, Previous);
427 * If the previous file is a descendent of the current file,
429 * to the previous have been emitted.
  /src/sys/external/bsd/acpica/dist/disassembler/
dmresrc.c 201 BOOLEAN Previous = FALSE;
216 if (Previous)
221 Previous = TRUE;
310 /* Finish a previous StartDependentFns */
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
Redeclarable.h 36 // - the "previous" (temporal) element in the chain
43 // - Most links in the chain point to previous, except the link out of
46 // - Elements are called "first", "previous", "latest" or
98 using Previous = Decl *;
101 /// we've not yet set the previous decl or there isn't one), or to a known
102 /// previous declaration.
103 using NotKnownLatest = llvm::PointerUnion<Previous, UninitializedLatest>;
113 DeclLink(PreviousTag, decl_type *D) : Link(NotKnownLatest(Previous(D))) {}
125 if (NKL.is<Previous>())
126 return static_cast<decl_type*>(NKL.get<Previous>());
    [all...]
  /src/sys/external/bsd/acpica/dist/common/
dmswitch.c 89 ACPI_PARSE_OBJECT_LIST *Previous;
136 Previous = Current = AcpiGbl_TempListHead;
155 Previous->Next = Current->Next;
165 Previous = Current;
acfileio.c 86 ACPI_NEW_TABLE_DESC *Previous = Current;
92 AcpiOsFree (Previous);
93 Previous = Current;
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaDecl.cpp 1446 /// extension, in C when the previous function is already an
1449 static bool AllowOverloadingOfFunction(LookupResult &Previous,
1455 if (Previous.getResultKind() == LookupResult::FoundOverloaded)
1458 return Previous.getResultKind() == LookupResult::Found &&
1459 (Previous.getFoundDecl()->hasAttr<OverloadableAttr>() ||
2157 LookupResult &Previous) {
2163 if (Previous.empty())
2166 LookupResult::Filter Filter = Previous.makeFilter();
2229 /// same name and scope as a previous declaration 'Old'. Figure out
2556 // This function copies an attribute Attr from a previous declaration to th
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
EHStreamer.h 57 unsigned Previous;
  /src/external/apache2/llvm/dist/llvm/lib/MC/
StringTableBuilder.cpp 148 StringRef Previous;
151 if (Previous.endswith(S)) {
165 Previous = S;
  /src/external/apache2/llvm/dist/clang/include/clang/Lex/
MacroInfo.h 299 /// Previous macro directive for the same identifier, or nullptr.
300 MacroDirective *Previous = nullptr;
324 /// Set previous definition of the macro with the same name.
325 void setPrevious(MacroDirective *Prev) { Previous = Prev; }
327 /// Get previous definition of the macro with the same name.
328 const MacroDirective *getPrevious() const { return Previous; }
330 /// Get previous definition of the macro with the same name.
331 MacroDirective *getPrevious() { return Previous; }

Completed in 188 milliseconds

1 2 3