logic: expanded indexer to cover more template argument related elements
* recording of usages of FunctionProtoTypes (e.g. "int(void)" can be used as a template argument) * implemented solving names of dependent template specialization types (these are not as bad as it sounds ;) ) * implemented correct solving or decayed types * fixed: qualified type usages are recorded in the correct context * changed cxx indexer tests not to crash anymore when something is not found
This commit is contained in:
@@ -58,6 +58,19 @@ namespace utility
|
||||
);
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
bool containsElement(const std::vector<T>& v, const T& e)
|
||||
{
|
||||
for (const T& ve: v)
|
||||
{
|
||||
if (ve == e)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool intersectionPoint(Vec2f a1, Vec2f b1, Vec2f a2, Vec2f b2, Vec2f* i);
|
||||
|
||||
size_t digits(size_t n);
|
||||
|
||||
Reference in New Issue
Block a user