Clang: Locator filter for the symbol database

There are no symbol queries for the locator filters. The signature
generation is still not implemented but for simple cases it should work.

Change-Id: Ic6b04fbe1e7e057892f194ac139615c47d6ec33f
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Marco Bubke
2018-04-09 13:30:30 +02:00
parent 18de1e3fcf
commit 4b0bcbdcb6
57 changed files with 649 additions and 1118 deletions

View File

@@ -145,4 +145,13 @@ TEST(SizedArray, ConstREndIteratorIsOneAfterRBeginForOneSizedArray)
ASSERT_THAT(std::next(array.crbegin(), 1), array.crend());
}
TEST(SizedArray, InitializerListSize)
{
SizedArray<char, 8> array{'a', 'b'};
auto size = array.size();
ASSERT_THAT(size, 2);
}
} // anonymous namespace