Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 8.0.1
-
None
-
Linux, Creator from the installer, clangd with background indexing is enabled
-
a09e87b3d (master), 7c0bc1384 (master), 524f9e063 (master)
Description
Consider a simple project only consisting of a main.cpp file
#include <QCoreApplication> struct S { template <typename In> void foo(In in) { (void)in; } void bar(int in) { (void)in; } }; int main(int argc, char *argv[]) { }
For bar, triggering the refactor menu will offer the "Move definition outside Class" action; for the templated foo, this however doesn't happen.
Attachments
For Gerrit Dashboard: QTCREATORBUG-28186 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
446018,2 | CppEditor: Make "Move Definition" available for member templates | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
446019,2 | CppEditor: Prevent showing unwanted function template parameters | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
446020,2 | CPlusPlus: Do not try to qualify the names of template parameters | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |