CLion 2017.2 EAP: fixes in C++ parser and Clang-Tidy integration, C++17 in the New Project wizard and more
Hi,
Meet our new CLion 2017.2 EAP (build 172.3095.8)!
Clang-Tidy integration improvements
CLion 2017.2 EAP started with the Clang-Tidy integration. Clang-Tidy warnings are shown the same way as CLion’s own built-in code inspections. Similarly you can use Alt+Enter
to apply Clang-Tidy quick-fixes where available.
This EAP build fixes some issues related to this integration:
- CLion used to continue highlighting the code and showing the warning for a couple of seconds after the quick-fix was applied. This is partially fixed now. The problem only left for the cases when the fix and the warning are located in various lines, or when the user calls Undo for a quick-fix.
- False inspection is fixed (CPP-9404).
- Clang-Tidy checks invoked from CLion are now generally more accurate (CLion now passes proper compilation settings, user and system headers, and other information to Clang-Tidy).
C++ support
This build provides fixes for:
- Issue with constructor inheritance with using and type alias names (CPP-2807).
- False warning about parameter type mismatch for
const boost::optional<int>
andint
(CPP-5852). - And a couple of regressions introduced recently (CPP-9834, CPP-9991).
Performance
We continue our work on performance improvements in CLion. This EAP build brings fixes for laggy Enter and Backspace handle on some projects (when, for example, cursor enters a new block, moves to a new line and causes the code indent).
And more
C++17 is just around the corner. Besides, CLion now includes bundled CMake 3.8, that supports set(CMAKE_CXX_STANDARD 17)
command to set C++17 for the project. Therefore we’ve added C++17 option to the list of standards in the New Project… wizard:
The corresponding set
command will be added to CMakeLists.txt generated for your new project in this case.
Check the full release notes here.
Your CLion Team
The Drive to Develop