Clang: Add disabled test case for HighlightingMarks

Constructors are not recognized by libClang as callable expressions.

Task-number: QTCREATORBUG-17101
Change-Id: I40eb46c07475e3b2e48bc8117de073732005f8b9
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Marco Bubke
2016-10-12 12:16:41 +02:00
parent 78c3590705
commit b196368785
2 changed files with 24 additions and 0 deletions

View File

@@ -1059,6 +1059,16 @@ TEST_F(HighlightingMarks, NonConstPointerArgumentAsMemberOfClass)
HasTwoTypes(HighlightingType::Field, HighlightingType::OutputArgument));
}
TEST_F(HighlightingMarks, DISABLED_NonConstReferenceArgumentConstructor)
{
const auto infos = translationUnit.highlightingMarksInRange(sourceRange(540, 57));
infos[2];
ASSERT_THAT(infos[3],
HasTwoTypes(HighlightingType::LocalVariable, HighlightingType::OutputArgument));
}
TEST_F(HighlightingMarks, DISABLED_EnumerationTypeDef)
{
const auto infos = translationUnit.highlightingMarksInRange(sourceRange(424, 41));