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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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 <[email protected]>
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs