[clang] Improve colors in status tracking web pages.

Use a consistent, more pastel color for unknown status
in papers and issues tracking pages
This commit is contained in:
Corentin Jabot 2024-01-11 10:19:44 +01:00
parent ee431288a6
commit 33e5db6e04
6 changed files with 1627 additions and 1625 deletions

View File

@ -1,5 +1,5 @@
# Note that the readability-identifier-naming check is disabled, there are too
# many violations in the codebase and they create too much noise in clang-tidy
# results.
Checks: '-readability-identifier-naming'
Checks: '-readability-identifier-naming, -misc-include*'
InheritParentConfig: true

View File

@ -12,7 +12,7 @@
.unreleased { background-color: #FFFF99 }
.full { background-color: #CCFF99 }
.na { background-color: #DDDDDD }
.unknown { background-color: #FF55FF }
.unknown { background-color: #EBCAFE }
.open * { color: #AAAAAA }
//.open { filter: opacity(0.2) }
tr:target { background-color: #FFFFBB }
@ -35,7 +35,7 @@
<p>The implementation status for defect reports against the C Standard are
currently under investigation. Any defect report whose status in Clang is
currently unknown will be marked in <span class="unknown">magenta</span>.</p>
currently unknown will be marked in <span class="unknown">purple</span>.</p>
<p>The <a href="https://github.com/llvm/llvm-project/issues/">LLVM bug tracker</a> uses
the "c", "c99", "c11", "c17", and "c23" labels to track known bugs with Clang's language

View File

@ -9,7 +9,7 @@
.none { background-color: #FFCCCC }
.partial { background-color: #FFE0B0 }
.unreleased { background-color: #FFFF99 }
.unknown { background-color: #FF55FF }
.unknown { background-color: #DDAEF7 }
.full { background-color: #CCFF99 }
.na { background-color: #DDDDDD }
:target { background-color: #FFFFBB; outline: #DDDD55 solid thin; }

File diff suppressed because it is too large Load Diff

View File

@ -94,6 +94,7 @@ out_file.write('''\
<link type="text/css" rel="stylesheet" href="content.css">
<style type="text/css">
.none { background-color: #FFCCCC }
.unknown { background-color: #EBCAFE }
.partial { background-color: #FFE0B0 }
.unreleased { background-color: #FFFF99 }
.full { background-color: #CCFF99 }
@ -157,7 +158,7 @@ def availability(issue):
avail_suffix = ' (C++20 onwards)'
if status == 'unknown':
avail = 'Unknown'
avail_style = ' class="none"'
avail_style = ' class="unknown"'
elif re.match('^[0-9]+\.?[0-9]*', status):
avail = 'Clang %s' % status
if float(status) > latest_release:

View File

@ -647,7 +647,7 @@ if ( LLVM_COMPILER_IS_GCC_COMPATIBLE )
# crash if LLVM is built with GCC and LTO enabled (#57740). Until
# these bugs are fixed, we need to disable dead store eliminations
# based on object lifetime.
add_flag_if_supported("-fno-lifetime-dse" CMAKE_CXX_FLAGS)
# add_flag_if_supported("-fno-lifetime-dse" CMAKE_CXX_FLAGS)
endif ( LLVM_COMPILER_IS_GCC_COMPATIBLE )
# Modules enablement for GCC-compatible compilers: