clang-format/tidy version comparisons fail for some builds #12806
Labels
bug
Feature: Code Analysis
Related to integration with clang-tidy, cppcheck, cl.exe /analyze, etc.
Feature: Code Formatting
Language Service
Milestone
Bug Summary
When the user has installed their own version of clang-format or clang-tidy, but has not specified a specific path to the binary, we will compare one from the user's environment with the one we bundle in the extension to see which version is newer.
The logic currently expects the third token in the version query output to be the version number, but this is not always the case. I think a more robust solution might attempt to convert each token to a semver until we find a valid one in case there are more or less tokens in the output.
RE: #12718
The text was updated successfully, but these errors were encountered: