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

            Bug ID: 44876
           Summary: -Wdocumentation crash in Sema::checkReturnsCommand for
                    typedef'ed function pointers
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangb...@nondot.org
          Reporter: lap...@synopsys.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

The following test causes a crash with -Wdocumentation

typedef int funcptr();
/**
 * @return something
 */
funcptr *pFunc;


clang -Wdocumentation -c reproducer.cpp

-- 
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