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

            Bug ID: 28885
           Summary: Regression concerning inheriting constructor
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangb...@nondot.org
          Reporter: abramo.bagn...@bugseng.com
                CC: dgre...@apple.com, llvm-bugs@lists.llvm.org
    Classification: Unclassified

The following typescript shows that AST for UsingDecl constructor name has been
recently changed in a wrong way. It is possible it is related to recent changes
in inheriting constructors implementation.

$ cat p.cc
struct A {
    A();
};

struct B : A {
  using A::A;
};

$ clang++-3.8 -cc1 -ast-print -std=c++11 p.cc
struct A {
    A();
};
struct B : A {
    using A::A;
};
$ clang++-3.9 -cc1 -ast-print -std=c++11 p.cc
struct A {
    A();
};
struct B : A {
    using A::B;
};

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to