The assert statement says that the location must be a macroID, which is true. However, the while statements checks for that again, which is unnecessary, and gives warnings for returning a potentially non-initialized variable. For this reason, I suggest changing the while to a do-while loop while keeping the assert where it is.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
What do you mean? I test compiled this and there were no errors after running the test benchmark. Was I supposed to do something else?
Comment Actions
It is usually assumed that the patch author pushes this commit. In this case, it seems that you don't have commit access. You'll need to provide 'Name <email>' and I can push it for you.
This comment was removed by pi1024e.
This comment was removed by pi1024e.