[LLVMbugs] [Bug 7420] New: Using declaration not handled

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jun 19 05:09:43 PDT 2010


           Summary: Using declaration not handled
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: gui-tuning at yandex.ru
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


clang version : svn version dated by 18.06.2010
code in !!.cpp ripped from ISO/IEC 14882:2003(E): 7.3.3 The using declaration
(first example) with my minor changes.

CommandLine :
  clang++ -cc1 -emit-pch -x c++ -v -ferror-limit 3 -w   "!!.cpp" -o !ast

and after execution get :
fatal error: error in backend: unexpected declaration kind `Using`
// -----------------------------------------------------------
and after producing asm listing
clang++ -cc1 -S -x c++ -v -ferror-limit 3 -w   "!!.cpp" -o !ast

we get next call chain:

main -> D::f -> B::f.

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