[LLVMbugs] [Bug 13786] New: incorrectly rejecting redeclaration of function via using-declaration at block scope
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Thu Sep  6 14:25:03 PDT 2012
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=13786
             Bug #: 13786
           Summary: incorrectly rejecting redeclaration of function via
                    using-declaration at block scope
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: richard-llvm at metafoo.co.uk
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified
Clang incorrectly rejects this:
int f(int a, int b, int c);
void g() {
  using ::f;
  int f(int a, int b, int c);
}
This does not violate [namespace.udecl]p14, because both declarations refer to
the same function.
-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
    
    
More information about the llvm-bugs
mailing list