[kdevelop] [Bug 375642] Code completion doesn't offer overrides if parent class derives from template parameter

2017-10-16 Thread Sven Brauch
https://bugs.kde.org/show_bug.cgi?id=375642

Sven Brauch  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1
 CC||m...@svenbrauch.de

--- Comment #4 from Sven Brauch  ---
Yes, this is an issue. It requires something like
https://reviews.llvm.org/D37650 to be merged in clang for fixing it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 375642] Code completion doesn't offer overrides if parent class derives from template parameter

2017-10-16 Thread vbspam
https://bugs.kde.org/show_bug.cgi?id=375642

--- Comment #3 from vbspam  ---
Forgot to mention using KDevelop 5.1.2 from Neon KDE 5.11. The similar behavior
observer also in KDevelop 5.0.4 and 5.1.80 from AppImage ran on the same
system.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 375642] Code completion doesn't offer overrides if parent class derives from template parameter

2017-10-16 Thread vbspam
https://bugs.kde.org/show_bug.cgi?id=375642

vbspam  changed:

   What|Removed |Added

 CC||vbs...@centrum.cz

--- Comment #2 from vbspam  ---
It does not work even for simple scenario like this:

file: ClassB.hpp>

#pragma once
template
class ClassB
{
public:
void DoSomething(int T)
{}
};


file: testClassB.cpp

#include 
void testClassB()
{
ClassB testInstance;
testInstance.DoSomething( //here it does not propose arguments
}


In complex C++11,14,17 constructs it stops working complete, leaving me only
with Automatic Word Completion nonsense.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdevelop] [Bug 375642] Code completion doesn't offer overrides if parent class derives from template parameter

2017-01-27 Thread Nicolás Alvarez
https://bugs.kde.org/show_bug.cgi?id=375642

--- Comment #1 from Nicolás Alvarez  ---
This is a broader issue than just code completion. If I manually declare an
override:
class SubDerived: public Derived {
virtual void baseMethod();
};

the tooltip for SubDerived::baseMethod doesn't say it's overriding a function
from Base. However, clang clearly understands what's going on, because if I use
"virtual void baseMethod() override;", it does *not* give the "marked
'override' but does not override" warning.

-- 
You are receiving this mail because:
You are watching all bug changes.