Function hasPtrOrReferenceInfFunc() of bugprone-infinite-loop is a generic function which could be reused in another checks. This patch moves this function into a newly created utility module.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
This function is only used once in the file, so may as well remove this line and just qualify its call further down.