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

Index was out of range error when using CMake project #1363

Open
aoqia194 opened this issue Jun 14, 2024 · 0 comments
Open

Index was out of range error when using CMake project #1363

aoqia194 opened this issue Jun 14, 2024 · 0 comments

Comments

@aoqia194
Copy link

aoqia194 commented Jun 14, 2024

When using any CMake project, running clang-tidy will cause the following error:
image

The following settings were used with clang-power-tools' clang-tidy feature:
image

Using different clang-tidy checks (or even none) did not resolve this issue. Nor did using a custom header filter, or custom executable to my local install of LLVM's clang-tidy.
The format feature in clang-power-tools (using clang-format) is unaffected by this bug and is not reproducable.

clang-power-tools version: 2024.4.1 - installed via Visual Studio's Manage Extensions feature.
LLVM version(s): 18.1.6 (installed locally), 14.0.6 (installed via LLVM tab in extension)
Visual Studio version: Visual Studio Community 2022 [build 17.10.2]

EDIT: Typo

@aoqia194 aoqia194 changed the title Index was out of range error when using CMake project in Visual Studio 2022 Index was out of range error when using CMake project Jun 14, 2024
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

No branches or pull requests

1 participant