Instead of manually checking for procedure-like details in Symbol,
defer it to IsProcedure function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Is this change motivated by a test case for which the predicate is wrong, or does it just seem like a good idea?
Comment Actions
I just thought it was a good idea, I tried it, ran the tests and they passed, so I submitted it to the review. I'm not sure that it is a correct change.
If there were a test case, I would've definitely added it to the test suite.
Comment Actions
This is probably not an issue so feel free to ignore it. IsPointer is working on the symbol but IsProcedure internally gets the ultimate symbol, hence there is a difference in what each function is working on and also a difference from the existing implementation.