David Maas

Results 121 issues of David Maas

Right now there's no easy way to emit implementation detail-type types inside `CShapLibraryGenerator`. For constant arrays, we need some helper types for allowing them to be enumerated. Right now we...

Area-OutputGeneration

The analyzer should also error if a field/variable of a non-pointer type is created for these structs. Doubleplussame for `TranslatedUndefinedRecord` since they couldn't even be dereferenced in C++.

Language-C#
Concept-OutputFriendliness
Area-CodeAnalysis

In C++ it is possible and sometimes common to forward-declare structs to avoid including large header files when you only need a few types from them. For example, in `imgui_impl_dx12.h`:...

Area-Translation
EdgeCase

We only handle a handful of the possible `Type` variants exposed by ClangSharp. Below is a list of all of them, we need to eventually investigate all of the unchecked...

Concept-CppFeatures
Area-Transformation

To avoid unused parameter warnings, C++ developers sometimes leave parameters unnamed and put the name in a comment, [for example](https://github.com/NVIDIA/TensorRT/blob/f1d38b5456e15e2683a4513ea3cb14ed6d94cf53/include/NvInferRuntimeCommon.h#L636): ```cpp virtual void attachToContext(cudnnContext* /*cudnn*/, cublasContext* /*cublas*/, IGpuAllocator* /*allocator*/) TRTNOEXCEPT...

Area-Translation
Concept-OutputFriendliness
EdgeCase

Separate from const overloads, C++ also allows methods which differ only by the constness of parameters for some reason: ```cpp class MyClass { public: void MyFunction(void*); void MyFunction(const void*); };...

Bug
Concept-CppFeatures
Area-Transformation
Concept-OutputUsability

No attempt at supporting variable arguments was made in the original prototype. Supporting these will be non-trivial because if I remember right, the runtime doesn't officially support P/Invoke with variable...

Concept-CppFeatures
Area-Transformation
Area-OutputGeneration
Language-C#
Concept-OutputUsability

Right now Biohazrd requires the generator author to [manually invoke `InlineReferenceFileGenerator`](https://github.com/InfectedLibraries/InfectedPhysX/blob/main/InfectedPhysX.Generator/Program.cs#L121-L123) when a library contains inline methods which aren't exported. Right now there isn't anything indicating to the generator author...

Area-Verification
Area-OutputGeneration
Concept-OutputUsability
Concept-InlineExpectation

* [ ] Exporting of protected inline https://github.com/InfectedLibraries/Biohazrd/issues/162 * [ ] Making it easier to use protected methods correctly https://github.com/InfectedLibraries/Biohazrd/issues/105 * [ ] Calling abstract constructors https://github.com/InfectedLibraries/Biohazrd/issues/14 The more I...

Concept-CppFeatures
Concept-OutputUsability
Concept-OutputFriendliness

Can likely be solved at the same time as https://github.com/InfectedLibraries/Biohazrd/issues/14

Concept-CppFeatures
Concept-OutputUsability