cppast bugfix

This commit is contained in:
ouczbs 2024-06-18 22:58:24 +08:00
parent b4ab4406fa
commit e3f111ec3c
2 changed files with 9 additions and 1 deletions

View File

@ -45,3 +45,10 @@ return new CppArrayType(elementType, (int)type.ArraySize);
return new CppUnexposedType(CXUtil.GetTypeSpelling(type)) { SizeOf = (int)type.SizeOf }; return new CppUnexposedType(CXUtil.GetTypeSpelling(type)) { SizeOf = (int)type.SizeOf };
``` ```
# CppElement
```c#
throw new NotImplementedException("Can not be here, not support type here!");
//throw new NotImplementedException("Can not be here, not support type here!");
```

View File

@ -58,7 +58,8 @@ namespace CppAst
} }
else else
{ {
throw new NotImplementedException("Can not be here, not support type here!"); //throw new NotImplementedException("Can not be here, not support type here!");
break;
} }
} }