From 03b9ac22544095682de68dfa2f16a606e98623dd Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Tue, 29 Nov 2016 23:20:11 +0100 Subject: [PATCH] Revert "Step 2: base tools: lang/clang" This reverts commit f5c35536fcd8604dc467e186c285aa5ab12631c7. --- lang/clang/Makefile | 137 +-- lang/clang/Makefile.common | 124 +++ lang/clang/PLIST | 928 ++--------------- lang/clang/buildlink3.mk | 7 +- lang/clang/distinfo | 17 +- .../patch-include_llvm_Config_config.h.in | 966 ------------------ .../patch-tools_clang-format_CMakeLists.txt | 15 + 7 files changed, 249 insertions(+), 1945 deletions(-) create mode 100644 lang/clang/Makefile.common delete mode 100644 lang/clang/patches/patch-include_llvm_Config_config.h.in create mode 100644 lang/clang/patches/patch-tools_clang-format_CMakeLists.txt diff --git a/lang/clang/Makefile b/lang/clang/Makefile index a6192a1d5..6ad7cc791 100644 --- a/lang/clang/Makefile +++ b/lang/clang/Makefile @@ -1,130 +1,17 @@ -# $NetBSD: Makefile,v 1.26 2014/02/27 17:35:35 adam Exp $ +# $NetBSD: Makefile,v 1.43 2016/03/10 15:01:52 tnn Exp $ -DISTNAME= clang-3.4 -PKGREVISION= 1 -CATEGORIES= lang -MASTER_SITES= ${MASTER_SITE_MINIX} -DISTFILES= llvm-${PKGVERSION_NOREV}.minix.src.tar.gz \ - libcxx-${PKGVERSION_NOREV}.minix.src.tar.gz \ - clang-${PKGVERSION_NOREV}.minix.src.tar.gz +PKGNAME= ${DISTNAME:S/.src//:S/cfe/clang/} +PYTHON_FOR_BUILD_ONLY= yes -MAINTAINER= ben@minix3.org -HOMEPAGE= http://llvm.org/ -COMMENT= Low Level Virtual Machine compiler infrastructure -LICENSE= modified-bsd +CMAKE_ARGS+= -DCLANG_ENABLE_STATIC_ANALYZER=OFF -WRKSRC= ${WRKDIR}/llvm-${PKGVERSION_NOREV} +# There are some contrib utilities written in python here. +# We don't want to add a python runtime dependency for that. +CHECK_INTERPRETER_SKIP+= share/clang/* -USE_LANGUAGES= c c++ -USE_TOOLS+= chown gmake groff pod2html pod2man -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --disable-assertions -CONFIGURE_ARGS+= --disable-bindings # disable OCaml -CONFIGURE_ARGS+= --disable-timestamps -CONFIGURE_ARGS+= --enable-optimized -#CONFIGURE_ARGS+= --enable-shared +.PHONY: install-clang-cpp +post-install: install-clang-cpp +install-clang-cpp: + ${LN} -s clang ${DESTDIR}${PREFIX}/bin/clang-cpp -MAKE_DIRS+= etc/llvm - -INSTALLATION_DIRS= bin lib libexec - -CHECK_PORTABILITY_SKIP= utils/buildit/build_llvm - -TEST_TARGET= check unittests - -.include "../../mk/bsd.prefs.mk" - -.if ${_OPSYS_SHLIB_TYPE} == "dylib" -PLIST_SUBST+= SOEXT="dylib" -.else -PLIST_SUBST+= SOEXT="so" -.endif - -.include "../../mk/compiler.mk" - -.if ${OPSYS} == "SunOS" && !empty(PKGSRC_COMPILER:Mgcc) -# This should probably be in hacks, but since clang hardcodes gcc paths -# put this here so it can be removed when clang matures. -# cxa_finalize.o is no longer necessary with libc.so >= ILLUMOS_0.5 -TEST_ILLUMOS_3849!=\ - if /usr/bin/elfdump -v /lib/libc.so |\ - ${GREP} -q 'ILLUMOS_0.5' ; then \ - ${ECHO} 1; \ - else ${ECHO} 0; \ - fi - -#doesn't seem to be needed anymore, but may be dependent on -#a recent version of solaris (illumos) ld. -# -#CFLAGS.SunOS+= -mimpure-text - -SUBST_CLASSES+= fix-paths -SUBST_STAGE.fix-paths= pre-configure -SUBST_MESSAGE.fix-paths= Fixing absolute gcc paths for SunOS. -SUBST_FILES.fix-paths= tools/clang/lib/Driver/Tools.cpp -. if defined(_GCC_ARCHDIR) -SUBST_SED.fix-paths= -e 's,/usr/gcc/4.5/lib/gcc/,${_GCC_ARCHDIR}/,g' -. else -LIBGCCDIR!= ${CC} -print-libgcc-file-name -ARCHDIR:= ${LIBGCCDIR:H} -SUBST_SED.fix-paths= -e 's,/usr/gcc/4.5/lib/gcc/,${ARCHDIR}/,g' -. endif -SUBST_SED.fix-paths+= -e '/^.*i386.*getVendorName.*$$/{d;}' -SUBST_SED.fix-paths+= -e '/^.*GCCLibPath +=$$/d' -SUBST_SED.fix-paths+= -e 's,/4.5.2/amd64/,amd64/,g' -SUBST_SED.fix-paths+= -e 's,"as","gas",g' -. if exists(/usr/bin/ld) -SUBST_SED.fix-paths+= -e 's,getToolChain().GetProgramPath("ld"),"/usr/bin/ld",g' -. else -SUBST_SED.fix-paths+= -e 's,getToolChain().GetProgramPath("ld"),"/usr/ccs/bin/ld",g' -. endif -. if ${TEST_ILLUMOS_3849} -SUBST_SED.fix-paths+= -e 's,^.*cxa_finalize.*$$, ; //cxa_finalize.o,g' -. endif -.endif - -post-extract: - mv ${WRKDIR}/libcxx-${PKGVERSION_NOREV} ${WRKSRC}/projects/libcxx - mv ${WRKDIR}/clang-${PKGVERSION_NOREV} ${WRKSRC}/tools/clang -.if ${OPSYS} == "SunOS" - ${ECHO} "int sun_ld_needs_a_symbol=0;" >> ${WRKSRC}/lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.cpp -.endif - -.if ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix" -. if ${PKGSRC_COMPILER} == "clang" -# Can't build libc++ with GCC45 -# Seems it is not installed, so for now just skip it, and go with the defaults. -#CONFIGURE_ARGS+= --enable-libcpp -. endif -CONFIGURE_ARGS+= --disable-threads -CONFIGURE_ARGS+= --with-binutils-include=${LOCALBASE}/include/ -CONFIGURE_ENV+= ac_cv_func_getrusage=no ac_cv_func_setrlimit=no - -post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/* ${DESTDIR}${PREFIX}/bin/ - ${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \ - ${WRKSRC}/tools/clang/tools/scan-build/c++-analyzer \ - ${WRKSRC}/tools/clang/tools/scan-build/scan-build \ - ${WRKSRC}/tools/clang/tools/scan-view/scan-view \ - ${DESTDIR}${PREFIX}/bin - ${MKDIR} ${DESTDIR}${PYSITELIB} - ${MKDIR} ${DESTDIR}${PYSITELIB}/Resources - ${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-view/*.py \ - ${DESTDIR}${PYSITELIB} - ${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-view/Resources/* \ - ${DESTDIR}${PYSITELIB}/Resources - ${MKDIR} ${DESTDIR}${PREFIX}/share - ${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/scanview.css ${DESTDIR}${PREFIX}/share - ${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/sorttable.js ${DESTDIR}${PREFIX}/share - -. if ${PKGSRC_COMPILER} == "gcc" -# When the package is compiled using GCC we depend on libstdc++ -# Requires changes in the package to symlink libstdc++.so* in /usr/pkg/lib -#.include "../../lang/gcc45/buildlink3.mk" -. endif -.include "../../devel/binutils/buildlink3.mk" -.endif # ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix" - -.include "../../lang/python/tool.mk" -.include "../../textproc/libxml2/buildlink3.mk" -.include "../../mk/bsd.pkg.mk" +.include "../../lang/clang/Makefile.common" diff --git a/lang/clang/Makefile.common b/lang/clang/Makefile.common new file mode 100644 index 000000000..c59b79f87 --- /dev/null +++ b/lang/clang/Makefile.common @@ -0,0 +1,124 @@ +# $NetBSD: Makefile.common,v 1.14 2016/07/26 12:43:51 wiz Exp $ +# used by lang/clang/Makefile +# used by lang/clang-static-analyzer/Makefile + +DISTNAME= cfe-3.8.1.src +CATEGORIES= lang devel +MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ +EXTRACT_SUFX= .tar.xz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://clang.llvm.org/ +COMMENT= C language family frontend for LLVM +LICENSE= modified-bsd + +DISTINFO_FILE= ${.CURDIR}/../../lang/clang/distinfo +PATCHDIR= ${.CURDIR}/../../lang/clang/patches +CONFIGURE_DIRS= ${WRKDIR}/build +CMAKE_ARG_PATH= ${WRKSRC} + +USE_LANGUAGES= c c++ +USE_CMAKE= yes +GCC_REQD+= 4.8 + +CMAKE_ARGS+= -DLLVM_CONFIG=${LLVM_CONFIG_PATH} +CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release +CMAKE_ARGS+= -DCMAKE_C_COMPILER=gcc +CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++ +# XXX can't disable static-analyzer without also disabling ARCMT +CMAKE_ARGS+= -DCLANG_ENABLE_ARCMT=OFF + +REPLACE_PERL+= test/make_test_dirs.pl +REPLACE_PERL+= tools/scan-build/bin/scan-build +REPLACE_PERL+= tools/scan-build/libexec/c++-analyzer +REPLACE_PERL+= tools/scan-build/libexec/ccc-analyzer +REPLACE_PERL+= utils/TestUtils/pch-test.pl +REPLACE_PERL+= utils/analyzer/reducer.pl +REPLACE_PERL+= utils/analyzer/update_plist_test.pl +REPLACE_PERL+= www/demo/index.cgi + +REPLACE_PYTHON+= bindings/python/examples/cindex/cindex-dump.py +REPLACE_PYTHON+= bindings/python/examples/cindex/cindex-includes.py +REPLACE_PYTHON+= docs/tools/dump_ast_matchers.py +REPLACE_PYTHON+= docs/tools/dump_format_style.py +REPLACE_PYTHON+= tools/clang-format/clang-format-diff.py +REPLACE_PYTHON+= tools/clang-format/git-clang-format +REPLACE_PYTHON+= tools/scan-build/bin/set-xcode-analyzer +REPLACE_PYTHON+= tools/scan-view/bin/scan-view +REPLACE_PYTHON+= utils/ABITest/ABITestGen.py +REPLACE_PYTHON+= utils/CIndex/completion_logger_server.py +REPLACE_PYTHON+= utils/CaptureCmd +REPLACE_PYTHON+= utils/CmpDriver +REPLACE_PYTHON+= utils/FindSpecRefs +REPLACE_PYTHON+= utils/FuzzTest +REPLACE_PYTHON+= utils/TestUtils/deep-stack.py +REPLACE_PYTHON+= utils/analyzer/CmpRuns.py +REPLACE_PYTHON+= utils/analyzer/SATestAdd.py +REPLACE_PYTHON+= utils/analyzer/SATestBuild.py +REPLACE_PYTHON+= utils/analyzer/SumTimerInfo.py +REPLACE_PYTHON+= utils/analyzer/ubiviz +REPLACE_PYTHON+= utils/check_cfc/check_cfc.py +REPLACE_PYTHON+= utils/check_cfc/obj_diff.py +REPLACE_PYTHON+= utils/check_cfc/test_check_cfc.py +REPLACE_PYTHON+= utils/token-delta.py +REPLACE_PYTHON+= www/builtins.py + +.include "../../mk/compiler.mk" + +.if ${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:Mclang) +# command to check if clang is using libc++ or libstdc++ +LIBCPP_CHECK_SH= printf "\#include \n\#ifdef _LIBCPP_VERSION\nYES\n\#endif" | ${CLANGBASE}/bin/clang++ -x c++ -E - 2>&1 | grep YES || true +.else +LIBCPP_CHECK_SH= echo NO +.endif + +# patch NetBSD::GetCXXStdlibType +.if ${OPSYS} == "NetBSD" && empty(LIBCPP_CHECK_SH:sh:MYES) +SUBST_CLASSES+= libcxx +SUBST_STAGE.libcxx= pre-configure +SUBST_MESSAGE.libcxx= Patching toolchain to use libstdc++ (matching the host compiler) +SUBST_FILES.libcxx= lib/Driver/ToolChains.cpp +SUBST_FILES.libcxx+= lib/Driver/Tools.cpp +SUBST_SED.libcxx= -e 's,(Major >= 7 || (Major == 6 && Minor == 99 && Micro >= 49) || Major == 0),(false),' + +CMAKE_ARGS+= -DCLANG_DEFAULT_CXX_STDLIB:STRING="libstdc++" +.endif + +# 3.8.0 -> 3.8 +LLVM_MAJOR= ${PKGVERSION_NOREV:C/^([0-9]+\.[0-9]+)\..*$/\1/} +PLIST_SUBST+= LLVM_MAJOR=${LLVM_MAJOR} + +PLIST_VARS+= notdylib +.if ${_OPSYS_SHLIB_TYPE} == "dylib" +SOEXT= dylib +.else +SOEXT= so +PLIST.notdylib= yes +.endif +PLIST_SUBST+= SOEXT=${SOEXT} + +PKG_OPTIONS_VAR= PKG_OPTIONS.clang +PKG_SUPPORTED_OPTIONS= tests + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mtests) +CMAKE_ARGS+= -DLLVM_INCLUDE_TESTS=ON +CMAKE_ARGS+= -DCLANG_INCLUDE_TESTS=ON +TEST_TARGET= clang-test +TEST_ENV+= LD_LIBRARY_PATH=${WRKDIR}/build/lib +.include "../../devel/googletest/buildlink3.mk" +.else +CMAKE_ARGS+= -DLLVM_INCLUDE_TESTS=OFF +CMAKE_ARGS+= -DCLANG_INCLUDE_TESTS=OFF +.endif + +post-extract: + ${RUN} mkdir -p ${WRKDIR}/build + +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../lang/python/tool.mk" +DEPENDS+= llvm-${PKGVERSION_NOREV}{,nb*}:../../lang/llvm +.include "../../lang/llvm/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/lang/clang/PLIST b/lang/clang/PLIST index a8d0638a5..ad8d42946 100644 --- a/lang/clang/PLIST +++ b/lang/clang/PLIST @@ -1,157 +1,16 @@ -@comment $NetBSD: PLIST,v 1.12 2014/02/27 17:35:35 adam Exp $ -bin/bugpoint -bin/c++-analyzer +@comment $NetBSD: PLIST,v 1.18 2016/03/10 15:01:52 tnn Exp $ bin/c-index-test -bin/ccc-analyzer bin/clang bin/clang++ -bin/clang-check +bin/clang-${LLVM_MAJOR} +bin/clang-cl +bin/clang-cpp bin/clang-format -bin/clang-tblgen -bin/llc -bin/lli -bin/lli-child-target -bin/llvm-ar -bin/llvm-as -bin/llvm-bcanalyzer -bin/llvm-config -bin/llvm-cov -bin/llvm-diff -bin/llvm-dis -bin/llvm-dwarfdump -bin/llvm-extract -bin/llvm-link -bin/llvm-mc -bin/llvm-mcmarkup -bin/llvm-nm -bin/llvm-objdump -bin/llvm-ranlib -bin/llvm-readobj -bin/llvm-rtdyld -bin/llvm-size -bin/llvm-stress -bin/llvm-symbolizer -bin/llvm-tblgen -bin/macho-dump -bin/opt -include/c++/v1/CMakeLists.txt -include/c++/v1/__bit_reference -include/c++/v1/__config -include/c++/v1/__debug -include/c++/v1/__functional_03 -include/c++/v1/__functional_base -include/c++/v1/__functional_base_03 -include/c++/v1/__hash_table -include/c++/v1/__locale -include/c++/v1/__mutex_base -include/c++/v1/__split_buffer -include/c++/v1/__sso_allocator -include/c++/v1/__std_stream -include/c++/v1/__tree -include/c++/v1/__tuple -include/c++/v1/__tuple_03 -include/c++/v1/__undef_min_max -include/c++/v1/algorithm -include/c++/v1/array -include/c++/v1/atomic -include/c++/v1/bitset -include/c++/v1/cassert -include/c++/v1/ccomplex -include/c++/v1/cctype -include/c++/v1/cerrno -include/c++/v1/cfenv -include/c++/v1/cfloat -include/c++/v1/chrono -include/c++/v1/cinttypes -include/c++/v1/ciso646 -include/c++/v1/climits -include/c++/v1/clocale -include/c++/v1/cmath -include/c++/v1/codecvt -include/c++/v1/complex -include/c++/v1/complex.h -include/c++/v1/condition_variable -include/c++/v1/csetjmp -include/c++/v1/csignal -include/c++/v1/cstdarg -include/c++/v1/cstdbool -include/c++/v1/cstddef -include/c++/v1/cstdint -include/c++/v1/cstdio -include/c++/v1/cstdlib -include/c++/v1/cstring -include/c++/v1/ctgmath -include/c++/v1/ctime -include/c++/v1/cwchar -include/c++/v1/cwctype -include/c++/v1/deque -include/c++/v1/exception -include/c++/v1/experimental/dynarray -include/c++/v1/experimental/optional -include/c++/v1/ext/__hash -include/c++/v1/ext/hash_map -include/c++/v1/ext/hash_set -include/c++/v1/forward_list -include/c++/v1/fstream -include/c++/v1/functional -include/c++/v1/future -include/c++/v1/initializer_list -include/c++/v1/iomanip -include/c++/v1/ios -include/c++/v1/iosfwd -include/c++/v1/iostream -include/c++/v1/istream -include/c++/v1/iterator -include/c++/v1/limits -include/c++/v1/list -include/c++/v1/locale -include/c++/v1/map -include/c++/v1/memory -include/c++/v1/mutex -include/c++/v1/new -include/c++/v1/numeric -include/c++/v1/ostream -include/c++/v1/queue -include/c++/v1/random -include/c++/v1/ratio -include/c++/v1/regex -include/c++/v1/scoped_allocator -include/c++/v1/set -include/c++/v1/shared_mutex -include/c++/v1/sstream -include/c++/v1/stack -include/c++/v1/stdexcept -include/c++/v1/streambuf -include/c++/v1/string -include/c++/v1/strstream -include/c++/v1/system_error -include/c++/v1/tgmath.h -include/c++/v1/thread -include/c++/v1/tuple -include/c++/v1/type_traits -include/c++/v1/typeindex -include/c++/v1/typeinfo -include/c++/v1/unordered_map -include/c++/v1/unordered_set -include/c++/v1/utility -include/c++/v1/valarray -include/c++/v1/vector -bin/scan-build -bin/scan-build.1 -bin/scan-build.bat -bin/scan-view -bin/scanview.css -bin/set-xcode-analyzer -bin/sorttable.js -docs/llvm/html.tar.gz -docs/llvm/html/Dummy.html -docs/llvm/html/LibASTMatchersReference.html -docs/llvm/html/clang/clang.html -docs/llvm/html/clang/manpage.css -docs/llvm/html/doxygen.css -docs/llvm/ps/clang.ps +include/clang-c/BuildSystem.h include/clang-c/CXCompilationDatabase.h +include/clang-c/CXErrorCode.h include/clang-c/CXString.h +include/clang-c/Documentation.h include/clang-c/Index.h include/clang-c/Platform.h include/clang/ARCMigrate/ARCMT.h @@ -173,6 +32,7 @@ include/clang/AST/Attr.h include/clang/AST/AttrDump.inc include/clang/AST/AttrImpl.inc include/clang/AST/AttrIterator.h +include/clang/AST/AttrVisitor.inc include/clang/AST/Attrs.inc include/clang/AST/BaseSubobject.h include/clang/AST/BuiltinTypes.def @@ -212,12 +72,15 @@ include/clang/AST/EvaluatedExprVisitor.h include/clang/AST/Expr.h include/clang/AST/ExprCXX.h include/clang/AST/ExprObjC.h +include/clang/AST/ExprOpenMP.h include/clang/AST/ExternalASTSource.h include/clang/AST/GlobalDecl.h +include/clang/AST/LambdaCapture.h include/clang/AST/Mangle.h include/clang/AST/MangleNumberingContext.h include/clang/AST/NSAPI.h include/clang/AST/NestedNameSpecifier.h +include/clang/AST/OpenMPClause.h include/clang/AST/OperationKinds.h include/clang/AST/ParentMap.h include/clang/AST/PrettyPrinter.h @@ -263,31 +126,44 @@ include/clang/Analysis/Analyses/PostOrderCFGView.h include/clang/Analysis/Analyses/PseudoConstantAnalysis.h include/clang/Analysis/Analyses/ReachableCode.h include/clang/Analysis/Analyses/ThreadSafety.h +include/clang/Analysis/Analyses/ThreadSafetyCommon.h +include/clang/Analysis/Analyses/ThreadSafetyLogical.h +include/clang/Analysis/Analyses/ThreadSafetyOps.def +include/clang/Analysis/Analyses/ThreadSafetyTIL.h +include/clang/Analysis/Analyses/ThreadSafetyTraverse.h +include/clang/Analysis/Analyses/ThreadSafetyUtil.h include/clang/Analysis/Analyses/UninitializedValues.h include/clang/Analysis/AnalysisContext.h include/clang/Analysis/AnalysisDiagnostic.h include/clang/Analysis/CFG.h include/clang/Analysis/CFGStmtMap.h include/clang/Analysis/CallGraph.h +include/clang/Analysis/CodeInjector.h include/clang/Analysis/DomainSpecific/CocoaConventions.h include/clang/Analysis/DomainSpecific/ObjCNoReturn.h -include/clang/Analysis/FlowSensitive/DataflowSolver.h include/clang/Analysis/FlowSensitive/DataflowValues.h include/clang/Analysis/ProgramPoint.h include/clang/Analysis/Support/BumpVector.h include/clang/Basic/ABI.h include/clang/Basic/AddressSpaces.h include/clang/Basic/AllDiagnostics.h +include/clang/Basic/AttrHasAttributeImpl.inc include/clang/Basic/AttrKinds.h include/clang/Basic/AttrList.inc +include/clang/Basic/Attributes.h include/clang/Basic/Builtins.def include/clang/Basic/Builtins.h include/clang/Basic/BuiltinsAArch64.def +include/clang/Basic/BuiltinsAMDGPU.def include/clang/Basic/BuiltinsARM.def include/clang/Basic/BuiltinsHexagon.def +include/clang/Basic/BuiltinsLe64.def include/clang/Basic/BuiltinsMips.def +include/clang/Basic/BuiltinsNEON.def include/clang/Basic/BuiltinsNVPTX.def include/clang/Basic/BuiltinsPPC.def +include/clang/Basic/BuiltinsSystemZ.def +include/clang/Basic/BuiltinsWebAssembly.def include/clang/Basic/BuiltinsX86.def include/clang/Basic/BuiltinsXCore.def include/clang/Basic/CapturedStmt.h @@ -324,8 +200,6 @@ include/clang/Basic/Linkage.h include/clang/Basic/MacroBuilder.h include/clang/Basic/Module.h include/clang/Basic/ObjCRuntime.h -include/clang/Basic/OnDiskHashTable.h -include/clang/Basic/OpenCL.h include/clang/Basic/OpenCLExtensions.def include/clang/Basic/OpenMPKinds.def include/clang/Basic/OpenMPKinds.h @@ -333,8 +207,11 @@ include/clang/Basic/OperatorKinds.def include/clang/Basic/OperatorKinds.h include/clang/Basic/OperatorPrecedence.h include/clang/Basic/PartialDiagnostic.h +include/clang/Basic/PlistSupport.h include/clang/Basic/PrettyStackTrace.h +include/clang/Basic/SanitizerBlacklist.h include/clang/Basic/Sanitizers.def +include/clang/Basic/Sanitizers.h include/clang/Basic/SourceLocation.h include/clang/Basic/SourceManager.h include/clang/Basic/SourceManagerInternals.h @@ -350,6 +227,7 @@ include/clang/Basic/TypeTraits.h include/clang/Basic/Version.h include/clang/Basic/Version.inc include/clang/Basic/VersionTuple.h +include/clang/Basic/VirtualFileSystem.h include/clang/Basic/Visibility.h include/clang/Basic/arm_neon.inc include/clang/CodeGen/BackendUtil.h @@ -357,15 +235,14 @@ include/clang/CodeGen/CGFunctionInfo.h include/clang/CodeGen/CodeGenABITypes.h include/clang/CodeGen/CodeGenAction.h include/clang/CodeGen/ModuleBuilder.h +include/clang/CodeGen/ObjectFilePCHContainerOperations.h include/clang/Config/config.h include/clang/Driver/Action.h -include/clang/Driver/CC1AsOptions.h -include/clang/Driver/CC1AsOptions.inc -include/clang/Driver/CC1Options.h include/clang/Driver/Compilation.h include/clang/Driver/Driver.h include/clang/Driver/DriverDiagnostic.h include/clang/Driver/Job.h +include/clang/Driver/Multilib.h include/clang/Driver/Options.h include/clang/Driver/Options.inc include/clang/Driver/Phases.h @@ -384,7 +261,6 @@ include/clang/Format/Format.h include/clang/Frontend/ASTConsumers.h include/clang/Frontend/ASTUnit.h include/clang/Frontend/ChainedDiagnosticConsumer.h -include/clang/Frontend/ChainedIncludesSource.h include/clang/Frontend/CodeGenOptions.def include/clang/Frontend/CodeGenOptions.h include/clang/Frontend/CommandLineSourceLoc.h @@ -403,8 +279,11 @@ include/clang/Frontend/LayoutOverrideSource.h include/clang/Frontend/LogDiagnosticPrinter.h include/clang/Frontend/MigratorOptions.h include/clang/Frontend/MultiplexConsumer.h +include/clang/Frontend/PCHContainerOperations.h include/clang/Frontend/PreprocessorOutputOptions.h include/clang/Frontend/SerializedDiagnosticPrinter.h +include/clang/Frontend/SerializedDiagnosticReader.h +include/clang/Frontend/SerializedDiagnostics.h include/clang/Frontend/TextDiagnostic.h include/clang/Frontend/TextDiagnosticBuffer.h include/clang/Frontend/TextDiagnosticPrinter.h @@ -413,7 +292,6 @@ include/clang/Frontend/VerifyDiagnosticConsumer.h include/clang/FrontendTool/Utils.h include/clang/Index/CommentToXML.h include/clang/Index/USRGeneration.h -include/clang/Lex/AttrSpellings.inc include/clang/Lex/CodeCompletionHandler.h include/clang/Lex/DirectoryLookup.h include/clang/Lex/ExternalPreprocessorSource.h @@ -441,14 +319,13 @@ include/clang/Lex/ScratchBuffer.h include/clang/Lex/Token.h include/clang/Lex/TokenConcatenation.h include/clang/Lex/TokenLexer.h -include/clang/Parse/AttrIdentifierArg.inc -include/clang/Parse/AttrLateParsed.inc -include/clang/Parse/AttrTypeArg.inc +include/clang/Parse/AttrParserStringSwitches.inc include/clang/Parse/ParseAST.h include/clang/Parse/ParseDiagnostic.h include/clang/Parse/Parser.h include/clang/Rewrite/Core/DeltaTree.h include/clang/Rewrite/Core/HTMLRewrite.h +include/clang/Rewrite/Core/RewriteBuffer.h include/clang/Rewrite/Core/RewriteRope.h include/clang/Rewrite/Core/Rewriter.h include/clang/Rewrite/Core/TokenRewriter.h @@ -474,6 +351,7 @@ include/clang/Sema/IdentifierResolver.h include/clang/Sema/Initialization.h include/clang/Sema/LocInfoType.h include/clang/Sema/Lookup.h +include/clang/Sema/LoopHint.h include/clang/Sema/MultiplexExternalSemaSource.h include/clang/Sema/ObjCMethodList.h include/clang/Sema/Overload.h @@ -501,6 +379,7 @@ include/clang/Serialization/AttrPCHWrite.inc include/clang/Serialization/ContinuousRangeMap.h include/clang/Serialization/GlobalModuleIndex.h include/clang/Serialization/Module.h +include/clang/Serialization/ModuleFileExtension.h include/clang/Serialization/ModuleManager.h include/clang/Serialization/SerializationDiagnostic.h include/clang/StaticAnalyzer/Checkers/ClangCheckers.h @@ -517,6 +396,7 @@ include/clang/StaticAnalyzer/Core/Checker.h include/clang/StaticAnalyzer/Core/CheckerManager.h include/clang/StaticAnalyzer/Core/CheckerOptInfo.h include/clang/StaticAnalyzer/Core/CheckerRegistry.h +include/clang/StaticAnalyzer/Core/IssueHash.h include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h @@ -528,10 +408,12 @@ include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h +include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeMap.h include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h +include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h @@ -546,624 +428,77 @@ include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h include/clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h +include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h include/clang/StaticAnalyzer/Frontend/FrontendActions.h +include/clang/StaticAnalyzer/Frontend/ModelConsumer.h include/clang/Tooling/ArgumentsAdjusters.h include/clang/Tooling/CommonOptionsParser.h include/clang/Tooling/CompilationDatabase.h include/clang/Tooling/CompilationDatabasePluginRegistry.h +include/clang/Tooling/Core/Lookup.h +include/clang/Tooling/Core/Replacement.h include/clang/Tooling/FileMatchTrie.h include/clang/Tooling/JSONCompilationDatabase.h include/clang/Tooling/Refactoring.h include/clang/Tooling/RefactoringCallbacks.h include/clang/Tooling/ReplacementsYaml.h include/clang/Tooling/Tooling.h -include/llvm-c/Analysis.h -include/llvm-c/BitReader.h -include/llvm-c/BitWriter.h -include/llvm-c/Core.h -include/llvm-c/Disassembler.h -include/llvm-c/ExecutionEngine.h -include/llvm-c/IRReader.h -include/llvm-c/Initialization.h -include/llvm-c/LinkTimeOptimizer.h -include/llvm-c/Linker.h -include/llvm-c/Object.h -include/llvm-c/Support.h -include/llvm-c/Target.h -include/llvm-c/TargetMachine.h -include/llvm-c/Transforms/IPO.h -include/llvm-c/Transforms/PassManagerBuilder.h -include/llvm-c/Transforms/Scalar.h -include/llvm-c/Transforms/Vectorize.h -include/llvm-c/lto.h -include/llvm/ADT/APFloat.h -include/llvm/ADT/APInt.h -include/llvm/ADT/APSInt.h -include/llvm/ADT/ArrayRef.h -include/llvm/ADT/BitVector.h -include/llvm/ADT/DAGDeltaAlgorithm.h -include/llvm/ADT/DeltaAlgorithm.h -include/llvm/ADT/DenseMap.h -include/llvm/ADT/DenseMapInfo.h -include/llvm/ADT/DenseSet.h -include/llvm/ADT/DepthFirstIterator.h -include/llvm/ADT/EquivalenceClasses.h -include/llvm/ADT/FoldingSet.h -include/llvm/ADT/GraphTraits.h -include/llvm/ADT/Hashing.h -include/llvm/ADT/ImmutableIntervalMap.h -include/llvm/ADT/ImmutableList.h -include/llvm/ADT/ImmutableMap.h -include/llvm/ADT/ImmutableSet.h -include/llvm/ADT/IndexedMap.h -include/llvm/ADT/IntEqClasses.h -include/llvm/ADT/IntervalMap.h -include/llvm/ADT/IntrusiveRefCntPtr.h -include/llvm/ADT/MapVector.h -include/llvm/ADT/None.h -include/llvm/ADT/Optional.h -include/llvm/ADT/OwningPtr.h -include/llvm/ADT/PackedVector.h -include/llvm/ADT/PointerIntPair.h -include/llvm/ADT/PointerUnion.h -include/llvm/ADT/PostOrderIterator.h -include/llvm/ADT/PriorityQueue.h -include/llvm/ADT/SCCIterator.h -include/llvm/ADT/STLExtras.h -include/llvm/ADT/ScopedHashTable.h -include/llvm/ADT/SetOperations.h -include/llvm/ADT/SetVector.h -include/llvm/ADT/SmallBitVector.h -include/llvm/ADT/SmallPtrSet.h -include/llvm/ADT/SmallSet.h -include/llvm/ADT/SmallString.h -include/llvm/ADT/SmallVector.h -include/llvm/ADT/SparseBitVector.h -include/llvm/ADT/SparseMultiSet.h -include/llvm/ADT/SparseSet.h -include/llvm/ADT/Statistic.h -include/llvm/ADT/StringExtras.h -include/llvm/ADT/StringMap.h -include/llvm/ADT/StringRef.h -include/llvm/ADT/StringSet.h -include/llvm/ADT/StringSwitch.h -include/llvm/ADT/TinyPtrVector.h -include/llvm/ADT/Triple.h -include/llvm/ADT/Twine.h -include/llvm/ADT/UniqueVector.h -include/llvm/ADT/ValueMap.h -include/llvm/ADT/VariadicFunction.h -include/llvm/ADT/edit_distance.h -include/llvm/ADT/ilist.h -include/llvm/ADT/ilist_node.h -include/llvm/ADT/polymorphic_ptr.h -include/llvm/Analysis/AliasAnalysis.h -include/llvm/Analysis/AliasSetTracker.h -include/llvm/Analysis/BlockFrequencyImpl.h -include/llvm/Analysis/BlockFrequencyInfo.h -include/llvm/Analysis/BranchProbabilityInfo.h -include/llvm/Analysis/CFG.h -include/llvm/Analysis/CFGPrinter.h -include/llvm/Analysis/CallGraph.h -include/llvm/Analysis/CallGraphSCCPass.h -include/llvm/Analysis/CallPrinter.h -include/llvm/Analysis/CaptureTracking.h -include/llvm/Analysis/CodeMetrics.h -include/llvm/Analysis/ConstantFolding.h -include/llvm/Analysis/ConstantsScanner.h -include/llvm/Analysis/DOTGraphTraitsPass.h -include/llvm/Analysis/DependenceAnalysis.h -include/llvm/Analysis/DomPrinter.h -include/llvm/Analysis/DominanceFrontier.h -include/llvm/Analysis/DominatorInternals.h -include/llvm/Analysis/Dominators.h -include/llvm/Analysis/FindUsedTypes.h -include/llvm/Analysis/IVUsers.h -include/llvm/Analysis/InlineCost.h -include/llvm/Analysis/InstructionSimplify.h -include/llvm/Analysis/Interval.h -include/llvm/Analysis/IntervalIterator.h -include/llvm/Analysis/IntervalPartition.h -include/llvm/Analysis/LazyValueInfo.h -include/llvm/Analysis/LibCallAliasAnalysis.h -include/llvm/Analysis/LibCallSemantics.h -include/llvm/Analysis/Lint.h -include/llvm/Analysis/Loads.h -include/llvm/Analysis/LoopInfo.h -include/llvm/Analysis/LoopInfoImpl.h -include/llvm/Analysis/LoopIterator.h -include/llvm/Analysis/LoopPass.h -include/llvm/Analysis/MemoryBuiltins.h -include/llvm/Analysis/MemoryDependenceAnalysis.h -include/llvm/Analysis/PHITransAddr.h -include/llvm/Analysis/Passes.h -include/llvm/Analysis/PostDominators.h -include/llvm/Analysis/PtrUseVisitor.h -include/llvm/Analysis/RegionInfo.h -include/llvm/Analysis/RegionIterator.h -include/llvm/Analysis/RegionPass.h -include/llvm/Analysis/RegionPrinter.h -include/llvm/Analysis/ScalarEvolution.h -include/llvm/Analysis/ScalarEvolutionExpander.h -include/llvm/Analysis/ScalarEvolutionExpressions.h -include/llvm/Analysis/ScalarEvolutionNormalization.h -include/llvm/Analysis/SparsePropagation.h -include/llvm/Analysis/TargetTransformInfo.h -include/llvm/Analysis/Trace.h -include/llvm/Analysis/ValueTracking.h -include/llvm/Analysis/Verifier.h -include/llvm/Assembly/AssemblyAnnotationWriter.h -include/llvm/Assembly/Parser.h -include/llvm/Assembly/PrintModulePass.h -include/llvm/Assembly/Writer.h -include/llvm/AutoUpgrade.h -include/llvm/Bitcode/BitCodes.h -include/llvm/Bitcode/BitstreamReader.h -include/llvm/Bitcode/BitstreamWriter.h -include/llvm/Bitcode/LLVMBitCodes.h -include/llvm/Bitcode/ReaderWriter.h -include/llvm/CodeGen/Analysis.h -include/llvm/CodeGen/AsmPrinter.h -include/llvm/CodeGen/CalcSpillWeights.h -include/llvm/CodeGen/CallingConvLower.h -include/llvm/CodeGen/CommandFlags.h -include/llvm/CodeGen/DAGCombine.h -include/llvm/CodeGen/DFAPacketizer.h -include/llvm/CodeGen/EdgeBundles.h -include/llvm/CodeGen/FastISel.h -include/llvm/CodeGen/FunctionLoweringInfo.h -include/llvm/CodeGen/GCMetadata.h -include/llvm/CodeGen/GCMetadataPrinter.h -include/llvm/CodeGen/GCStrategy.h -include/llvm/CodeGen/GCs.h -include/llvm/CodeGen/ISDOpcodes.h -include/llvm/CodeGen/IntrinsicLowering.h -include/llvm/CodeGen/JITCodeEmitter.h -include/llvm/CodeGen/LatencyPriorityQueue.h -include/llvm/CodeGen/LexicalScopes.h -include/llvm/CodeGen/LinkAllAsmWriterComponents.h -include/llvm/CodeGen/LinkAllCodegenComponents.h -include/llvm/CodeGen/LiveInterval.h -include/llvm/CodeGen/LiveIntervalAnalysis.h -include/llvm/CodeGen/LiveIntervalUnion.h -include/llvm/CodeGen/LiveRangeEdit.h -include/llvm/CodeGen/LiveRegMatrix.h -include/llvm/CodeGen/LiveRegUnits.h -include/llvm/CodeGen/LiveStackAnalysis.h -include/llvm/CodeGen/LiveVariables.h -include/llvm/CodeGen/MachORelocation.h -include/llvm/CodeGen/MachineBasicBlock.h -include/llvm/CodeGen/MachineBlockFrequencyInfo.h -include/llvm/CodeGen/MachineBranchProbabilityInfo.h -include/llvm/CodeGen/MachineCodeEmitter.h -include/llvm/CodeGen/MachineCodeInfo.h -include/llvm/CodeGen/MachineConstantPool.h -include/llvm/CodeGen/MachineDominators.h -include/llvm/CodeGen/MachineFrameInfo.h -include/llvm/CodeGen/MachineFunction.h -include/llvm/CodeGen/MachineFunctionAnalysis.h -include/llvm/CodeGen/MachineFunctionPass.h -include/llvm/CodeGen/MachineInstr.h -include/llvm/CodeGen/MachineInstrBuilder.h -include/llvm/CodeGen/MachineInstrBundle.h -include/llvm/CodeGen/MachineJumpTableInfo.h -include/llvm/CodeGen/MachineLoopInfo.h -include/llvm/CodeGen/MachineMemOperand.h -include/llvm/CodeGen/MachineModuleInfo.h -include/llvm/CodeGen/MachineModuleInfoImpls.h -include/llvm/CodeGen/MachineOperand.h -include/llvm/CodeGen/MachinePassRegistry.h -include/llvm/CodeGen/MachinePostDominators.h -include/llvm/CodeGen/MachineRegisterInfo.h -include/llvm/CodeGen/MachineRelocation.h -include/llvm/CodeGen/MachineSSAUpdater.h -include/llvm/CodeGen/MachineScheduler.h -include/llvm/CodeGen/MachineTraceMetrics.h -include/llvm/CodeGen/PBQP/Graph.h -include/llvm/CodeGen/PBQP/HeuristicBase.h -include/llvm/CodeGen/PBQP/HeuristicSolver.h -include/llvm/CodeGen/PBQP/Heuristics/Briggs.h -include/llvm/CodeGen/PBQP/Math.h -include/llvm/CodeGen/PBQP/Solution.h -include/llvm/CodeGen/Passes.h -include/llvm/CodeGen/PseudoSourceValue.h -include/llvm/CodeGen/RegAllocPBQP.h -include/llvm/CodeGen/RegAllocRegistry.h -include/llvm/CodeGen/RegisterClassInfo.h -include/llvm/CodeGen/RegisterPressure.h -include/llvm/CodeGen/RegisterScavenging.h -include/llvm/CodeGen/ResourcePriorityQueue.h -include/llvm/CodeGen/RuntimeLibcalls.h -include/llvm/CodeGen/ScheduleDAG.h -include/llvm/CodeGen/ScheduleDAGInstrs.h -include/llvm/CodeGen/ScheduleDFS.h -include/llvm/CodeGen/ScheduleHazardRecognizer.h -include/llvm/CodeGen/SchedulerRegistry.h -include/llvm/CodeGen/ScoreboardHazardRecognizer.h -include/llvm/CodeGen/SelectionDAG.h -include/llvm/CodeGen/SelectionDAGISel.h -include/llvm/CodeGen/SelectionDAGNodes.h -include/llvm/CodeGen/SlotIndexes.h -include/llvm/CodeGen/StackMaps.h -include/llvm/CodeGen/StackProtector.h -include/llvm/CodeGen/TargetLoweringObjectFileImpl.h -include/llvm/CodeGen/TargetSchedule.h -include/llvm/CodeGen/ValueTypes.h -include/llvm/CodeGen/ValueTypes.td -include/llvm/CodeGen/VirtRegMap.h -include/llvm/Config/AsmParsers.def -include/llvm/Config/AsmPrinters.def -include/llvm/Config/Disassemblers.def -include/llvm/Config/Targets.def -include/llvm/Config/config.h -include/llvm/Config/llvm-config.h -include/llvm/DIBuilder.h -include/llvm/DebugInfo.h -include/llvm/DebugInfo/DIContext.h -include/llvm/DebugInfo/DWARFFormValue.h -include/llvm/ExecutionEngine/ExecutionEngine.h -include/llvm/ExecutionEngine/GenericValue.h -include/llvm/ExecutionEngine/Interpreter.h -include/llvm/ExecutionEngine/JIT.h -include/llvm/ExecutionEngine/JITEventListener.h -include/llvm/ExecutionEngine/JITMemoryManager.h -include/llvm/ExecutionEngine/MCJIT.h -include/llvm/ExecutionEngine/OProfileWrapper.h -include/llvm/ExecutionEngine/ObjectBuffer.h -include/llvm/ExecutionEngine/ObjectCache.h -include/llvm/ExecutionEngine/ObjectImage.h -include/llvm/ExecutionEngine/RTDyldMemoryManager.h -include/llvm/ExecutionEngine/RuntimeDyld.h -include/llvm/ExecutionEngine/SectionMemoryManager.h -include/llvm/GVMaterializer.h -include/llvm/IR/Argument.h -include/llvm/IR/Attributes.h -include/llvm/IR/BasicBlock.h -include/llvm/IR/CallingConv.h -include/llvm/IR/Constant.h -include/llvm/IR/Constants.h -include/llvm/IR/DataLayout.h -include/llvm/IR/DerivedTypes.h -include/llvm/IR/Function.h -include/llvm/IR/GlobalAlias.h -include/llvm/IR/GlobalValue.h -include/llvm/IR/GlobalVariable.h -include/llvm/IR/IRBuilder.h -include/llvm/IR/InlineAsm.h -include/llvm/IR/InstrTypes.h -include/llvm/IR/Instruction.def -include/llvm/IR/Instruction.h -include/llvm/IR/Instructions.h -include/llvm/IR/IntrinsicInst.h -include/llvm/IR/Intrinsics.gen -include/llvm/IR/Intrinsics.h -include/llvm/IR/Intrinsics.td -include/llvm/IR/IntrinsicsAArch64.td -include/llvm/IR/IntrinsicsARM.td -include/llvm/IR/IntrinsicsHexagon.td -include/llvm/IR/IntrinsicsMips.td -include/llvm/IR/IntrinsicsNVVM.td -include/llvm/IR/IntrinsicsPowerPC.td -include/llvm/IR/IntrinsicsR600.td -include/llvm/IR/IntrinsicsX86.td -include/llvm/IR/IntrinsicsXCore.td -include/llvm/IR/LLVMContext.h -include/llvm/IR/LegacyPassManager.h -include/llvm/IR/LegacyPassManagers.h -include/llvm/IR/MDBuilder.h -include/llvm/IR/Metadata.h -include/llvm/IR/Module.h -include/llvm/IR/OperandTraits.h -include/llvm/IR/Operator.h -include/llvm/IR/PassManager.h -include/llvm/IR/SymbolTableListTraits.h -include/llvm/IR/Type.h -include/llvm/IR/TypeBuilder.h -include/llvm/IR/TypeFinder.h -include/llvm/IR/Use.h -include/llvm/IR/User.h -include/llvm/IR/Value.h -include/llvm/IR/ValueSymbolTable.h -include/llvm/IRReader/IRReader.h -include/llvm/InitializePasses.h -include/llvm/InstVisitor.h -include/llvm/LTO/LTOCodeGenerator.h -include/llvm/LTO/LTOModule.h -include/llvm/LinkAllIR.h -include/llvm/LinkAllPasses.h -include/llvm/Linker.h -include/llvm/MC/MCAsmBackend.h -include/llvm/MC/MCAsmInfo.h -include/llvm/MC/MCAsmInfoCOFF.h -include/llvm/MC/MCAsmInfoDarwin.h -include/llvm/MC/MCAsmInfoELF.h -include/llvm/MC/MCAsmLayout.h -include/llvm/MC/MCAssembler.h -include/llvm/MC/MCAtom.h -include/llvm/MC/MCCodeEmitter.h -include/llvm/MC/MCCodeGenInfo.h -include/llvm/MC/MCContext.h -include/llvm/MC/MCDirectives.h -include/llvm/MC/MCDisassembler.h -include/llvm/MC/MCDwarf.h -include/llvm/MC/MCELF.h -include/llvm/MC/MCELFObjectWriter.h -include/llvm/MC/MCELFStreamer.h -include/llvm/MC/MCELFSymbolFlags.h -include/llvm/MC/MCExpr.h -include/llvm/MC/MCExternalSymbolizer.h -include/llvm/MC/MCFixedLenDisassembler.h -include/llvm/MC/MCFixup.h -include/llvm/MC/MCFixupKindInfo.h -include/llvm/MC/MCFunction.h -include/llvm/MC/MCInst.h -include/llvm/MC/MCInstBuilder.h -include/llvm/MC/MCInstPrinter.h -include/llvm/MC/MCInstrAnalysis.h -include/llvm/MC/MCInstrDesc.h -include/llvm/MC/MCInstrInfo.h -include/llvm/MC/MCInstrItineraries.h -include/llvm/MC/MCLabel.h -include/llvm/MC/MCMachOSymbolFlags.h -include/llvm/MC/MCMachObjectWriter.h -include/llvm/MC/MCModule.h -include/llvm/MC/MCModuleYAML.h -include/llvm/MC/MCObjectDisassembler.h -include/llvm/MC/MCObjectFileInfo.h -include/llvm/MC/MCObjectStreamer.h -include/llvm/MC/MCObjectSymbolizer.h -include/llvm/MC/MCObjectWriter.h -include/llvm/MC/MCParser/AsmCond.h -include/llvm/MC/MCParser/AsmLexer.h -include/llvm/MC/MCParser/MCAsmLexer.h -include/llvm/MC/MCParser/MCAsmParser.h -include/llvm/MC/MCParser/MCAsmParserExtension.h -include/llvm/MC/MCParser/MCParsedAsmOperand.h -include/llvm/MC/MCRegisterInfo.h -include/llvm/MC/MCRelocationInfo.h -include/llvm/MC/MCSchedule.h -include/llvm/MC/MCSection.h -include/llvm/MC/MCSectionCOFF.h -include/llvm/MC/MCSectionELF.h -include/llvm/MC/MCSectionMachO.h -include/llvm/MC/MCStreamer.h -include/llvm/MC/MCSubtargetInfo.h -include/llvm/MC/MCSymbol.h -include/llvm/MC/MCSymbolizer.h -include/llvm/MC/MCTargetAsmParser.h -include/llvm/MC/MCValue.h -include/llvm/MC/MCWin64EH.h -include/llvm/MC/MCWinCOFFObjectWriter.h -include/llvm/MC/MachineLocation.h -include/llvm/MC/SectionKind.h -include/llvm/MC/SubtargetFeature.h -include/llvm/Object/Archive.h -include/llvm/Object/Binary.h -include/llvm/Object/COFF.h -include/llvm/Object/COFFYAML.h -include/llvm/Object/ELF.h -include/llvm/Object/ELFObjectFile.h -include/llvm/Object/ELFTypes.h -include/llvm/Object/ELFYAML.h -include/llvm/Object/Error.h -include/llvm/Object/MachO.h -include/llvm/Object/MachOUniversal.h -include/llvm/Object/ObjectFile.h -include/llvm/Object/RelocVisitor.h -include/llvm/Object/YAML.h -include/llvm/Option/Arg.h -include/llvm/Option/ArgList.h -include/llvm/Option/OptParser.td -include/llvm/Option/OptSpecifier.h -include/llvm/Option/OptTable.h -include/llvm/Option/Option.h -include/llvm/Pass.h -include/llvm/PassAnalysisSupport.h -include/llvm/PassManager.h -include/llvm/PassRegistry.h -include/llvm/PassSupport.h -include/llvm/Support/AIXDataTypesFix.h -include/llvm/Support/AlignOf.h -include/llvm/Support/Allocator.h -include/llvm/Support/ArrayRecycler.h -include/llvm/Support/Atomic.h -include/llvm/Support/BlockFrequency.h -include/llvm/Support/BranchProbability.h -include/llvm/Support/CBindingWrapping.h -include/llvm/Support/CFG.h -include/llvm/Support/COFF.h -include/llvm/Support/CallSite.h -include/llvm/Support/Capacity.h -include/llvm/Support/Casting.h -include/llvm/Support/CodeGen.h -include/llvm/Support/CommandLine.h -include/llvm/Support/Compiler.h -include/llvm/Support/Compression.h -include/llvm/Support/ConstantFolder.h -include/llvm/Support/ConstantRange.h -include/llvm/Support/ConvertUTF.h -include/llvm/Support/CrashRecoveryContext.h -include/llvm/Support/DOTGraphTraits.h -include/llvm/Support/DataExtractor.h -include/llvm/Support/DataFlow.h -include/llvm/Support/DataStream.h -include/llvm/Support/DataTypes.h -include/llvm/Support/Debug.h -include/llvm/Support/DebugLoc.h -include/llvm/Support/Disassembler.h -include/llvm/Support/Dwarf.h -include/llvm/Support/DynamicLibrary.h -include/llvm/Support/ELF.h -include/llvm/Support/Endian.h -include/llvm/Support/Errno.h -include/llvm/Support/ErrorHandling.h -include/llvm/Support/ErrorOr.h -include/llvm/Support/FEnv.h -include/llvm/Support/FileOutputBuffer.h -include/llvm/Support/FileSystem.h -include/llvm/Support/FileUtilities.h -include/llvm/Support/Format.h -include/llvm/Support/FormattedStream.h -include/llvm/Support/GCOV.h -include/llvm/Support/GetElementPtrTypeIterator.h -include/llvm/Support/GraphWriter.h -include/llvm/Support/Host.h -include/llvm/Support/IncludeFile.h -include/llvm/Support/InstIterator.h -include/llvm/Support/LEB128.h -include/llvm/Support/LICENSE.TXT -include/llvm/Support/LeakDetector.h -include/llvm/Support/Locale.h -include/llvm/Support/LockFileManager.h -include/llvm/Support/MD5.h -include/llvm/Support/MachO.h -include/llvm/Support/ManagedStatic.h -include/llvm/Support/MathExtras.h -include/llvm/Support/Memory.h -include/llvm/Support/MemoryBuffer.h -include/llvm/Support/MemoryObject.h -include/llvm/Support/Mutex.h -include/llvm/Support/MutexGuard.h -include/llvm/Support/NoFolder.h -include/llvm/Support/OutputBuffer.h -include/llvm/Support/PassNameParser.h -include/llvm/Support/Path.h -include/llvm/Support/PatternMatch.h -include/llvm/Support/PluginLoader.h -include/llvm/Support/PointerLikeTypeTraits.h -include/llvm/Support/PredIteratorCache.h -include/llvm/Support/PrettyStackTrace.h -include/llvm/Support/Process.h -include/llvm/Support/Program.h -include/llvm/Support/RWMutex.h -include/llvm/Support/Recycler.h -include/llvm/Support/RecyclingAllocator.h -include/llvm/Support/Regex.h -include/llvm/Support/Registry.h -include/llvm/Support/RegistryParser.h -include/llvm/Support/SMLoc.h -include/llvm/Support/SaveAndRestore.h -include/llvm/Support/Signals.h -include/llvm/Support/Solaris.h -include/llvm/Support/SourceMgr.h -include/llvm/Support/StreamableMemoryObject.h -include/llvm/Support/StringPool.h -include/llvm/Support/StringRefMemoryObject.h -include/llvm/Support/SwapByteOrder.h -include/llvm/Support/SystemUtils.h -include/llvm/Support/TargetFolder.h -include/llvm/Support/TargetRegistry.h -include/llvm/Support/TargetSelect.h -include/llvm/Support/ThreadLocal.h -include/llvm/Support/Threading.h -include/llvm/Support/TimeValue.h -include/llvm/Support/Timer.h -include/llvm/Support/ToolOutputFile.h -include/llvm/Support/Unicode.h -include/llvm/Support/UnicodeCharRanges.h -include/llvm/Support/Valgrind.h -include/llvm/Support/ValueHandle.h -include/llvm/Support/Watchdog.h -include/llvm/Support/Win64EH.h -include/llvm/Support/YAMLParser.h -include/llvm/Support/YAMLTraits.h -include/llvm/Support/circular_raw_ostream.h -include/llvm/Support/raw_os_ostream.h -include/llvm/Support/raw_ostream.h -include/llvm/Support/system_error.h -include/llvm/Support/type_traits.h -include/llvm/TableGen/Error.h -include/llvm/TableGen/Main.h -include/llvm/TableGen/Record.h -include/llvm/TableGen/StringMatcher.h -include/llvm/TableGen/StringToOffsetTable.h -include/llvm/TableGen/TableGenBackend.h -include/llvm/Target/CostTable.h -include/llvm/Target/Mangler.h -include/llvm/Target/Target.td -include/llvm/Target/TargetCallingConv.h -include/llvm/Target/TargetCallingConv.td -include/llvm/Target/TargetFrameLowering.h -include/llvm/Target/TargetInstrInfo.h -include/llvm/Target/TargetIntrinsicInfo.h -include/llvm/Target/TargetItinerary.td -include/llvm/Target/TargetJITInfo.h -include/llvm/Target/TargetLibraryInfo.h -include/llvm/Target/TargetLowering.h -include/llvm/Target/TargetLoweringObjectFile.h -include/llvm/Target/TargetMachine.h -include/llvm/Target/TargetOpcodes.h -include/llvm/Target/TargetOptions.h -include/llvm/Target/TargetRegisterInfo.h -include/llvm/Target/TargetSchedule.td -include/llvm/Target/TargetSelectionDAG.td -include/llvm/Target/TargetSelectionDAGInfo.h -include/llvm/Target/TargetSubtargetInfo.h -include/llvm/Transforms/IPO.h -include/llvm/Transforms/IPO/InlinerPass.h -include/llvm/Transforms/IPO/PassManagerBuilder.h -include/llvm/Transforms/Instrumentation.h -include/llvm/Transforms/ObjCARC.h -include/llvm/Transforms/Scalar.h -include/llvm/Transforms/Utils/BasicBlockUtils.h -include/llvm/Transforms/Utils/BuildLibCalls.h -include/llvm/Transforms/Utils/BypassSlowDivision.h -include/llvm/Transforms/Utils/Cloning.h -include/llvm/Transforms/Utils/CmpInstAnalysis.h -include/llvm/Transforms/Utils/CodeExtractor.h -include/llvm/Transforms/Utils/GlobalStatus.h -include/llvm/Transforms/Utils/IntegerDivision.h -include/llvm/Transforms/Utils/Local.h -include/llvm/Transforms/Utils/LoopUtils.h -include/llvm/Transforms/Utils/ModuleUtils.h -include/llvm/Transforms/Utils/PromoteMemToReg.h -include/llvm/Transforms/Utils/SSAUpdater.h -include/llvm/Transforms/Utils/SSAUpdaterImpl.h -include/llvm/Transforms/Utils/SimplifyIndVar.h -include/llvm/Transforms/Utils/SimplifyLibCalls.h -include/llvm/Transforms/Utils/SpecialCaseList.h -include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h -include/llvm/Transforms/Utils/UnrollLoop.h -include/llvm/Transforms/Utils/ValueMapper.h -include/llvm/Transforms/Vectorize.h -lib/BugpointPasses.${SOEXT} -lib/LLVMHello.${SOEXT} -lib/LLVMgold.${SOEXT} lib/clang/${PKGVERSION}/include/Intrin.h +lib/clang/${PKGVERSION}/include/__clang_cuda_runtime_wrapper.h +lib/clang/${PKGVERSION}/include/__stddef_max_align_t.h lib/clang/${PKGVERSION}/include/__wmmintrin_aes.h lib/clang/${PKGVERSION}/include/__wmmintrin_pclmul.h +lib/clang/${PKGVERSION}/include/adxintrin.h lib/clang/${PKGVERSION}/include/altivec.h lib/clang/${PKGVERSION}/include/ammintrin.h +lib/clang/${PKGVERSION}/include/arm_acle.h lib/clang/${PKGVERSION}/include/arm_neon.h lib/clang/${PKGVERSION}/include/avx2intrin.h +lib/clang/${PKGVERSION}/include/avx512bwintrin.h +lib/clang/${PKGVERSION}/include/avx512cdintrin.h +lib/clang/${PKGVERSION}/include/avx512dqintrin.h +lib/clang/${PKGVERSION}/include/avx512erintrin.h +lib/clang/${PKGVERSION}/include/avx512fintrin.h +lib/clang/${PKGVERSION}/include/avx512vlbwintrin.h +lib/clang/${PKGVERSION}/include/avx512vldqintrin.h +lib/clang/${PKGVERSION}/include/avx512vlintrin.h lib/clang/${PKGVERSION}/include/avxintrin.h lib/clang/${PKGVERSION}/include/bmi2intrin.h lib/clang/${PKGVERSION}/include/bmiintrin.h lib/clang/${PKGVERSION}/include/cpuid.h +lib/clang/${PKGVERSION}/include/cuda_builtin_vars.h lib/clang/${PKGVERSION}/include/emmintrin.h lib/clang/${PKGVERSION}/include/f16cintrin.h lib/clang/${PKGVERSION}/include/float.h lib/clang/${PKGVERSION}/include/fma4intrin.h lib/clang/${PKGVERSION}/include/fmaintrin.h +lib/clang/${PKGVERSION}/include/fxsrintrin.h +lib/clang/${PKGVERSION}/include/htmintrin.h +lib/clang/${PKGVERSION}/include/htmxlintrin.h +lib/clang/${PKGVERSION}/include/ia32intrin.h lib/clang/${PKGVERSION}/include/immintrin.h +lib/clang/${PKGVERSION}/include/inttypes.h lib/clang/${PKGVERSION}/include/iso646.h lib/clang/${PKGVERSION}/include/limits.h lib/clang/${PKGVERSION}/include/lzcntintrin.h lib/clang/${PKGVERSION}/include/mm3dnow.h lib/clang/${PKGVERSION}/include/mm_malloc.h lib/clang/${PKGVERSION}/include/mmintrin.h -lib/clang/${PKGVERSION}/include/module.map +lib/clang/${PKGVERSION}/include/module.modulemap lib/clang/${PKGVERSION}/include/nmmintrin.h +lib/clang/${PKGVERSION}/include/pkuintrin.h lib/clang/${PKGVERSION}/include/pmmintrin.h lib/clang/${PKGVERSION}/include/popcntintrin.h lib/clang/${PKGVERSION}/include/prfchwintrin.h lib/clang/${PKGVERSION}/include/rdseedintrin.h lib/clang/${PKGVERSION}/include/rtmintrin.h +lib/clang/${PKGVERSION}/include/s390intrin.h lib/clang/${PKGVERSION}/include/shaintrin.h lib/clang/${PKGVERSION}/include/smmintrin.h lib/clang/${PKGVERSION}/include/stdalign.h lib/clang/${PKGVERSION}/include/stdarg.h +lib/clang/${PKGVERSION}/include/stdatomic.h lib/clang/${PKGVERSION}/include/stdbool.h lib/clang/${PKGVERSION}/include/stddef.h lib/clang/${PKGVERSION}/include/stdint.h @@ -1172,112 +507,20 @@ lib/clang/${PKGVERSION}/include/tbmintrin.h lib/clang/${PKGVERSION}/include/tgmath.h lib/clang/${PKGVERSION}/include/tmmintrin.h lib/clang/${PKGVERSION}/include/unwind.h +lib/clang/${PKGVERSION}/include/vadefs.h lib/clang/${PKGVERSION}/include/varargs.h +lib/clang/${PKGVERSION}/include/vecintrin.h lib/clang/${PKGVERSION}/include/wmmintrin.h lib/clang/${PKGVERSION}/include/x86intrin.h lib/clang/${PKGVERSION}/include/xmmintrin.h lib/clang/${PKGVERSION}/include/xopintrin.h -lib/libLLVMAArch64AsmParser.a -lib/libLLVMAArch64AsmPrinter.a -lib/libLLVMAArch64CodeGen.a -lib/libLLVMAArch64Desc.a -lib/libLLVMAArch64Disassembler.a -lib/libLLVMAArch64Info.a -lib/libLLVMAArch64Utils.a -lib/libLLVMARMAsmParser.a -lib/libLLVMARMAsmPrinter.a -lib/libLLVMARMCodeGen.a -lib/libLLVMARMDesc.a -lib/libLLVMARMDisassembler.a -lib/libLLVMARMInfo.a -lib/libLLVMAnalysis.a -lib/libLLVMAsmParser.a -lib/libLLVMAsmPrinter.a -lib/libLLVMBitReader.a -lib/libLLVMBitWriter.a -lib/libLLVMCodeGen.a -lib/libLLVMCore.a -lib/libLLVMCppBackendCodeGen.a -lib/libLLVMCppBackendInfo.a -lib/libLLVMDebugInfo.a -lib/libLLVMExecutionEngine.a -lib/libLLVMHexagonAsmPrinter.a -lib/libLLVMHexagonCodeGen.a -lib/libLLVMHexagonDesc.a -lib/libLLVMHexagonInfo.a -lib/libLLVMIRReader.a -lib/libLLVMInstCombine.a -lib/libLLVMInstrumentation.a -lib/libLLVMInterpreter.a -lib/libLLVMJIT.a -lib/libLLVMLTO.a -lib/libLLVMLinker.a -lib/libLLVMMC.a -lib/libLLVMMCDisassembler.a -lib/libLLVMMCJIT.a -lib/libLLVMMCParser.a -lib/libLLVMMSP430AsmPrinter.a -lib/libLLVMMSP430CodeGen.a -lib/libLLVMMSP430Desc.a -lib/libLLVMMSP430Info.a -lib/libLLVMMipsAsmParser.a -lib/libLLVMMipsAsmPrinter.a -lib/libLLVMMipsCodeGen.a -lib/libLLVMMipsDesc.a -lib/libLLVMMipsDisassembler.a -lib/libLLVMMipsInfo.a -lib/libLLVMNVPTXAsmPrinter.a -lib/libLLVMNVPTXCodeGen.a -lib/libLLVMNVPTXDesc.a -lib/libLLVMNVPTXInfo.a -lib/libLLVMObjCARCOpts.a -lib/libLLVMObject.a -lib/libLLVMOption.a -lib/libLLVMPowerPCAsmParser.a -lib/libLLVMPowerPCAsmPrinter.a -lib/libLLVMPowerPCCodeGen.a -lib/libLLVMPowerPCDesc.a -lib/libLLVMPowerPCInfo.a -lib/libLLVMR600AsmPrinter.a -lib/libLLVMR600CodeGen.a -lib/libLLVMR600Desc.a -lib/libLLVMR600Info.a -lib/libLLVMRuntimeDyld.a -lib/libLLVMScalarOpts.a -lib/libLLVMSelectionDAG.a -lib/libLLVMSparcCodeGen.a -lib/libLLVMSparcDesc.a -lib/libLLVMSparcInfo.a -lib/libLLVMSupport.a -lib/libLLVMSystemZAsmParser.a -lib/libLLVMSystemZAsmPrinter.a -lib/libLLVMSystemZCodeGen.a -lib/libLLVMSystemZDesc.a -lib/libLLVMSystemZDisassembler.a -lib/libLLVMSystemZInfo.a -lib/libLLVMTableGen.a -lib/libLLVMTarget.a -lib/libLLVMTransformUtils.a -lib/libLLVMVectorize.a -lib/libLLVMX86AsmParser.a -lib/libLLVMX86AsmPrinter.a -lib/libLLVMX86CodeGen.a -lib/libLLVMX86Desc.a -lib/libLLVMX86Disassembler.a -lib/libLLVMX86Info.a -lib/libLLVMX86Utils.a -lib/libLLVMXCoreAsmPrinter.a -lib/libLLVMXCoreCodeGen.a -lib/libLLVMXCoreDesc.a -lib/libLLVMXCoreDisassembler.a -lib/libLLVMXCoreInfo.a -lib/libLLVMipa.a -lib/libLLVMipo.a -lib/libLTO.a -lib/libLTO.so -lib/libclang.a -lib/libclang.so -lib/libclangARCMigrate.a +lib/clang/${PKGVERSION}/include/xsavecintrin.h +lib/clang/${PKGVERSION}/include/xsaveintrin.h +lib/clang/${PKGVERSION}/include/xsaveoptintrin.h +lib/clang/${PKGVERSION}/include/xsavesintrin.h +lib/clang/${PKGVERSION}/include/xtestintrin.h +lib/libclang.${SOEXT} +${PLIST.notdylib}lib/libclang.${SOEXT}.${LLVM_MAJOR} lib/libclangAST.a lib/libclangASTMatchers.a lib/libclangAnalysis.a @@ -1292,15 +535,18 @@ lib/libclangFrontendTool.a lib/libclangIndex.a lib/libclangLex.a lib/libclangParse.a -lib/libclangRewriteCore.a +lib/libclangRewrite.a lib/libclangRewriteFrontend.a lib/libclangSema.a lib/libclangSerialization.a -lib/libclangStaticAnalyzerCheckers.a -lib/libclangStaticAnalyzerCore.a -lib/libclangStaticAnalyzerFrontend.a lib/libclangTooling.a -share/man/man1/clang.1 -share/scanview.css -share/sorttable.js -@pkgdir docs/llvm/html/img +lib/libclangToolingCore.a +share/clang/clang-format-bbedit.applescript +share/clang/clang-format-diff.py +share/clang/clang-format-sublime.py +share/clang/clang-format.el +share/clang/clang-format.py +share/clang/cmake/ClangConfig.cmake +share/clang/cmake/ClangTargets-release.cmake +share/clang/cmake/ClangTargets.cmake +share/clang/git-clang-format diff --git a/lang/clang/buildlink3.mk b/lang/clang/buildlink3.mk index a1ac30286..8ee77c1d5 100644 --- a/lang/clang/buildlink3.mk +++ b/lang/clang/buildlink3.mk @@ -1,13 +1,16 @@ -# $NetBSD: buildlink3.mk,v 1.1 2010/02/13 16:13:52 tnn Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2016/03/10 15:01:52 tnn Exp $ BUILDLINK_TREE+= clang .if !defined(CLANG_BUILDLINK3_MK) CLANG_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.clang+= clang>=2.6nb2 +BUILDLINK_API_DEPENDS.clang+= clang>=3.8.0 BUILDLINK_PKGSRCDIR.clang?= ../../lang/clang +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../lang/llvm/buildlink3.mk" .endif # CLANG_BUILDLINK3_MK BUILDLINK_TREE+= -clang diff --git a/lang/clang/distinfo b/lang/clang/distinfo index 3b6574e74..9ec7dc5ca 100644 --- a/lang/clang/distinfo +++ b/lang/clang/distinfo @@ -1,12 +1,7 @@ -$NetBSD$ +$NetBSD: distinfo,v 1.42 2016/07/26 12:43:51 wiz Exp $ -SHA1 (clang-3.4.minix.src.tar.gz) = 2699f8c9c14df34cccdca39bd59e529a0936ba9a -RMD160 (clang-3.4.minix.src.tar.gz) = bf583a5162e6d180710f7488c10afc8f19cf6798 -Size (clang-3.4.minix.src.tar.gz) = 10504447 bytes -SHA1 (libcxx-3.4.minix.src.tar.gz) = 2faa2707aa7cdba79fe2b96482a0bb2c4b931e13 -RMD160 (libcxx-3.4.minix.src.tar.gz) = 6b0aac1ad775af71c2d13c4cc558e4bd2cd9bcae -Size (libcxx-3.4.minix.src.tar.gz) = 1376365 bytes -SHA1 (llvm-3.4.minix.src.tar.gz) = f52c8a7ea7ee531118499631e88ef552b5ea0a24 -RMD160 (llvm-3.4.minix.src.tar.gz) = 48768a541e4e3bdd10215c4360272db39d1bf7c1 -Size (llvm-3.4.minix.src.tar.gz) = 15750428 bytes -SHA1 (patch-include_llvm_Config_config.h.in) = c963d3b44a8e1fcdaf49d5a5c3cceb4fa4133a0a +SHA1 (cfe-3.8.1.src.tar.xz) = b5ff24dc6ad8f84654f4859389990bace1cfb6d5 +RMD160 (cfe-3.8.1.src.tar.xz) = a280504a3ba3aa59274120305f68fc8f8b3aca9c +SHA512 (cfe-3.8.1.src.tar.xz) = 72d23a410271b50f97371b13dd7a6c6c5c0a993e35df436ab716ece8521d83406aa3d4bf8fdecd8154139f39fd5e011e480d405225d8c3ff152d0a2ac4573e04 +Size (cfe-3.8.1.src.tar.xz) = 9605548 bytes +SHA1 (patch-tools_clang-format_CMakeLists.txt) = a1052c71728467625a40234719580cb34688a568 diff --git a/lang/clang/patches/patch-include_llvm_Config_config.h.in b/lang/clang/patches/patch-include_llvm_Config_config.h.in deleted file mode 100644 index 8ff006fa4..000000000 --- a/lang/clang/patches/patch-include_llvm_Config_config.h.in +++ /dev/null @@ -1,966 +0,0 @@ -$NetBSD$ - ---- include/llvm/Config/config.h.in.orig Mon Jun 30 13:14:38 2014 -+++ include/llvm/Config/config.h.in -@@ -1,727 +1,712 @@ -+/* include/llvm/Config/config.h. Generated from config.h.in by configure. */ - /* include/llvm/Config/config.h.in. Generated from autoconf/configure.ac by autoheader. */ - - #ifndef CONFIG_H - #define CONFIG_H - --/* Define if building universal (internal helper macro) */ --#undef AC_APPLE_UNIVERSAL_BUILD -- - /* Bug report URL. */ --#undef BUG_REPORT_URL -+#define BUG_REPORT_URL "http://llvm.org/bugs/" - - /* Define if we have libxml2 */ --#undef CLANG_HAVE_LIBXML -+/* #undef CLANG_HAVE_LIBXML */ - - /* Relative directory for resource files */ --#undef CLANG_RESOURCE_DIR -+#define CLANG_RESOURCE_DIR "" - - /* Directories clang will search for headers */ --#undef C_INCLUDE_DIRS -+#define C_INCLUDE_DIRS "/usr/include/clang-3.4:/usr/include" - - /* Default to all compiler invocations for --sysroot=. */ --#undef DEFAULT_SYSROOT -+#define DEFAULT_SYSROOT "" - - /* Define if you want backtraces on crash */ --#undef ENABLE_BACKTRACES -+#define ENABLE_BACKTRACES 1 - - /* Define to enable crash handling overrides */ --#undef ENABLE_CRASH_OVERRIDES -+#define ENABLE_CRASH_OVERRIDES 1 - - /* Define if position independent code is enabled */ --#undef ENABLE_PIC -+#define ENABLE_PIC 1 - - /* Define if timestamp information (e.g., __DATE__) is allowed */ --#undef ENABLE_TIMESTAMPS -+#define ENABLE_TIMESTAMPS 0 - - /* Directory where gcc is installed. */ --#undef GCC_INSTALL_PREFIX -+#define GCC_INSTALL_PREFIX "" - - /* Define to 1 if you have the `arc4random' function. */ --#undef HAVE_ARC4RANDOM -+#define HAVE_ARC4RANDOM 1 - - /* Define to 1 if you have the `argz_append' function. */ --#undef HAVE_ARGZ_APPEND -+/* #undef HAVE_ARGZ_APPEND */ - - /* Define to 1 if you have the `argz_create_sep' function. */ --#undef HAVE_ARGZ_CREATE_SEP -+/* #undef HAVE_ARGZ_CREATE_SEP */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_ARGZ_H -+/* #undef HAVE_ARGZ_H */ - - /* Define to 1 if you have the `argz_insert' function. */ --#undef HAVE_ARGZ_INSERT -+/* #undef HAVE_ARGZ_INSERT */ - - /* Define to 1 if you have the `argz_next' function. */ --#undef HAVE_ARGZ_NEXT -+/* #undef HAVE_ARGZ_NEXT */ - - /* Define to 1 if you have the `argz_stringify' function. */ --#undef HAVE_ARGZ_STRINGIFY -+/* #undef HAVE_ARGZ_STRINGIFY */ - - /* Define to 1 if you have the `backtrace' function. */ --#undef HAVE_BACKTRACE -+/* #undef HAVE_BACKTRACE */ - - /* Define to 1 if you have the `ceilf' function. */ --#undef HAVE_CEILF -+#define HAVE_CEILF 1 - - /* Define if the neat program is available */ --#undef HAVE_CIRCO -+/* #undef HAVE_CIRCO */ - - /* Define to 1 if you have the `closedir' function. */ --#undef HAVE_CLOSEDIR -+#define HAVE_CLOSEDIR 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_CRASHREPORTERCLIENT_H -+/* #undef HAVE_CRASHREPORTERCLIENT_H */ - - /* can use __crashreporter_info__ */ --#undef HAVE_CRASHREPORTER_INFO -+#define HAVE_CRASHREPORTER_INFO 0 - - /* Define to 1 if you have the header file. */ --#undef HAVE_CXXABI_H -+#define HAVE_CXXABI_H 1 - - /* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you - don't. */ --#undef HAVE_DECL_FE_ALL_EXCEPT -+#define HAVE_DECL_FE_ALL_EXCEPT 1 - - /* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you - don't. */ --#undef HAVE_DECL_FE_INEXACT -+#define HAVE_DECL_FE_INEXACT 1 - - /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you - don't. */ --#undef HAVE_DECL_STRERROR_S -+#define HAVE_DECL_STRERROR_S 0 - - /* Define to 1 if you have the header file, and it defines `DIR'. - */ --#undef HAVE_DIRENT_H -+#define HAVE_DIRENT_H 1 - - /* Define if you have the GNU dld library. */ --#undef HAVE_DLD -+/* #undef HAVE_DLD */ - - /* Define to 1 if you have the `dlerror' function. */ --#undef HAVE_DLERROR -+#define HAVE_DLERROR 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_DLFCN_H -+#define HAVE_DLFCN_H 1 - - /* Define if dlopen() is available on this platform. */ --#undef HAVE_DLOPEN -+#define HAVE_DLOPEN 1 - - /* Define if the dot program is available */ --#undef HAVE_DOT -+/* #undef HAVE_DOT */ - - /* Define if the dotty program is available */ --#undef HAVE_DOTTY -+/* #undef HAVE_DOTTY */ - - /* Define if you have the _dyld_func_lookup function. */ --#undef HAVE_DYLD -+/* #undef HAVE_DYLD */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_ERRNO_H -+#define HAVE_ERRNO_H 1 - - /* Define to 1 if the system has the type `error_t'. */ --#undef HAVE_ERROR_T -+/* #undef HAVE_ERROR_T */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_EXECINFO_H -+#define HAVE_EXECINFO_H 1 - - /* Define to 1 if you have the `exp' function. */ --#undef HAVE_EXP -+#define HAVE_EXP 1 - - /* Define to 1 if you have the `exp2' function. */ --#undef HAVE_EXP2 -+#define HAVE_EXP2 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_FCNTL_H -+#define HAVE_FCNTL_H 1 - - /* Define if the neat program is available */ --#undef HAVE_FDP -+/* #undef HAVE_FDP */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_FENV_H -+ #ifndef __ppc__ -+#define HAVE_FENV_H 1 -+ #endif - - /* Define if libffi is available on this platform. */ --#undef HAVE_FFI_CALL -+/* #undef HAVE_FFI_CALL */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_FFI_FFI_H -+/* #undef HAVE_FFI_FFI_H */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_FFI_H -+/* #undef HAVE_FFI_H */ - - /* Set to 1 if the finite function is found in */ --#undef HAVE_FINITE_IN_IEEEFP_H -+/* #undef HAVE_FINITE_IN_IEEEFP_H */ - - /* Define to 1 if you have the `floorf' function. */ --#undef HAVE_FLOORF -+#define HAVE_FLOORF 1 - - /* Define to 1 if you have the `fmodf' function. */ --#undef HAVE_FMODF -+#define HAVE_FMODF 1 - - /* Define to 1 if you have the `futimens' function. */ --#undef HAVE_FUTIMENS -+#define HAVE_FUTIMENS 1 - - /* Define to 1 if you have the `futimes' function. */ --#undef HAVE_FUTIMES -+#define HAVE_FUTIMES 1 - - /* Define to 1 if you have the `getcwd' function. */ --#undef HAVE_GETCWD -+#define HAVE_GETCWD 1 - - /* Define to 1 if you have the `getpagesize' function. */ --#undef HAVE_GETPAGESIZE -+#define HAVE_GETPAGESIZE 1 - - /* Define to 1 if you have the `getrlimit' function. */ --#undef HAVE_GETRLIMIT -+#define HAVE_GETRLIMIT 1 - - /* Define to 1 if you have the `getrusage' function. */ --#undef HAVE_GETRUSAGE -+#define HAVE_GETRUSAGE 1 - - /* Define to 1 if you have the `gettimeofday' function. */ --#undef HAVE_GETTIMEOFDAY -+#define HAVE_GETTIMEOFDAY 1 - - /* Define if the Graphviz program is available */ --#undef HAVE_GRAPHVIZ -+/* #undef HAVE_GRAPHVIZ */ - - /* Define if the gv program is available */ --#undef HAVE_GV -+/* #undef HAVE_GV */ - - /* Define to 1 if the system has the type `int64_t'. */ --#undef HAVE_INT64_T -+#define HAVE_INT64_T 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_INTTYPES_H -+#define HAVE_INTTYPES_H 1 - - /* Define to 1 if you have the `isatty' function. */ --#undef HAVE_ISATTY -+#define HAVE_ISATTY 1 - - /* Set to 1 if the isinf function is found in */ --#undef HAVE_ISINF_IN_CMATH -+#define HAVE_ISINF_IN_CMATH 1 - - /* Set to 1 if the isinf function is found in */ --#undef HAVE_ISINF_IN_MATH_H -+#define HAVE_ISINF_IN_MATH_H 1 - - /* Set to 1 if the isnan function is found in */ --#undef HAVE_ISNAN_IN_CMATH -+#define HAVE_ISNAN_IN_CMATH 1 - - /* Set to 1 if the isnan function is found in */ --#undef HAVE_ISNAN_IN_MATH_H -+#define HAVE_ISNAN_IN_MATH_H 1 - - /* Define if you have the libdl library or equivalent. */ --#undef HAVE_LIBDL -+#define HAVE_LIBDL 1 - - /* Define to 1 if you have the `imagehlp' library (-limagehlp). */ --#undef HAVE_LIBIMAGEHLP -+/* #undef HAVE_LIBIMAGEHLP */ - - /* Define to 1 if you have the `m' library (-lm). */ --#undef HAVE_LIBM -+#define HAVE_LIBM 1 - - /* Define to 1 if you have the `psapi' library (-lpsapi). */ --#undef HAVE_LIBPSAPI -+/* #undef HAVE_LIBPSAPI */ - - /* Define to 1 if you have the `pthread' library (-lpthread). */ --#undef HAVE_LIBPTHREAD -+/* MINIX: #define HAVE_LIBPTHREAD 1 */ - - /* Define to 1 if you have the `shell32' library (-lshell32). */ --#undef HAVE_LIBSHELL32 -+/* #undef HAVE_LIBSHELL32 */ - - /* Define to 1 if you have the `udis86' library (-ludis86). */ --#undef HAVE_LIBUDIS86 -+/* #undef HAVE_LIBUDIS86 */ - - /* Define to 1 if you have the `z' library (-lz). */ --#undef HAVE_LIBZ -+#define HAVE_LIBZ 1 - - /* Define if you can use -rdynamic. */ --#undef HAVE_LINK_EXPORT_DYNAMIC -+#define HAVE_LINK_EXPORT_DYNAMIC 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_LINK_H -+#define HAVE_LINK_H 1 - - /* Define if you can use -Wl,-R. to pass -R. to the linker, in order to add - the current directory to the dynamic linker search path. */ --#undef HAVE_LINK_R -+#define HAVE_LINK_R 1 - - /* Define to 1 if you have the `log' function. */ --#undef HAVE_LOG -+#define HAVE_LOG 1 - - /* Define to 1 if you have the `log10' function. */ --#undef HAVE_LOG10 -+#define HAVE_LOG10 1 - - /* Define to 1 if you have the `log2' function. */ --#undef HAVE_LOG2 -+#define HAVE_LOG2 1 - - /* Define to 1 if you have the `longjmp' function. */ --#undef HAVE_LONGJMP -+/* #undef HAVE_LONGJMP */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_MACH_MACH_H -+/* #undef HAVE_MACH_MACH_H */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_MACH_O_DYLD_H -+/* #undef HAVE_MACH_O_DYLD_H */ - - /* Define if mallinfo() is available on this platform. */ --#undef HAVE_MALLINFO -+/* #undef HAVE_MALLINFO */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_MALLOC_H -+#define HAVE_MALLOC_H 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_MALLOC_MALLOC_H -+/* #undef HAVE_MALLOC_MALLOC_H */ - - /* Define to 1 if you have the `malloc_zone_statistics' function. */ --#undef HAVE_MALLOC_ZONE_STATISTICS -+/* #undef HAVE_MALLOC_ZONE_STATISTICS */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_MEMORY_H -+#define HAVE_MEMORY_H 1 - - /* Define to 1 if you have the `mkdtemp' function. */ --#undef HAVE_MKDTEMP -+#define HAVE_MKDTEMP 1 - - /* Define to 1 if you have the `mkstemp' function. */ --#undef HAVE_MKSTEMP -+#define HAVE_MKSTEMP 1 - - /* Define to 1 if you have the `mktemp' function. */ --#undef HAVE_MKTEMP -+#define HAVE_MKTEMP 1 - - /* Define to 1 if you have a working `mmap' system call. */ --#undef HAVE_MMAP -+#define HAVE_MMAP 1 - - /* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if - it uses MAP_ANON */ --#undef HAVE_MMAP_ANONYMOUS -+/* #undef HAVE_MMAP_ANONYMOUS */ - - /* Define if mmap() can map files into memory */ --#undef HAVE_MMAP_FILE -+#define HAVE_MMAP_FILE 1 - - /* Define to 1 if you have the header file, and it defines `DIR'. */ --#undef HAVE_NDIR_H -+/* #undef HAVE_NDIR_H */ - - /* Define to 1 if you have the `nearbyintf' function. */ --#undef HAVE_NEARBYINTF -+#define HAVE_NEARBYINTF 1 - - /* Define if the neat program is available */ --#undef HAVE_NEATO -+/* #undef HAVE_NEATO */ - - /* Define to 1 if you have the `opendir' function. */ --#undef HAVE_OPENDIR -+#define HAVE_OPENDIR 1 - - /* Define to 1 if you have the `posix_spawn' function. */ --#undef HAVE_POSIX_SPAWN -+/* MINIX: #define HAVE_POSIX_SPAWN 1 */ - - /* Define to 1 if you have the `powf' function. */ --#undef HAVE_POWF -+#define HAVE_POWF 1 - - /* Define to 1 if you have the `pread' function. */ --#undef HAVE_PREAD -+#define HAVE_PREAD 1 - - /* Define if libtool can extract symbol lists from object files. */ --#undef HAVE_PRELOADED_SYMBOLS -+#define HAVE_PRELOADED_SYMBOLS 1 - - /* Define to have the %a format string */ --#undef HAVE_PRINTF_A -+#define HAVE_PRINTF_A 1 - - /* Have pthread_getspecific */ --#undef HAVE_PTHREAD_GETSPECIFIC -+/* MINIX: #define HAVE_PTHREAD_GETSPECIFIC 1 */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_PTHREAD_H -+/* MINIX: #define HAVE_PTHREAD_H 1 */ - - /* Have pthread_mutex_lock */ --#undef HAVE_PTHREAD_MUTEX_LOCK -+/* MINIX: #define HAVE_PTHREAD_MUTEX_LOCK 1 */ - - /* Have pthread_rwlock_init */ --#undef HAVE_PTHREAD_RWLOCK_INIT -+/* MINIX: #define HAVE_PTHREAD_RWLOCK_INIT 1 */ - - /* Define to 1 if srand48/lrand48/drand48 exist in */ --#undef HAVE_RAND48 -+#define HAVE_RAND48 1 - - /* Define to 1 if you have the `readdir' function. */ --#undef HAVE_READDIR -+#define HAVE_READDIR 1 - - /* Define to 1 if you have the `realpath' function. */ --#undef HAVE_REALPATH -+#define HAVE_REALPATH 1 - - /* Define to 1 if you have the `rintf' function. */ --#undef HAVE_RINTF -+#define HAVE_RINTF 1 - - /* Define to 1 if you have the `round' function. */ --#undef HAVE_ROUND -+#define HAVE_ROUND 1 - - /* Define to 1 if you have the `roundf' function. */ --#undef HAVE_ROUNDF -+#define HAVE_ROUNDF 1 - - /* Define to 1 if you have the `sbrk' function. */ --#undef HAVE_SBRK -+#define HAVE_SBRK 1 - - /* Define to 1 if you have the `setenv' function. */ --#undef HAVE_SETENV -+#define HAVE_SETENV 1 - - /* Define to 1 if you have the `setjmp' function. */ --#undef HAVE_SETJMP -+/* #undef HAVE_SETJMP */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_SETJMP_H -+#define HAVE_SETJMP_H 1 - - /* Define to 1 if you have the `setrlimit' function. */ --#undef HAVE_SETRLIMIT -+/* MINIX: #define HAVE_SETRLIMIT 1 */ - - /* Define if you have the shl_load function. */ --#undef HAVE_SHL_LOAD -+/* #undef HAVE_SHL_LOAD */ - - /* Define to 1 if you have the `siglongjmp' function. */ --#undef HAVE_SIGLONGJMP -+/* #undef HAVE_SIGLONGJMP */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_SIGNAL_H -+#define HAVE_SIGNAL_H 1 - - /* Define to 1 if you have the `sigsetjmp' function. */ --#undef HAVE_SIGSETJMP -+/* #undef HAVE_SIGSETJMP */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_STDINT_H -+#define HAVE_STDINT_H 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_STDLIB_H -+#define HAVE_STDLIB_H 1 - - /* Set to 1 if the std::isinf function is found in */ --#undef HAVE_STD_ISINF_IN_CMATH -+#define HAVE_STD_ISINF_IN_CMATH 1 - - /* Set to 1 if the std::isnan function is found in */ --#undef HAVE_STD_ISNAN_IN_CMATH -+#define HAVE_STD_ISNAN_IN_CMATH 1 - - /* Define to 1 if you have the `strerror' function. */ --#undef HAVE_STRERROR -+#define HAVE_STRERROR 1 - - /* Define to 1 if you have the `strerror_r' function. */ --#undef HAVE_STRERROR_R -+#define HAVE_STRERROR_R 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_STRINGS_H -+#define HAVE_STRINGS_H 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_STRING_H -+#define HAVE_STRING_H 1 - - /* Define to 1 if you have the `strtof' function. */ --#undef HAVE_STRTOF -+#define HAVE_STRTOF 1 - - /* Define to 1 if you have the `strtoll' function. */ --#undef HAVE_STRTOLL -+#define HAVE_STRTOLL 1 - - /* Define to 1 if you have the `strtoq' function. */ --#undef HAVE_STRTOQ -+#define HAVE_STRTOQ 1 - - /* Define to 1 if you have the `sysconf' function. */ --#undef HAVE_SYSCONF -+/* #define HAVE_SYSCONF 1 */ - - /* Define to 1 if you have the header file, and it defines `DIR'. - */ --#undef HAVE_SYS_DIR_H -+/* #undef HAVE_SYS_DIR_H */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_SYS_IOCTL_H -+#define HAVE_SYS_IOCTL_H 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_SYS_MMAN_H -+#define HAVE_SYS_MMAN_H 1 - - /* Define to 1 if you have the header file, and it defines `DIR'. - */ --#undef HAVE_SYS_NDIR_H -+/* #undef HAVE_SYS_NDIR_H */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_SYS_PARAM_H -+#define HAVE_SYS_PARAM_H 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_SYS_RESOURCE_H -+#define HAVE_SYS_RESOURCE_H 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_SYS_STAT_H -+#define HAVE_SYS_STAT_H 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_SYS_TIME_H -+#define HAVE_SYS_TIME_H 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_SYS_TYPES_H -+#define HAVE_SYS_TYPES_H 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_SYS_UIO_H -+#define HAVE_SYS_UIO_H 1 - - /* Define to 1 if you have that is POSIX.1 compatible. */ --#undef HAVE_SYS_WAIT_H -+#define HAVE_SYS_WAIT_H 1 - - /* Define if the setupterm() function is supported this platform. */ --#undef HAVE_TERMINFO -+#define HAVE_TERMINFO 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_TERMIOS_H -+#define HAVE_TERMIOS_H 1 - - /* Define if the neat program is available */ --#undef HAVE_TWOPI -+/* #undef HAVE_TWOPI */ - - /* Define to 1 if the system has the type `uint64_t'. */ --#undef HAVE_UINT64_T -+#define HAVE_UINT64_T 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_UNISTD_H -+#define HAVE_UNISTD_H 1 - - /* Define to 1 if you have the header file. */ --#undef HAVE_UTIME_H -+#define HAVE_UTIME_H 1 - - /* Define to 1 if the system has the type `u_int64_t'. */ --#undef HAVE_U_INT64_T -+/* #undef HAVE_U_INT64_T */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_VALGRIND_VALGRIND_H -+/* #undef HAVE_VALGRIND_VALGRIND_H */ - - /* Define to 1 if you have the `writev' function. */ --#undef HAVE_WRITEV -+#define HAVE_WRITEV 1 - - /* Define if the xdot program is available */ --#undef HAVE_XDOT -+/* #undef HAVE_XDOT */ - - /* Define to 1 if you have the header file. */ --#undef HAVE_ZLIB_H -+#define HAVE_ZLIB_H 1 - - /* Have host's _alloca */ --#undef HAVE__ALLOCA -+/* #undef HAVE__ALLOCA */ - - /* Have host's __alloca */ --#undef HAVE___ALLOCA -+/* #undef HAVE___ALLOCA */ - - /* Have host's __ashldi3 */ --#undef HAVE___ASHLDI3 -+/* #undef HAVE___ASHLDI3 */ - - /* Have host's __ashrdi3 */ --#undef HAVE___ASHRDI3 -+/* #undef HAVE___ASHRDI3 */ - - /* Have host's __chkstk */ --#undef HAVE___CHKSTK -+/* #undef HAVE___CHKSTK */ - - /* Have host's __cmpdi2 */ --#undef HAVE___CMPDI2 -+/* #undef HAVE___CMPDI2 */ - - /* Have host's __divdi3 */ --#undef HAVE___DIVDI3 -+/* #undef HAVE___DIVDI3 */ - - /* Define to 1 if you have the `__dso_handle' function. */ --#undef HAVE___DSO_HANDLE -+#define HAVE___DSO_HANDLE 1 - - /* Have host's __fixdfdi */ --#undef HAVE___FIXDFDI -+/* #undef HAVE___FIXDFDI */ - - /* Have host's __fixsfdi */ --#undef HAVE___FIXSFDI -+/* #undef HAVE___FIXSFDI */ - - /* Have host's __floatdidf */ --#undef HAVE___FLOATDIDF -+/* #undef HAVE___FLOATDIDF */ - - /* Have host's __lshrdi3 */ --#undef HAVE___LSHRDI3 -+/* #undef HAVE___LSHRDI3 */ - - /* Have host's __main */ --#undef HAVE___MAIN -+/* #undef HAVE___MAIN */ - - /* Have host's __moddi3 */ --#undef HAVE___MODDI3 -+/* #undef HAVE___MODDI3 */ - - /* Have host's __udivdi3 */ --#undef HAVE___UDIVDI3 -+/* #undef HAVE___UDIVDI3 */ - - /* Have host's __umoddi3 */ --#undef HAVE___UMODDI3 -+/* #undef HAVE___UMODDI3 */ - - /* Have host's ___chkstk */ --#undef HAVE____CHKSTK -+/* #undef HAVE____CHKSTK */ - - /* Linker version detected at compile time. */ --#undef HOST_LINK_VERSION -+#define HOST_LINK_VERSION "2.23.2" - - /* Installation directory for binary executables */ --#undef LLVM_BINDIR -+#define LLVM_BINDIR "/usr/bin" - - /* Time at which LLVM was configured */ --#undef LLVM_CONFIGTIME -+#define LLVM_CONFIGTIME "(timestamp not enabled)" - - /* Installation directory for data files */ --#undef LLVM_DATADIR -+#define LLVM_DATADIR "/usr/share/llvm" - - /* Target triple LLVM will generate code for by default */ --#undef LLVM_DEFAULT_TARGET_TRIPLE -+#define LLVM_DEFAULT_TARGET_TRIPLE "i586-elf32-minix" - - /* Installation directory for documentation */ --#undef LLVM_DOCSDIR -+#define LLVM_DOCSDIR "/usr/share/doc/llvm" - - /* Define if threads enabled */ --#undef LLVM_ENABLE_THREADS -+/* MINIX: #define LLVM_ENABLE_THREADS 1 */ - - /* Define if zlib is enabled */ --#undef LLVM_ENABLE_ZLIB -+#define LLVM_ENABLE_ZLIB 1 - - /* Installation directory for config files */ --#undef LLVM_ETCDIR -+#define LLVM_ETCDIR "/usr/etc/llvm" - - /* Has gcc/MSVC atomic intrinsics */ --#undef LLVM_HAS_ATOMICS -+#define LLVM_HAS_ATOMICS 1 - - /* Host triple LLVM will be executed on */ --#undef LLVM_HOST_TRIPLE -+#define LLVM_HOST_TRIPLE "i586-elf32-minix" - - /* Installation directory for include files */ --#undef LLVM_INCLUDEDIR -+#define LLVM_INCLUDEDIR "/usr/include" - - /* Installation directory for .info files */ --#undef LLVM_INFODIR -+#define LLVM_INFODIR "/usr/info" - - /* Installation directory for man pages */ --#undef LLVM_MANDIR -+#define LLVM_MANDIR "/usr/man" - - /* LLVM architecture name for the native architecture, if available */ --#undef LLVM_NATIVE_ARCH -+#define LLVM_NATIVE_ARCH X86 - - /* LLVM name for the native AsmParser init function, if available */ --#undef LLVM_NATIVE_ASMPARSER -+#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser - - /* LLVM name for the native AsmPrinter init function, if available */ --#undef LLVM_NATIVE_ASMPRINTER -+#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter - - /* LLVM name for the native Disassembler init function, if available */ --#undef LLVM_NATIVE_DISASSEMBLER -+#define LLVM_NATIVE_DISASSEMBLER LLVMInitializeX86Disassembler - - /* LLVM name for the native Target init function, if available */ --#undef LLVM_NATIVE_TARGET -+#define LLVM_NATIVE_TARGET LLVMInitializeX86Target - - /* LLVM name for the native TargetInfo init function, if available */ --#undef LLVM_NATIVE_TARGETINFO -+#define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo - - /* LLVM name for the native target MC init function, if available */ --#undef LLVM_NATIVE_TARGETMC -+#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC - - /* Define if this is Unixish platform */ --#undef LLVM_ON_UNIX -+#define LLVM_ON_UNIX 1 - - /* Define if this is Win32ish platform */ --#undef LLVM_ON_WIN32 -+/* #undef LLVM_ON_WIN32 */ - - /* Define to path to circo program if found or 'echo circo' otherwise */ --#undef LLVM_PATH_CIRCO -+/* #undef LLVM_PATH_CIRCO */ - - /* Define to path to dot program if found or 'echo dot' otherwise */ --#undef LLVM_PATH_DOT -+/* #undef LLVM_PATH_DOT */ - - /* Define to path to dotty program if found or 'echo dotty' otherwise */ --#undef LLVM_PATH_DOTTY -+/* #undef LLVM_PATH_DOTTY */ - - /* Define to path to fdp program if found or 'echo fdp' otherwise */ --#undef LLVM_PATH_FDP -+/* #undef LLVM_PATH_FDP */ - - /* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */ --#undef LLVM_PATH_GRAPHVIZ -+/* #undef LLVM_PATH_GRAPHVIZ */ - - /* Define to path to gv program if found or 'echo gv' otherwise */ --#undef LLVM_PATH_GV -+/* #undef LLVM_PATH_GV */ - - /* Define to path to neato program if found or 'echo neato' otherwise */ --#undef LLVM_PATH_NEATO -+/* #undef LLVM_PATH_NEATO */ - - /* Define to path to twopi program if found or 'echo twopi' otherwise */ --#undef LLVM_PATH_TWOPI -+/* #undef LLVM_PATH_TWOPI */ - - /* Define to path to xdot program if found or 'echo xdot' otherwise */ --#undef LLVM_PATH_XDOT -+/* #undef LLVM_PATH_XDOT */ - - /* Installation prefix directory */ --#undef LLVM_PREFIX -+#define LLVM_PREFIX "/usr" - - /* Define if we have the Intel JIT API runtime support library */ --#undef LLVM_USE_INTEL_JITEVENTS -+#define LLVM_USE_INTEL_JITEVENTS 0 - - /* Define if we have the oprofile JIT-support library */ --#undef LLVM_USE_OPROFILE -+#define LLVM_USE_OPROFILE 0 - - /* Major version of the LLVM API */ --#undef LLVM_VERSION_MAJOR -+#define LLVM_VERSION_MAJOR 3 - - /* Minor version of the LLVM API */ --#undef LLVM_VERSION_MINOR -+#define LLVM_VERSION_MINOR 4 - - /* Define if the OS needs help to load dependent libraries for dlopen(). */ --#undef LTDL_DLOPEN_DEPLIBS -+/* #undef LTDL_DLOPEN_DEPLIBS */ - - /* Define to the sub-directory in which libtool stores uninstalled libraries. - */ --#undef LTDL_OBJDIR -+#define LTDL_OBJDIR ".libs/" - - /* Define to the extension used for shared libraries, say, ".so". */ --#undef LTDL_SHLIB_EXT -+#define LTDL_SHLIB_EXT ".so" - - /* Define to the system default library search path. */ --#undef LTDL_SYSSEARCHPATH -+#define LTDL_SYSSEARCHPATH "/lib:/usr/lib" - - /* Define if /dev/zero should be used when mapping RWX memory, or undefine if - its not necessary */ --#undef NEED_DEV_ZERO_FOR_MMAP -+/* #undef NEED_DEV_ZERO_FOR_MMAP */ - - /* Define if dlsym() requires a leading underscore in symbol names. */ --#undef NEED_USCORE -+/* #undef NEED_USCORE */ - - /* Define to the address where bug reports for this package should be sent. */ --#undef PACKAGE_BUGREPORT -+#define PACKAGE_BUGREPORT "http://llvm.org/bugs/" - - /* Define to the full name of this package. */ --#undef PACKAGE_NAME -+#define PACKAGE_NAME "LLVM" - - /* Define to the full name and version of this package. */ --#undef PACKAGE_STRING -+#define PACKAGE_STRING "LLVM 3.4svn" - - /* Define to the one symbol short name of this package. */ --#undef PACKAGE_TARNAME -+#define PACKAGE_TARNAME "llvm" - --/* Define to the home page for this package. */ --#undef PACKAGE_URL -- - /* Define to the version of this package. */ --#undef PACKAGE_VERSION -+#define PACKAGE_VERSION "3.4svn" - - /* Define as the return type of signal handlers (`int' or `void'). */ --#undef RETSIGTYPE -+#define RETSIGTYPE void - - /* Define to 1 if the `S_IS*' macros in do not work properly. */ --#undef STAT_MACROS_BROKEN -+/* #undef STAT_MACROS_BROKEN */ - - /* Define to 1 if you have the ANSI C header files. */ --#undef STDC_HEADERS -+#define STDC_HEADERS 1 - - /* Define to 1 if you can safely include both and . */ --#undef TIME_WITH_SYS_TIME -+#define TIME_WITH_SYS_TIME 1 - - /* Define to 1 if your declares `struct tm'. */ --#undef TM_IN_SYS_TIME -+/* #undef TM_IN_SYS_TIME */ - - /* Define if use udis86 library */ --#undef USE_UDIS86 -+#define USE_UDIS86 0 - - /* Type of 1st arg on ELM Callback */ --#undef WIN32_ELMCB_PCSTR -+/* #undef WIN32_ELMCB_PCSTR */ - --/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most -- significant byte first (like Motorola and SPARC, unlike Intel). */ --#if defined AC_APPLE_UNIVERSAL_BUILD --# if defined __BIG_ENDIAN__ --# define WORDS_BIGENDIAN 1 --# endif --#else --# ifndef WORDS_BIGENDIAN --# undef WORDS_BIGENDIAN --# endif --#endif -- - /* Define to empty if `const' does not conform to ANSI C. */ --#undef const -+/* #undef const */ - - /* Define to a type to use for `error_t' if it is not otherwise available. */ --#undef error_t -+#define error_t int - - /* Define to `int' if does not define. */ --#undef pid_t -+/* #undef pid_t */ - - /* Define to `unsigned int' if does not define. */ --#undef size_t -+/* #undef size_t */ - - #endif diff --git a/lang/clang/patches/patch-tools_clang-format_CMakeLists.txt b/lang/clang/patches/patch-tools_clang-format_CMakeLists.txt new file mode 100644 index 000000000..06d8af525 --- /dev/null +++ b/lang/clang/patches/patch-tools_clang-format_CMakeLists.txt @@ -0,0 +1,15 @@ +$NetBSD: patch-tools_clang-format_CMakeLists.txt,v 1.1 2016/03/10 15:01:52 tnn Exp $ + +git-clang-format is a git integration for clang-format, +written in python. It could be moved to a separate package +to avoid a python runtime dependency here, but for now I just opted +to move it to share/clang and skip the interpreter check. + +--- tools/clang-format/CMakeLists.txt.orig 2016-02-21 01:22:56.000000000 +0000 ++++ tools/clang-format/CMakeLists.txt +@@ -25,4 +25,4 @@ install(PROGRAMS clang-format-diff.py DE + install(PROGRAMS clang-format-sublime.py DESTINATION share/clang) + install(PROGRAMS clang-format.el DESTINATION share/clang) + install(PROGRAMS clang-format.py DESTINATION share/clang) +-install(PROGRAMS git-clang-format DESTINATION bin) ++install(PROGRAMS git-clang-format DESTINATION share/clang)