CLion 2018.2 EAP: argument selection defects inspection
Please welcome CLion 2018.2 EAP (build 182.3569.10)!
As usual, a patch-update will be available shortly for those using the previous EAP build, and you can also use Toolbox app or snap packages (in the case of Ubuntu) to get this build. No license is required and the build is free to use, but it will expire within 30 days of the build date.
New inspection: argument selection defects
With this new inspection CLion can detect situations when wrong arguments are passed to a function call (for example, the wrong order of the arguments of the same type). The algorithm relies on various heuristics and some description can be found here. If argument and parameter names are meaningful, the results can be really impressive and useful:
The inspection settings are located in Settings/Preferences | Editor | Inspections | C/C++ | General | Argument selection defects:
Mind that the inspection is working on top of the experimental clangd-based language engine, so it requires the clang-tidy via a clangd option to be turned on. Among other limitations, note that the inspections is not triggered for the following cases:
- At least one of the parameters have one or two letters in the name (to avoid false positives).
- At least one of the parameters contain “swap/inverse/rotate/backward/flip” substrings.
Besides, this build brings the following improvements:
- It fixes the issue with failing build with WSL due to whitespace in path.
- It bundles CMake v3.12.
- If the compilation database for the project you try to open in CLion includes some incorrect compile command, CLion now reports a corresponding error.
It’s also worth mentioning that previous EAP build enabled clangd as an additional C++ language engine in the experimental mode and your feedback and issue reports are very important at this stage.
Full release notes are available by the link.
Your CLion Team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
CLion 2023.3 Release Candidate
CLion 2023.3 is on its way, and the release candidate for v2023.3 is already available! To install CLion 2023.3 RC (build 233.11799.171), download it from the website, update via the Toolbox App, or use this snap package (for Ubuntu). You need an active subscription or a trial license to use CLi…
CLion 2023.3 Goes Beta
The Beta version of CLion Classic 2023.3 is now available with key improvements and changes that are expected in the upcoming release. Download build 233.11799.37 from our website, via the Toolbox App, or as a snap package for Ubuntu. If you are using CLion Nova, note that we do not plan to release…
CLion 2023.3 EAP6: Support for Intel Syntax in Assembly Views
Grab the fresh CLion 2023.3 EAP5 build (233.11555.2) from our website, via the Toolbox App, or as a snap package if you are using Ubuntu, or update via a patch if you’re using the previous EAP build. DOWNLOAD CLION EAP Intel syntax in the Assembly view Previously, CLion 2023.3 EAP added an Assembly…
CLion 2023.3 EAP5 With the Enhanced Bazel for CLion Plugin and Memory Leak Analysis
According to our Developer Ecosystem survey, 57% of C++ developers used CMake in 2022. However, there are other project models and build systems that are also popular in the C++ ecosystem. Just a couple of weeks ago, we added Meson support in CLion 2023.3. If you use Meson in your projects, conside…