Index: lang/clang/files/patch-tools_clang_lib_Headers_Makefile =================================================================== --- lang/clang/files/patch-tools_clang_lib_Headers_Makefile (revision 302694) +++ lang/clang/files/patch-tools_clang_lib_Headers_Makefile (working copy) Property changes on: lang/clang/files/patch-tools_clang_lib_Headers_Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: lang/clang/files/patch-tools_clang_include_clang_Analysis_Analyses_FormatString.h =================================================================== --- lang/clang/files/patch-tools_clang_include_clang_Analysis_Analyses_FormatString.h (revision 302694) +++ lang/clang/files/patch-tools_clang_include_clang_Analysis_Analyses_FormatString.h (working copy) Property changes on: lang/clang/files/patch-tools_clang_include_clang_Analysis_Analyses_FormatString.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: lang/clang/files/patch-tools_clang_tools_scan-build_scan-build =================================================================== --- lang/clang/files/patch-tools_clang_tools_scan-build_scan-build (revision 302694) +++ lang/clang/files/patch-tools_clang_tools_scan-build_scan-build (working copy) Property changes on: lang/clang/files/patch-tools_clang_tools_scan-build_scan-build ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: lang/clang/files/patch-tools_clang_lib_Sema_SemaDeclCXX.cpp =================================================================== --- lang/clang/files/patch-tools_clang_lib_Sema_SemaDeclCXX.cpp (revision 0) +++ lang/clang/files/patch-tools_clang_lib_Sema_SemaDeclCXX.cpp (working copy) @@ -0,0 +1,37 @@ + +$FreeBSD$ + +--- tools/clang/lib/Sema/SemaDeclCXX.cpp.orig ++++ tools/clang/lib/Sema/SemaDeclCXX.cpp +@@ -10795,14 +10795,23 @@ + + void Sema::MarkVirtualMembersReferenced(SourceLocation Loc, + const CXXRecordDecl *RD) { +- for (CXXRecordDecl::method_iterator i = RD->method_begin(), +- e = RD->method_end(); i != e; ++i) { +- CXXMethodDecl *MD = *i; +- +- // C++ [basic.def.odr]p2: +- // [...] A virtual member function is used if it is not pure. [...] +- if (MD->isVirtual() && !MD->isPure()) +- MarkFunctionReferenced(Loc, MD); ++ // Mark all functions which will appear in RD's vtable as used. ++ CXXFinalOverriderMap FinalOverriders; ++ RD->getFinalOverriders(FinalOverriders); ++ for (CXXFinalOverriderMap::const_iterator I = FinalOverriders.begin(), ++ E = FinalOverriders.end(); ++ I != E; ++I) { ++ for (OverridingMethods::const_iterator OI = I->second.begin(), ++ OE = I->second.end(); ++ OI != OE; ++OI) { ++ assert(OI->second.size() > 0 && "no final overrider"); ++ CXXMethodDecl *Overrider = OI->second.front().Method; ++ ++ // C++ [basic.def.odr]p2: ++ // [...] A virtual member function is used if it is not pure. [...] ++ if (!Overrider->isPure()) ++ MarkFunctionReferenced(Loc, Overrider); ++ } + } + + // Only classes that have virtual bases need a VTT. Property changes on: lang/clang/files/patch-tools_clang_lib_Sema_SemaDeclCXX.cpp ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: lang/clang/files/patch-tools_clang_lib_Analysis_PrintfFormatString.cpp =================================================================== --- lang/clang/files/patch-tools_clang_lib_Analysis_PrintfFormatString.cpp (revision 302694) +++ lang/clang/files/patch-tools_clang_lib_Analysis_PrintfFormatString.cpp (working copy) Property changes on: lang/clang/files/patch-tools_clang_lib_Analysis_PrintfFormatString.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: lang/clang/files/patch-tools_clang_lib_Sema_SemaChecking.cpp =================================================================== --- lang/clang/files/patch-tools_clang_lib_Sema_SemaChecking.cpp (revision 302694) +++ lang/clang/files/patch-tools_clang_lib_Sema_SemaChecking.cpp (working copy) Property changes on: lang/clang/files/patch-tools_clang_lib_Sema_SemaChecking.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: lang/clang/Makefile =================================================================== --- lang/clang/Makefile (revision 302694) +++ lang/clang/Makefile (working copy) @@ -7,7 +7,7 @@ PORTNAME= clang PORTVERSION= 3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src