Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add C++20 audit #2688

Merged
merged 10 commits into from
Mar 26, 2024
Merged

Add C++20 audit #2688

merged 10 commits into from
Mar 26, 2024

Conversation

niranjanyardi
Copy link
Contributor

@niranjanyardi niranjanyardi commented Mar 23, 2024

b/309847996
b/329683364

Refactor c++17 flags from all platforms used while building cobalt into a central place "default_cpp_standard" in starboard/build/config/BUILD.gn
Remove default config while compiling c++20 audit, add "cpp20_supported_config" in it's place.

Co-author: andrewsavage1

Copy link

codecov bot commented Mar 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.89%. Comparing base (60884cb) to head (04b9e73).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2688      +/-   ##
==========================================
+ Coverage   58.87%   58.89%   +0.01%     
==========================================
  Files        1908     1908              
  Lines       94447    94447              
==========================================
+ Hits        55604    55622      +18     
+ Misses      38843    38825      -18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@kaidokert kaidokert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last nit - otherwise lgtm

@niranjanyardi niranjanyardi force-pushed the cpp-20-check branch 2 times, most recently from 07292ef to 27dad7e Compare March 25, 2024 18:45
@niranjanyardi niranjanyardi mentioned this pull request Mar 25, 2024
@niranjanyardi niranjanyardi force-pushed the cpp-20-check branch 4 times, most recently from 4284057 to e138be0 Compare March 25, 2024 19:42
niranjanyardi and others added 9 commits March 25, 2024 15:28
b/309847996

Change-Id: Ib691cdcdf017bf2b902e2d795a2b29fdf4f1db8c
b/309847996

Change-Id: If8d17e5182f06577db9293be4defd8120aa77085
b/309847996

Change-Id: I3b9f16199bca34385d7e31adf2f541b3cf73bc83
b/309847996

Change-Id: I3263c57ac7c5fa9a84f4f6277e405cb2061993ad
b/309847996

Change-Id: I0c220570d67e692c00a52a9034fc935c2c204318
b/309847996

Change-Id: I538fa194d1a76c447ae328e320dd3f1d6c24613b
Change-Id: Idb7387e56036fb4b7cbda406b14f91b7e11759c6
Change-Id: I898f97286bc15229b8c8ce0f9670614ff0d4d274
Refactor linux, stub platform config flags into 'default_cpp_standard'.

Only apply `default_cpp_standard` to default toolchain, avoid applying
it to other toolchains like host_toolchain.

Change-Id: Ia533601ceb7a0bd8f906dbb5ba885191ea4adb04
Change-Id: I0944883eca106cc48de8f77474be9efbb0303c77
@niranjanyardi niranjanyardi merged commit 3f45e5c into youtube:main Mar 26, 2024
350 of 352 checks passed
@niranjanyardi niranjanyardi deleted the cpp-20-check branch March 26, 2024 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants