forked from qt-creator/qt-creator
C++11: Don't fail on = default and = delete initializers.
These are converted to IdExpr(SimpleName(token)) initializers. Change-Id: I1e85c4b261ca028dc75ffe6c00e1090630c2957c Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class C {
|
||||
C() = default;
|
||||
C(const C &) = delete;
|
||||
C &operator=(const C &) = default;
|
||||
|
||||
void foo() = delete;
|
||||
template <class T> void bar(T) = delete;
|
||||
};
|
||||
Reference in New Issue
Block a user