logic: implemented Python post processing to add ambiguous edges for unsolved symbols
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#include "ElementComponentKind.h"
|
||||
|
||||
int elementComponentKindToInt(ElementComponentKind kind)
|
||||
{
|
||||
return static_cast<int>(kind);
|
||||
}
|
||||
|
||||
ElementComponentKind intToElementComponentKind(int value)
|
||||
{
|
||||
const ElementComponentKind kinds[] = {
|
||||
ElementComponentKind::IS_AMBIGUOUS
|
||||
};
|
||||
|
||||
for (ElementComponentKind kind : kinds)
|
||||
{
|
||||
if (value == elementComponentKindToInt(kind))
|
||||
{
|
||||
return kind;
|
||||
}
|
||||
}
|
||||
|
||||
return ElementComponentKind::NONE;
|
||||
}
|
||||
Reference in New Issue
Block a user