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.cpp1463 std::optional<llvm::raw_ostream::Colors> CurrentColor; in emitSnippet() local
1477 CurrentColor = std::nullopt; in emitSnippet()
1487 if (!CurrentColor || in emitSnippet()
1488 (CurrentColor && *CurrentColor != CharStyle->Color)) { in emitSnippet()
1490 CurrentColor = CharStyle->Color; in emitSnippet()
1492 } else if (CurrentColor) { in emitSnippet()
1494 CurrentColor = std::nullopt; in emitSnippet()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineScheduler.cpp951 unsigned CurrentColor = CurrentColoring[i]; in colorForceConsecutiveOrderInGroup() local
955 if (CurrentColor != PreviousColor) in colorForceConsecutiveOrderInGroup()
957 PreviousColor = CurrentColor; in colorForceConsecutiveOrderInGroup()
962 if (SeenColors.find(CurrentColor) == SeenColors.end()) in colorForceConsecutiveOrderInGroup()
965 if (PreviousColorSave != CurrentColor) in colorForceConsecutiveOrderInGroup()