notskm / vscode-clang-tidy

MIT License
48 stars 26 forks source link

Command 'Clang-Tidy: Lint File' resulted in an error (Cannot read property 'forEach' of undefined) #41

Open allzero-kwon opened 4 years ago

allzero-kwon commented 4 years ago

When i try to run Clang-Tidy, it occurs below error. Is there anything else I need to install before running this?

Command 'Clang-Tidy: Lint File' resulted in an error (Cannot read property 'forEach' of undefined)

Currently,. I installed the things to run CPP on my ubuntu.

sayo9394 commented 4 years ago

@DayoungKwon i too had this error. adding the following to settings.json "seems" to have fixed it; "clang-tidy.checks": ["-*","modernize*"]