Details
-
User Story
-
Resolution: Out of scope
-
P2: Important
-
None
-
None
-
None
Description
Qt Creator should be able to correctly parse code that use latest C++20, like the spaceship operator:
#include <compare> struct MyInt { int value; MyInt(int value): value{value} { } auto operator<=>(const MyInt&) const = default; };
Currently results in
error: 'operator<=' cannot be the name of a variable or data member
(TODO: We should be able to find a repo with some testbed for C++ 20 language features)
Attachments
Issue Links
- depends on
-
QTCREATORBUG-23637 Update Qt Creator's Clang/LLVM to version 10.0
- Closed