clangparser: mark incomplete arrays as incomplete without failing
Attempting to complete a type which can't be completed currently fails oilgen.
For incomplete arrays, which we know are not possible to complete, return false
deliberately.
requireCompleteType likely needs to not fail in all cases in the future. For
now this works.
Test plan:
std::unique_ptr<long[]> used to fail the generation. Now it can
successfully codegen.
clangparser: mark incomplete arrays as incomplete without failing
Attempting to complete a type which can't be completed currently fails oilgen. For incomplete arrays, which we know are not possible to complete, return false deliberately.
requireCompleteType
likely needs to not fail in all cases in the future. For now this works.Test plan:
std::unique_ptr<long[]>
used to fail the generation. Now it can successfully codegen.