forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/3.1'
Conflicts: qtcreator.pri qtcreator.qbs src/shared/qbs Change-Id: Iba59e41db72e2afdf594f1f7003215d7d8d1e6d3
This commit is contained in:
@@ -1857,6 +1857,20 @@ void CppToolsPlugin::test_completion_data()
|
||||
<< QLatin1String("val2")
|
||||
<< QLatin1String("val3"));
|
||||
|
||||
QTest::newRow("nested_anonymous_with___attribute__") << _(
|
||||
"struct Enclosing\n"
|
||||
"{\n"
|
||||
" struct __attribute__((aligned(8)))\n"
|
||||
" {\n"
|
||||
" int i;\n"
|
||||
" };\n"
|
||||
"};\n"
|
||||
"Enclosing e;\n"
|
||||
"@\n"
|
||||
) << _("e.") << (QStringList()
|
||||
<< QLatin1String("Enclosing")
|
||||
<< QLatin1String("i"));
|
||||
|
||||
QTest::newRow("enum_inside_namespace") << _(
|
||||
"namespace Ns\n"
|
||||
"{\n"
|
||||
|
||||
Reference in New Issue
Block a user