Skip to content

cmake: Fix clang-format detection#288

Merged
stotko merged 1 commit into
masterfrom
clang_format_detection
May 29, 2022
Merged

cmake: Fix clang-format detection#288
stotko merged 1 commit into
masterfrom
clang_format_detection

Conversation

@stotko

@stotko stotko commented May 29, 2022

Copy link
Copy Markdown
Owner

Detecting clang-format on Ubuntu 22.04 results in an empty version string since this flavor additionally adds the word Ubuntu to the beginning of the string to distinguish itself from the vanilla version. Fix our detection of the version string by allowing arbitrary strings before the important part that is actually parsed.

@stotko stotko added the bug label May 29, 2022
@stotko stotko added this to the 2.0.0 milestone May 29, 2022
@codecov

codecov Bot commented May 29, 2022

Copy link
Copy Markdown

Codecov Report

Merging #288 (b7503fc) into master (351cb82) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #288   +/-   ##
=======================================
  Coverage   97.45%   97.45%           
=======================================
  Files          31       31           
  Lines        2276     2276           
=======================================
  Hits         2218     2218           
  Misses         58       58           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 351cb82...b7503fc. Read the comment docs.

@stotko stotko merged commit 1aaf6be into master May 29, 2022
@stotko stotko deleted the clang_format_detection branch May 29, 2022 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant