Home
last modified time | relevance | path

Searched refs:CurrentColor (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DTextDiagnostic.cpp1460 std::optional<llvm::raw_ostream::Colors> CurrentColor; in emitSnippet() local
1474 CurrentColor = std::nullopt; in emitSnippet()
1484 if (!CurrentColor || in emitSnippet()
1485 (CurrentColor && *CurrentColor != CharStyle->Color)) { in emitSnippet()
1487 CurrentColor = CharStyle->Color; in emitSnippet()
1489 } else if (CurrentColor) { in emitSnippet()
1491 CurrentColor = std::nullopt; in emitSnippet()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineScheduler.cpp940 unsigned CurrentColor = CurrentColoring[i]; in colorForceConsecutiveOrderInGroup() local
944 if (CurrentColor != PreviousColor) in colorForceConsecutiveOrderInGroup()
946 PreviousColor = CurrentColor; in colorForceConsecutiveOrderInGroup()
951 if (SeenColors.find(CurrentColor) == SeenColors.end()) in colorForceConsecutiveOrderInGroup()
954 if (PreviousColorSave != CurrentColor) in colorForceConsecutiveOrderInGroup()