Component::CreatePointerDescriptor unconditionally expects a
vector of subscripts to be passed as an argument, but is called
from NAMELIST input with a null pointer. Make that argument
a nullable pointer, move it to the end of the argument list,
and give it a default value of nullptr.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, but I think it would look even better if the terminator were the first parameter (instead of breaking up the flow of the other parameters).
flang/runtime/type-info.cpp | ||
---|---|---|
174 | Why are you removing all the 0x? Seems off-topic. |
flang/runtime/type-info.cpp | ||
---|---|---|
174 | Because I noticed that the dump output had "0x0x" in it as I was debugging the problem, so I cleaned that up. |
Why are you removing all the 0x? Seems off-topic.