forked from qt-creator/qt-creator
Prepare the move of the semantic highlighting to the clang back end. We have it under tests too so it should be quite easy to make changes or corrections. Change-Id: I5706a8a06fde5a9ba2eba3a8ba62782102ac0bd3 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
43 lines
601 B
C++
43 lines
601 B
C++
|
|
|
|
|
|
namespace Namespace
|
|
{
|
|
class SuperClass;
|
|
/**
|
|
* A brief comment
|
|
*/
|
|
class SuperClass
|
|
{
|
|
SuperClass() = default;
|
|
SuperClass(int x) noexcept;
|
|
int Method();
|
|
virtual int VirtualMethod(int z);
|
|
virtual int AbstractVirtualMethod(int z) = 0;
|
|
bool ConstMethod() const;
|
|
static void StaticMethod();
|
|
operator int() const;
|
|
int operator ++() const;
|
|
~SuperClass();
|
|
|
|
private:
|
|
int y;
|
|
};
|
|
}
|
|
|
|
struct Struct final
|
|
{
|
|
virtual void FinalVirtualMethod() final;
|
|
};
|
|
|
|
union Union
|
|
{
|
|
|
|
};
|
|
|
|
struct NonFinalStruct
|
|
{
|
|
virtual void FinalVirtualMethod() final;
|
|
void function();
|
|
};
|