[LLVMbugs] [Bug 11813] New: SmallVector protected constructor breaks clang SemaTemplateDeduction.cpp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 20 11:49:38 PST 2012


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

             Bug #: 11813
           Summary: SmallVector protected constructor breaks clang
                    SemaTemplateDeduction.cpp
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: chisophugis at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


compilation error output from Clang:
SemaTemplateDeduction.cpp:1337:52: error: calling a protected constructor of
      class 'llvm::SmallVectorImpl<clang::DeducedTemplateArgument>'
          SmallVectorImpl<DeducedTemplateArgument> DeducedOrig(0);
                                                   ^
/home/sean/pg/others/llvm/include/llvm/ADT/SmallVector.h:275:12: note: declared
      protected here
  explicit SmallVectorImpl(unsigned N)
           ^

"git blame" pinpoints the change to this commit:

commit 3feccbaaee2fe639fd089cdb78ad623f662a5796
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date:   Fri Jan 20 16:39:46 2012 +0000

    Protect SmallVectorImpl's constructor and a few other methods that aren't
meant to be public.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148550
91177308-0d34-0410-b5e6-96231b3b80d8

-- 
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