https://bugs.llvm.org/show_bug.cgi?id=48130

            Bug ID: 48130
           Summary: Clang Callgraph does not represent self-recursive
                    std::function as such
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: lebedev...@gmail.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@metafoo.co.uk

https://godbolt.org/z/Tdzo5d

visit() is self-recursive there, yet apparently callgraph doesn't believe so.
In turn, clang-tidy's no-recursion check fails to diagnose it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to