[LLVMbugs] [Bug 18718] New: need better diagnostics for previous declaration if prior declaration was implicit

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 3 17:17:31 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18718

            Bug ID: 18718
           Summary: need better diagnostics for previous declaration if
                    prior declaration was implicit
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: richard-llvm at metafoo.co.uk
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Various parts of clang generate 'previous declaration is here' notes in various
ad-hoc ways. Sometimes these notes incorrectly say 'definition'. Sometimes they
use the 'implicit' form for an implicit prior declaration, sometimes they don't
(and sometimes the implicit form handles the case where the implicit
declaration has no location, and sometimes it doesn't - PR15409). It's a mess.

We should factor out a single way of diagnosing a prior declaration and
consistently use it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140204/0fce9669/attachment.html>


More information about the llvm-bugs mailing list