[LLVMbugs] [Bug 20984] New: Scope of function name incorrect when used with an identifier-list
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Sep 17 13:40:51 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20984
Bug ID: 20984
Summary: Scope of function name incorrect when used with an
identifier-list
Product: clang
Version: 3.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: seb.grindle at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
In the following snippet, clang incorrectly complains of an undeclared
identifier on line 2, despite the full declarator involving f finishing at the
end of line 1.
void f(a)
char a[sizeof &f];
{
}
--
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/20140917/4616482c/attachment.html>
More information about the llvm-bugs
mailing list