aboutsummaryrefslogtreecommitdiffstats
path: root/lang/clang
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2013-12-23 03:25:20 +0800
committerrene <rene@FreeBSD.org>2013-12-23 03:25:20 +0800
commitfb22975464a402f0cbd765916cc6ffab081c1144 (patch)
tree7720b707b638612b86b7bf9e09709715a3146a83 /lang/clang
parent373dac7d8b3dda1bb7fb166eae6d0fa9433d4a72 (diff)
downloadfreebsd-ports-gnome-fb22975464a402f0cbd765916cc6ffab081c1144.tar.gz
freebsd-ports-gnome-fb22975464a402f0cbd765916cc6ffab081c1144.tar.zst
freebsd-ports-gnome-fb22975464a402f0cbd765916cc6ffab081c1144.zip
Remove expired port:
2013-11-04 lang/clang: Migrate to lang/clang32 or newer
Diffstat (limited to 'lang/clang')
-rw-r--r--lang/clang/Makefile196
-rw-r--r--lang/clang/distinfo4
-rw-r--r--lang/clang/files/patch-include_llvm_ADT_Triple.h17
-rw-r--r--lang/clang/files/patch-svn-r172354203
-rw-r--r--lang/clang/files/patch-svn-r17591966
-rw-r--r--lang/clang/files/patch-tools_clang_include_clang_Analysis_Analyses_FormatString.h24
-rw-r--r--lang/clang/files/patch-tools_clang_lib_Analysis_PrintfFormatString.cpp48
-rw-r--r--lang/clang/files/patch-tools_clang_lib_Headers_Makefile14
-rw-r--r--lang/clang/files/patch-tools_clang_lib_Sema_SemaChecking.cpp45
-rw-r--r--lang/clang/files/patch-tools_clang_tools_scan-build_scan-build23
-rw-r--r--lang/clang/files/patch-utils_llvm-build_llvmbuild_main.py20
-rw-r--r--lang/clang/pkg-descr4
-rw-r--r--lang/clang/pkg-plist517
13 files changed, 0 insertions, 1181 deletions
diff --git a/lang/clang/Makefile b/lang/clang/Makefile
deleted file mode 100644
index 96d0d7296bf4..000000000000
--- a/lang/clang/Makefile
+++ /dev/null
@@ -1,196 +0,0 @@
-# Created by: Brooks Davis
-# $FreeBSD$
-
-PORTNAME= clang
-PORTVERSION= 3.2
-PORTREVISION= 4
-CATEGORIES= lang devel
-MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/
-DISTNAME= ${PORTNAME}-${PORTVERSION}.src
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- ${LLVM_SOURCE}
-EXTRACT_ONLY= ${LLVM_SOURCE}
-
-MAINTAINER= brooks@FreeBSD.org
-COMMENT= C, Objective-C, and C++ compiler
-
-CONFLICTS= clang-devel-[23]*
-
-DEPRECATED= Migrate to devel/clang32 or newer
-EXPIRATION_DATE= 2013-11-04
-
-CLANG_NAME= clang-${PORTVERSION}.src
-CLANG_SOURCE= ${CLANG_NAME}${EXTRACT_SUFX}
-LLVM_NAME= llvm-${PORTVERSION}.src
-LLVM_SOURCE= ${LLVM_NAME}${EXTRACT_SUFX}
-
-WRKSRC= ${WRKDIR}/${LLVM_NAME}
-BUILD_WRKSRC= ${WRKSRC}/tools/clang
-INSTALL_WRKSRC= ${WRKSRC}/tools/clang
-
-BUILD_DEPENDS+= llvm>=${PORTVERSION}:${PORTSDIR}/devel/llvm
-RUN_DEPENDS+= llvm>=${PORTVERSION}:${PORTSDIR}/devel/llvm
-.if defined(PACKAGE_BUILDING)
-BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu
-.endif
-
-GNU_CONFIGURE= yes
-USES= gmake perl5
-USE_LDCONFIG= yes
-USE_PYTHON= yes
-
-MAKE_ARGS= CLANG_TBLGEN=${WRKSRC}/${RELTYPE}/bin/clang-tblgen \
- LLVMIncDir=${LOCALBASE}/include \
- LLVMToolDir=${LOCALBASE}/bin \
- LLVMLibDir=${LOCALBASE}/lib
-
-OPTIONS_DEFINE= ASSERTS DOCS
-
-ASSERTS_DESC= Enable assertions (thread unsafe)
-
-CONFIGURE_ARGS+= --enable-optimized
-
-MAN1= clang.1
-
-PLIST_SUB+= PORTVERSION=${PORTVERSION}
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MASSERTS}
-CONFIGURE_ARGS+= --enable-assertions
-RELTYPE= Release+Asserts
-.else
-CONFIGURE_ARGS+= --disable-assertions
-RELTYPE= Release
-.endif
-
-.if ${PORT_OPTIONS:MDOCS}
-CONFIGURE_ARGS+= --enable-docs
-.else
-CONFIGURE_ARGS+= --disable-docs
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile on sparc64
-.endif
-
-post-extract:
- cd ${WRKSRC}/tools && \
- tar xf ${DISTDIR}/${CLANG_SOURCE} && \
- ${MV} ${CLANG_NAME} clang
-
-post-patch:
- ${REINPLACE_CMD} -e 's|${PORTVERSION}svn|${PORTVERSION}|g' \
- ${WRKSRC}/configure
- ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \
- ${WRKSRC}/Makefile.config.in
- ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \
- ${WRKSRC}/Makefile.config.in
- ${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \
- -e 's|%%DATADIR%%|${DATADIR}|' \
- ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \
- ${WRKSRC}/tools/clang/tools/scan-build/c++-analyzer \
- ${WRKSRC}/tools/clang/tools/scan-build/scan-build
- ${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
- ${WRKSRC}/tools/clang/tools/scan-view/scan-view
-
-pre-build:
- ${LN} -sf ${LOCALBASE}/include/llvm/Intrinsics.gen ${WRKSRC}/include/llvm/
- ${MKDIR} ${WRKSRC}/${RELTYPE}/lib
- ${LN} -sf ${LOCALBASE}/lib/libLLVM-${PORTVERSION}.so ${WRKSRC}/${RELTYPE}/lib/
- ${LN} -sf ${LOCALBASE}/lib/libLLVMTableGen.a ${WRKSRC}/${RELTYPE}/lib/
- ${LN} -sf ${LOCALBASE}/lib/libLLVMSupport.a ${WRKSRC}/${RELTYPE}/lib/
- cd ${WRKSRC}/utils/unittest && ${GMAKE}
-
-post-build:
- @cd ${WRKSRC}/tools/clang/docs/tools && ${GMAKE} clang.1
-
-post-install:
- @${LN} -sf clang ${PREFIX}/bin/clang-cpp
- @${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 \
- ${PREFIX}/bin
- @${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
- @${MKDIR} ${PYTHONPREFIX_SITELIBDIR}/Resources
- @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-view/*.py \
- ${PYTHONPREFIX_SITELIBDIR}
- @${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-view/Resources/* \
- ${PYTHONPREFIX_SITELIBDIR}/Resources
- @${MKDIR} ${DATADIR}
- @${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/scanview.css ${DATADIR}
- @${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/sorttable.js ${DATADIR}
- @${INSTALL_MAN} ${WRKSRC}/tools/clang/docs/tools/clang.1 \
- ${MANPREFIX}/man/man1/
-
-TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)'
-regression-test: ${BUILD_COOKIE}
- if [ `${ID} -u` = 0 ]; then \
- ${CHOWN} -R nobody ${WRKSRC}/test; \
- su -m nobody -c ${TEST_CMD}; \
- else \
- ${SH} -c ${TEST_CMD}; \
- fi
-
-PLIST_FILE_LIST= bin/ccc-analyzer \
- bin/c++-analyzer \
- bin/c-index-test \
- bin/clang \
- bin/clang++ \
- bin/clang-check \
- bin/clang-cpp \
- bin/clang-tblgen \
- bin/scan-build \
- bin/scan-view \
- lib/libclang*
-PLIST_DIR_LIST= include/clang \
- include/clang-c \
- lib/clang
-PLIST_PYFILE_LIST= ScanView.py \
- Reporter.py \
- Resources/* \
- startfile.py
-PLIST_PYDIR_LIST= Resources
-
-build-plist:
- ${RM} -f ${PLIST}
- cd ${PREFIX} && \
- (ls ${PLIST_FILE_LIST}; ${FIND} ${PLIST_DIR_LIST} -type f) | \
- ${SED} -e 's|${PORTVERSION}|%%PORTVERSION%%|' | ${SORT} >> ${PLIST}
- ${FIND} ${DATADIR} ${DOCSDIR} -type f | \
- ${SED} -e 's|${DATADIR}|%%DATADIR%%|' \
- -e 's|${DOCSDIR}|%%PORTDOCS%%%%DOCSDIR%%|' | ${SORT} >> ${PLIST}
- cd ${PYTHONPREFIX_SITELIBDIR} && \
- ls ${PLIST_PYFILE_LIST} | ${SORT} | \
- ${SED} -e 's|^|%%PYTHON_SITELIBDIR%%/|' >> ${PLIST}
- cd ${PREFIX} && \
- ${FIND} ${PLIST_DIR_LIST} -type d | \
- ${SED} -e 's|${PORTVERSION}|%%PORTVERSION%%|' | \
- ${SORT} -r | ${SED} -e 's|^|@dirrm |' >> ${PLIST}
- cd ${PYTHONPREFIX_SITELIBDIR} && \
- ${FIND} ${PLIST_PYDIR_LIST} -type d | ${SORT} -r | \
- ${SED} -e 's|^|@dirrm %%PYTHON_SITELIBDIR%%/|' >> ${PLIST}
- ${FIND} ${DATADIR} ${DOCSDIR} -type d | ${SORT} -r | \
- ${SED} -e 's|${DATADIR}|@dirrm %%DATADIR%%|' \
- -e 's|${DOCSDIR}|%%PORTDOCS%%@dirrm %%DOCSDIR%%|' >> ${PLIST}
-
-.if make(svn-patch)
-.if !defined(PATCH_REV)
-.error svn-patch requires that PATCH_REV be set
-.endif
-_PATCH_FILE=${FILESDIR}/patch-svn-${PATCH_REV}
-_LLVM_BASE=http://llvm.org/svn/llvm-project/cfe/trunk
-svn-patch:
- printf "$$%s$$\n" FreeBSD > ${_PATCH_FILE}
- svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE}
- svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \
- sed -e 's;^--- ;--- tools/clang/;' | \
- sed -e 's;^+++ ;+++ tools/clang/;' >> \
- ${_PATCH_FILE}
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/lang/clang/distinfo b/lang/clang/distinfo
deleted file mode 100644
index 33cfb8d777f2..000000000000
--- a/lang/clang/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (clang-3.2.src.tar.gz) = 2aaaf03f7c0f6b16fe97ecc81247dc2bf2d4bec7620a77cc74670b7e07ff5658
-SIZE (clang-3.2.src.tar.gz) = 8805311
-SHA256 (llvm-3.2.src.tar.gz) = 125090c4d26740f1d5e9838477c931ed7d9ad70d599ba265f46f3a42cb066343
-SIZE (llvm-3.2.src.tar.gz) = 12275252
diff --git a/lang/clang/files/patch-include_llvm_ADT_Triple.h b/lang/clang/files/patch-include_llvm_ADT_Triple.h
deleted file mode 100644
index 788c5bbd8909..000000000000
--- a/lang/clang/files/patch-include_llvm_ADT_Triple.h
+++ /dev/null
@@ -1,17 +0,0 @@
-
-$FreeBSD$
-
---- include/llvm/ADT/Triple.h.orig
-+++ include/llvm/ADT/Triple.h
-@@ -296,6 +296,11 @@
- return isMacOSX() || getOS() == Triple::IOS;
- }
-
-+ /// isOSFreeBSD - Is this FreeBSD OS
-+ bool isOSFreeBSD() const {
-+ return getOS() == Triple::FreeBSD;
-+ }
-+
- /// \brief Tests for either Cygwin or MinGW OS
- bool isOSCygMing() const {
- return getOS() == Triple::Cygwin || getOS() == Triple::MinGW32;
diff --git a/lang/clang/files/patch-svn-r172354 b/lang/clang/files/patch-svn-r172354
deleted file mode 100644
index 68f768a11cb3..000000000000
--- a/lang/clang/files/patch-svn-r172354
+++ /dev/null
@@ -1,203 +0,0 @@
-$FreeBSD$
-------------------------------------------------------------------------
-r172354 | chandlerc | 2013-01-13 11:46:33 +0000 (Sun, 13 Jan 2013) | 6 lines
-
-Refactor the x86 CPU name logic in the driver and pass -march and -mcpu
-flag information down from the Clang driver into the Gold linker plugin
-for LTO. This allows specifying -march on the linker commandline and
-should hopefully have it pass all the way through to the LTO optimizer.
-
-Fixes PR14697.
-------------------------------------------------------------------------
-Index: test/Driver/gold-lto.c
-===================================================================
---- tools/clang/test/Driver/gold-lto.c (revision 172353)
-+++ tools/clang/test/Driver/gold-lto.c (revision 172354)
-@@ -1,6 +1,21 @@
- // RUN: touch %t.o
--// RUN: %clang -target x86_64-pc-linux-gnu -### %t.o -O4 -Wl,-plugin-opt=foo 2> %t.log
--// RUN: FileCheck %s < %t.log
--
--// CHECK: "-plugin" "{{.*}}/LLVMgold.so"
--// CHECK: "-plugin-opt=foo"
-+//
-+// RUN: %clang -target x86_64-unknown-linux -### %t.o -flto 2>&1 \
-+// RUN: -Wl,-plugin-opt=foo \
-+// RUN: | FileCheck %s --check-prefix=CHECK-X86-64-BASIC
-+// CHECK-X86-64-BASIC: "-plugin" "{{.*}}/LLVMgold.so"
-+// CHECK-X86-64-BASIC: "-plugin-opt=foo"
-+//
-+// RUN: %clang -target x86_64-unknown-linux -### %t.o -flto 2>&1 \
-+// RUN: -march=corei7 -Wl,-plugin-opt=foo \
-+// RUN: | FileCheck %s --check-prefix=CHECK-X86-64-COREI7
-+// CHECK-X86-64-COREI7: "-plugin" "{{.*}}/LLVMgold.so"
-+// CHECK-X86-64-COREI7: "-plugin-opt=mcpu=corei7"
-+// CHECK-X86-64-COREI7: "-plugin-opt=foo"
-+//
-+// RUN: %clang -target arm-unknown-linux -### %t.o -flto 2>&1 \
-+// RUN: -march=armv7a -Wl,-plugin-opt=foo \
-+// RUN: | FileCheck %s --check-prefix=CHECK-ARM-V7A
-+// CHECK-ARM-V7A: "-plugin" "{{.*}}/LLVMgold.so"
-+// CHECK-ARM-V7A: "-plugin-opt=mcpu=cortex-a8"
-+// CHECK-ARM-V7A: "-plugin-opt=foo"
-Index: lib/Driver/Tools.cpp
-===================================================================
---- tools/clang/lib/Driver/Tools.cpp (revision 172353)
-+++ tools/clang/lib/Driver/Tools.cpp (revision 172354)
-@@ -1126,10 +1126,59 @@
- }
- }
-
-+static const char *getX86TargetCPU(const ArgList &Args,
-+ const llvm::Triple &Triple) {
-+ if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) {
-+ if (StringRef(A->getValue()) != "native")
-+ return A->getValue();
-+
-+ // FIXME: Reject attempts to use -march=native unless the target matches
-+ // the host.
-+ //
-+ // FIXME: We should also incorporate the detected target features for use
-+ // with -native.
-+ std::string CPU = llvm::sys::getHostCPUName();
-+ if (!CPU.empty() && CPU != "generic")
-+ return Args.MakeArgString(CPU);
-+ }
-+
-+ // Select the default CPU if none was given (or detection failed).
-+
-+ if (Triple.getArch() != llvm::Triple::x86_64 &&
-+ Triple.getArch() != llvm::Triple::x86)
-+ return 0; // This routine is only handling x86 targets.
-+
-+ bool Is64Bit = Triple.getArch() == llvm::Triple::x86_64;
-+
-+ // FIXME: Need target hooks.
-+ if (Triple.isOSDarwin())
-+ return Is64Bit ? "core2" : "yonah";
-+
-+ // Everything else goes to x86-64 in 64-bit mode.
-+ if (Is64Bit)
-+ return "x86-64";
-+
-+ if (Triple.getOSName().startswith("haiku"))
-+ return "i586";
-+ if (Triple.getOSName().startswith("openbsd"))
-+ return "i486";
-+ if (Triple.getOSName().startswith("bitrig"))
-+ return "i686";
-+ if (Triple.getOSName().startswith("freebsd"))
-+ return "i486";
-+ if (Triple.getOSName().startswith("netbsd"))
-+ return "i486";
-+ // All x86 devices running Android have core2 as their common
-+ // denominator. This makes a better choice than pentium4.
-+ if (Triple.getEnvironment() == llvm::Triple::Android)
-+ return "core2";
-+
-+ // Fallback to p4.
-+ return "pentium4";
-+}
-+
- void Clang::AddX86TargetArgs(const ArgList &Args,
- ArgStringList &CmdArgs) const {
-- const bool isAndroid =
-- getToolChain().getTriple().getEnvironment() == llvm::Triple::Android;
- if (!Args.hasFlag(options::OPT_mred_zone,
- options::OPT_mno_red_zone,
- true) ||
-@@ -1142,65 +1191,7 @@
- false))
- CmdArgs.push_back("-no-implicit-float");
-
-- const char *CPUName = 0;
-- if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) {
-- if (StringRef(A->getValue()) == "native") {
-- // FIXME: Reject attempts to use -march=native unless the target matches
-- // the host.
-- //
-- // FIXME: We should also incorporate the detected target features for use
-- // with -native.
-- std::string CPU = llvm::sys::getHostCPUName();
-- if (!CPU.empty() && CPU != "generic")
-- CPUName = Args.MakeArgString(CPU);
-- } else
-- CPUName = A->getValue();
-- }
--
-- // Select the default CPU if none was given (or detection failed).
-- if (!CPUName) {
-- // FIXME: Need target hooks.
-- if (getToolChain().getTriple().isOSDarwin()) {
-- if (getToolChain().getArch() == llvm::Triple::x86_64)
-- CPUName = "core2";
-- else if (getToolChain().getArch() == llvm::Triple::x86)
-- CPUName = "yonah";
-- } else if (getToolChain().getOS().startswith("haiku")) {
-- if (getToolChain().getArch() == llvm::Triple::x86_64)
-- CPUName = "x86-64";
-- else if (getToolChain().getArch() == llvm::Triple::x86)
-- CPUName = "i586";
-- } else if (getToolChain().getOS().startswith("openbsd")) {
-- if (getToolChain().getArch() == llvm::Triple::x86_64)
-- CPUName = "x86-64";
-- else if (getToolChain().getArch() == llvm::Triple::x86)
-- CPUName = "i486";
-- } else if (getToolChain().getOS().startswith("bitrig")) {
-- if (getToolChain().getArch() == llvm::Triple::x86_64)
-- CPUName = "x86-64";
-- else if (getToolChain().getArch() == llvm::Triple::x86)
-- CPUName = "i686";
-- } else if (getToolChain().getOS().startswith("freebsd")) {
-- if (getToolChain().getArch() == llvm::Triple::x86_64)
-- CPUName = "x86-64";
-- else if (getToolChain().getArch() == llvm::Triple::x86)
-- CPUName = "i486";
-- } else if (getToolChain().getOS().startswith("netbsd")) {
-- if (getToolChain().getArch() == llvm::Triple::x86_64)
-- CPUName = "x86-64";
-- else if (getToolChain().getArch() == llvm::Triple::x86)
-- CPUName = "i486";
-- } else {
-- if (getToolChain().getArch() == llvm::Triple::x86_64)
-- CPUName = "x86-64";
-- else if (getToolChain().getArch() == llvm::Triple::x86)
-- // All x86 devices running Android have core2 as their common
-- // denominator. This makes a better choice than pentium4.
-- CPUName = isAndroid ? "core2" : "pentium4";
-- }
-- }
--
-- if (CPUName) {
-+ if (const char *CPUName = getX86TargetCPU(Args, getToolChain().getTriple())) {
- CmdArgs.push_back("-target-cpu");
- CmdArgs.push_back(CPUName);
- }
-@@ -5646,8 +5637,27 @@
- CmdArgs.push_back("-plugin");
- std::string Plugin = ToolChain.getDriver().Dir + "/../lib/LLVMgold.so";
- CmdArgs.push_back(Args.MakeArgString(Plugin));
-+
-+ // Try to pass driver level flags relevant to LTO code generation down to
-+ // the plugin.
-+
-+ // Handle architecture-specific flags for selecting CPU variants.
-+ if (ToolChain.getArch() == llvm::Triple::x86 ||
-+ ToolChain.getArch() == llvm::Triple::x86_64)
-+ CmdArgs.push_back(
-+ Args.MakeArgString(Twine("-plugin-opt=mcpu=") +
-+ getX86TargetCPU(Args, ToolChain.getTriple())));
-+ else if (ToolChain.getArch() == llvm::Triple::arm ||
-+ ToolChain.getArch() == llvm::Triple::thumb)
-+ CmdArgs.push_back(
-+ Args.MakeArgString(Twine("-plugin-opt=mcpu=") +
-+ getARMTargetCPU(Args, ToolChain.getTriple())));
-+
-+ // FIXME: Factor out logic for MIPS, PPC, and other targets to support this
-+ // as well.
- }
-
-+
- if (Args.hasArg(options::OPT_Z_Xlinker__no_demangle))
- CmdArgs.push_back("--no-demangle");
-
diff --git a/lang/clang/files/patch-svn-r175919 b/lang/clang/files/patch-svn-r175919
deleted file mode 100644
index 5ad39532a999..000000000000
--- a/lang/clang/files/patch-svn-r175919
+++ /dev/null
@@ -1,66 +0,0 @@
-$FreeBSD$
-------------------------------------------------------------------------
-r175919 | d0k | 2013-02-22 20:55:17 +0000 (Fri, 22 Feb 2013) | 4 lines
-
-Driver: Pass down the -march setting down to -cc1as on x86 too.
-
-The assembler historically didn't make use of any target features, but this has
-changed when support for old CPUs that don't support long nops was added.
-------------------------------------------------------------------------
-Index: test/Driver/target-as.s
-===================================================================
---- tools/clang/test/Driver/target-as.s (revision 0)
-+++ tools/clang/test/Driver/target-as.s (revision 175919)
-@@ -0,0 +1,8 @@
-+// REQUIRES: clang-driver
-+
-+// Make sure the -march is passed down to cc1as.
-+// RUN: %clang -target i386-unknown-freebsd -### -c -integrated-as %s \
-+// RUN: -march=geode 2>&1 | FileCheck -check-prefix=TARGET %s
-+//
-+// TARGET: "-cc1as"
-+// TARGET: "-target-cpu" "geode"
-Index: lib/Driver/Tools.cpp
-===================================================================
---- tools/clang/lib/Driver/Tools.cpp (revision 175918)
-+++ tools/clang/lib/Driver/Tools.cpp (revision 175919)
-@@ -3325,6 +3325,15 @@
- addFPMathArgs(D, A, Args, CmdArgs, getARMTargetCPU(Args, Triple));
- }
-
-+void ClangAs::AddX86TargetArgs(const ArgList &Args,
-+ ArgStringList &CmdArgs) const {
-+ // Set the CPU based on -march=.
-+ if (const char *CPUName = getX86TargetCPU(Args, getToolChain().getTriple())) {
-+ CmdArgs.push_back("-target-cpu");
-+ CmdArgs.push_back(CPUName);
-+ }
-+}
-+
- /// Add options related to the Objective-C runtime/ABI.
- ///
- /// Returns true if the runtime is non-fragile.
-@@ -3500,6 +3509,11 @@
- case llvm::Triple::thumb:
- AddARMTargetArgs(Args, CmdArgs);
- break;
-+
-+ case llvm::Triple::x86:
-+ case llvm::Triple::x86_64:
-+ AddX86TargetArgs(Args, CmdArgs);
-+ break;
- }
-
- // Ignore explicit -force_cpusubtype_ALL option.
-Index: lib/Driver/Tools.h
-===================================================================
---- tools/clang/lib/Driver/Tools.h (revision 175918)
-+++ tools/clang/lib/Driver/Tools.h (revision 175919)
-@@ -77,6 +77,7 @@
- /// \brief Clang integrated assembler tool.
- class LLVM_LIBRARY_VISIBILITY ClangAs : public Tool {
- void AddARMTargetArgs(const ArgList &Args, ArgStringList &CmdArgs) const;
-+ void AddX86TargetArgs(const ArgList &Args, ArgStringList &CmdArgs) const;
- public:
- ClangAs(const ToolChain &TC) : Tool("clang::as",
- "clang integrated assembler", TC) {}
diff --git a/lang/clang/files/patch-tools_clang_include_clang_Analysis_Analyses_FormatString.h b/lang/clang/files/patch-tools_clang_include_clang_Analysis_Analyses_FormatString.h
deleted file mode 100644
index 3c4b574d3057..000000000000
--- a/lang/clang/files/patch-tools_clang_include_clang_Analysis_Analyses_FormatString.h
+++ /dev/null
@@ -1,24 +0,0 @@
-
-$FreeBSD$
-
---- tools/clang/include/clang/Analysis/Analyses/FormatString.h.orig
-+++ tools/clang/include/clang/Analysis/Analyses/FormatString.h
-@@ -117,7 +117,7 @@
- // C99 conversion specifiers.
- cArg,
- dArg,
-- DArg, // Apple extension
-+ DArg, // Apple and FreeBSD extension
- iArg,
- IntArgBeg = dArg, IntArgEnd = iArg,
-
-@@ -148,6 +148,9 @@
-
- // ** Printf-specific **
-
-+ // FreeBSD specific specifiers
-+ bArg,
-+
- // Objective-C specific specifiers.
- ObjCObjArg, // '@'
- ObjCBeg = ObjCObjArg, ObjCEnd = ObjCObjArg,
diff --git a/lang/clang/files/patch-tools_clang_lib_Analysis_PrintfFormatString.cpp b/lang/clang/files/patch-tools_clang_lib_Analysis_PrintfFormatString.cpp
deleted file mode 100644
index d4cfefbd9b59..000000000000
--- a/lang/clang/files/patch-tools_clang_lib_Analysis_PrintfFormatString.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-
-$FreeBSD$
-
---- tools/clang/lib/Analysis/PrintfFormatString.cpp.orig
-+++ tools/clang/lib/Analysis/PrintfFormatString.cpp
-@@ -198,9 +198,10 @@
- case '@': k = ConversionSpecifier::ObjCObjArg; break;
- // Glibc specific.
- case 'm': k = ConversionSpecifier::PrintErrno; break;
-- // Apple-specific
-+
-+ // Apple-specific (and one FreeBSD)
- case 'D':
-- if (Target.getTriple().isOSDarwin())
-+ if (Target.getTriple().isOSDarwin() || Target.getTriple().isOSFreeBSD())
- k = ConversionSpecifier::DArg;
- break;
- case 'O':
-@@ -211,11 +212,29 @@
- if (Target.getTriple().isOSDarwin())
- k = ConversionSpecifier::UArg;
- break;
-+
-+ // FreeBSD-specific
-+ case 'b':
-+ if (Target.getTriple().isOSFreeBSD())
-+ k = ConversionSpecifier::bArg;
-+ break;
-+ case 'r':
-+ if (Target.getTriple().isOSFreeBSD())
-+ k = ConversionSpecifier::xArg;
-+ break;
-+ case 'y':
-+ if (Target.getTriple().isOSFreeBSD())
-+ k = ConversionSpecifier::iArg;
-+ break;
- }
- PrintfConversionSpecifier CS(conversionPosition, k);
- FS.setConversionSpecifier(CS);
- if (CS.consumesDataArgument() && !FS.usesPositionalArg())
- FS.setArgIndex(argIndex++);
-+ // FreeBSD extension
-+ if (Target.getTriple().isOSFreeBSD() && (k == ConversionSpecifier::bArg ||
-+ k == ConversionSpecifier::DArg))
-+ argIndex++;
-
- if (k == ConversionSpecifier::InvalidSpecifier) {
- // Assume the conversion takes one argument.
diff --git a/lang/clang/files/patch-tools_clang_lib_Headers_Makefile b/lang/clang/files/patch-tools_clang_lib_Headers_Makefile
deleted file mode 100644
index 41f497b100cc..000000000000
--- a/lang/clang/files/patch-tools_clang_lib_Headers_Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- tools/clang/lib/Headers/Makefile.orig
-+++ tools/clang/lib/Headers/Makefile
-@@ -19,7 +19,7 @@
-
- HeaderDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/lib/clang/$(CLANG_VERSION)/include
-
--HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*.h))
-+HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*intrin*.h) mm3dnow.h mm_malloc.h)
-
- OBJHEADERS := $(addprefix $(HeaderDir)/, $(HEADERS))
-
diff --git a/lang/clang/files/patch-tools_clang_lib_Sema_SemaChecking.cpp b/lang/clang/files/patch-tools_clang_lib_Sema_SemaChecking.cpp
deleted file mode 100644
index 215210bed343..000000000000
--- a/lang/clang/files/patch-tools_clang_lib_Sema_SemaChecking.cpp
+++ /dev/null
@@ -1,45 +0,0 @@
-
-$FreeBSD$
-
---- tools/clang/lib/Sema/SemaChecking.cpp.orig
-+++ tools/clang/lib/Sema/SemaChecking.cpp
-@@ -1511,6 +1511,39 @@
- CoveredArgs.set(argIndex);
- }
-
-+ // FreeBSD extensions
-+ if (CS.getKind() == ConversionSpecifier::bArg || CS.getKind() == ConversionSpecifier::DArg) {
-+ // claim the second argument
-+ CoveredArgs.set(argIndex + 1);
-+
-+ // Now type check the data expression that matches the
-+ // format specifier.
-+ const Expr *Ex = getDataArg(argIndex);
-+ QualType type = (CS.getKind() == ConversionSpecifier::bArg) ? S.Context.IntTy : S.Context.getPointerType(S.Context.UnsignedCharTy);
-+ //const analyze_printf::ArgType &ATR = S.Context.IntTy;
-+ const analyze_printf::ArgType &ATR = type;
-+ if (ATR.isValid() && !ATR.matchesType(S.Context, Ex->getType()))
-+ S.Diag(getLocationOfByte(CS.getStart()),
-+ diag::warn_printf_conversion_argument_type_mismatch)
-+ << ATR.getRepresentativeType(S.Context) << Ex->getType()
-+ << getSpecifierRange(startSpecifier, specifierLen)
-+ << Ex->getSourceRange();
-+
-+ // Now type check the data expression that matches the
-+ // format specifier.
-+ Ex = getDataArg(argIndex + 1);
-+ const analyze_printf::ArgType &ATR2 = ArgType::CStrTy;
-+ if (ATR2.isValid() && !ATR2.matchesType(S.Context, Ex->getType()))
-+ S.Diag(getLocationOfByte(CS.getStart()),
-+ diag::warn_printf_conversion_argument_type_mismatch)
-+ << ATR2.getRepresentativeType(S.Context) << Ex->getType()
-+ << getSpecifierRange(startSpecifier, specifierLen)
-+ << Ex->getSourceRange();
-+
-+ return true;
-+ }
-+ // END OF FREEBSD EXTENSIONS
-+
- // Check for using an Objective-C specific conversion specifier
- // in a non-ObjC literal.
- if (!IsObjCLiteral && CS.isObjCArg()) {
diff --git a/lang/clang/files/patch-tools_clang_tools_scan-build_scan-build b/lang/clang/files/patch-tools_clang_tools_scan-build_scan-build
deleted file mode 100644
index 291eafdeb2fc..000000000000
--- a/lang/clang/files/patch-tools_clang_tools_scan-build_scan-build
+++ /dev/null
@@ -1,23 +0,0 @@
-
-$FreeBSD$
-
---- tools/clang/tools/scan-build/scan-build.orig
-+++ tools/clang/tools/scan-build/scan-build
-@@ -423,7 +423,7 @@
-
- my $Dir = shift;
-
-- my $JS = Cwd::realpath("$RealBin/sorttable.js");
-+ my $JS = Cwd::realpath("%%DATADIR%%/sorttable.js");
-
- DieDiag("Cannot find 'sorttable.js'.\n")
- if (! -r $JS);
-@@ -433,7 +433,7 @@
- DieDiag("Could not copy 'sorttable.js' to '$Dir'.\n")
- if (! -r "$Dir/sorttable.js");
-
-- my $CSS = Cwd::realpath("$RealBin/scanview.css");
-+ my $CSS = Cwd::realpath("%%DATADIR%%/scanview.css");
-
- DieDiag("Cannot find 'scanview.css'.\n")
- if (! -r $CSS);
diff --git a/lang/clang/files/patch-utils_llvm-build_llvmbuild_main.py b/lang/clang/files/patch-utils_llvm-build_llvmbuild_main.py
deleted file mode 100644
index 1e2de0273d55..000000000000
--- a/lang/clang/files/patch-utils_llvm-build_llvmbuild_main.py
+++ /dev/null
@@ -1,20 +0,0 @@
-
-$FreeBSD$
-
---- utils/llvm-build/llvmbuild/main.py.orig
-+++ utils/llvm-build/llvmbuild/main.py
-@@ -633,7 +633,13 @@
-
- # We handle a few special cases of target names here for historical
- # reasons, as these are the names configure currently comes up with.
-- native_target_name = { 'x86' : 'X86',
-+ native_target_name = { 'amd64' : 'X86',
-+ 'arm' : 'ARM',
-+ 'i386' : 'X86',
-+ 'mips' : 'Mips',
-+ 'powerpc' : 'PowerPC',
-+ 'sparc64' : 'Sparc',
-+ 'x86' : 'X86',
- 'x86_64' : 'X86',
- 'Unknown' : None }.get(opts.native_target,
- opts.native_target)
diff --git a/lang/clang/pkg-descr b/lang/clang/pkg-descr
deleted file mode 100644
index 37b1d8e486d6..000000000000
--- a/lang/clang/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-The goal of the Clang project is to create a new C, C++, Objective C and
-Objective C++ front-end for the LLVM compiler.
-
-WWW: http://clang.llvm.org/
diff --git a/lang/clang/pkg-plist b/lang/clang/pkg-plist
deleted file mode 100644
index 12822d48fe34..000000000000
--- a/lang/clang/pkg-plist
+++ /dev/null
@@ -1,517 +0,0 @@
-bin/c++-analyzer
-bin/c-index-test
-bin/ccc-analyzer
-bin/clang
-bin/clang++
-bin/clang-check
-bin/clang-cpp
-bin/clang-tblgen
-bin/scan-build
-bin/scan-view
-include/clang-c/CXCompilationDatabase.h
-include/clang-c/CXString.h
-include/clang-c/Index.h
-include/clang-c/Platform.h
-include/clang/ARCMigrate/ARCMT.h
-include/clang/ARCMigrate/ARCMTActions.h
-include/clang/ARCMigrate/FileRemapper.h
-include/clang/AST/APValue.h
-include/clang/AST/AST.h
-include/clang/AST/ASTConsumer.h
-include/clang/AST/ASTContext.h
-include/clang/AST/ASTDiagnostic.h
-include/clang/AST/ASTImporter.h
-include/clang/AST/ASTMutationListener.h
-include/clang/AST/ASTVector.h
-include/clang/AST/Attr.h
-include/clang/AST/AttrImpl.inc
-include/clang/AST/Attrs.inc
-include/clang/AST/BaseSubobject.h
-include/clang/AST/BuiltinTypes.def
-include/clang/AST/CXXInheritance.h
-include/clang/AST/CanonicalType.h
-include/clang/AST/CharUnits.h
-include/clang/AST/Comment.h
-include/clang/AST/CommentBriefParser.h
-include/clang/AST/CommentCommandInfo.inc
-include/clang/AST/CommentCommandTraits.h
-include/clang/AST/CommentDiagnostic.h
-include/clang/AST/CommentHTMLTags.inc
-include/clang/AST/CommentHTMLTagsProperties.inc
-include/clang/AST/CommentLexer.h
-include/clang/AST/CommentNodes.inc
-include/clang/AST/CommentParser.h
-include/clang/AST/CommentSema.h
-include/clang/AST/CommentVisitor.h
-include/clang/AST/Decl.h
-include/clang/AST/DeclAccessPair.h
-include/clang/AST/DeclBase.h
-include/clang/AST/DeclCXX.h
-include/clang/AST/DeclContextInternals.h
-include/clang/AST/DeclFriend.h
-include/clang/AST/DeclGroup.h
-include/clang/AST/DeclLookups.h
-include/clang/AST/DeclNodes.inc
-include/clang/AST/DeclObjC.h
-include/clang/AST/DeclTemplate.h
-include/clang/AST/DeclVisitor.h
-include/clang/AST/DeclarationName.h
-include/clang/AST/DependentDiagnostic.h
-include/clang/AST/EvaluatedExprVisitor.h
-include/clang/AST/Expr.h
-include/clang/AST/ExprCXX.h
-include/clang/AST/ExprObjC.h
-include/clang/AST/ExternalASTSource.h
-include/clang/AST/GlobalDecl.h
-include/clang/AST/LambdaMangleContext.h
-include/clang/AST/Mangle.h
-include/clang/AST/NSAPI.h
-include/clang/AST/NestedNameSpecifier.h
-include/clang/AST/OperationKinds.h
-include/clang/AST/ParentMap.h
-include/clang/AST/PrettyPrinter.h
-include/clang/AST/RawCommentList.h
-include/clang/AST/RecordLayout.h
-include/clang/AST/RecursiveASTVisitor.h
-include/clang/AST/Redeclarable.h
-include/clang/AST/SelectorLocationsKind.h
-include/clang/AST/Stmt.h
-include/clang/AST/StmtCXX.h
-include/clang/AST/StmtGraphTraits.h
-include/clang/AST/StmtIterator.h
-include/clang/AST/StmtNodes.inc
-include/clang/AST/StmtObjC.h
-include/clang/AST/StmtVisitor.h
-include/clang/AST/TemplateBase.h
-include/clang/AST/TemplateName.h
-include/clang/AST/Type.h
-include/clang/AST/TypeLoc.h
-include/clang/AST/TypeLocNodes.def
-include/clang/AST/TypeLocVisitor.h
-include/clang/AST/TypeNodes.def
-include/clang/AST/TypeOrdering.h
-include/clang/AST/TypeVisitor.h
-include/clang/AST/UnresolvedSet.h
-include/clang/AST/VTTBuilder.h
-include/clang/AST/VTableBuilder.h
-include/clang/ASTMatchers/ASTMatchFinder.h
-include/clang/ASTMatchers/ASTMatchers.h
-include/clang/ASTMatchers/ASTMatchersInternal.h
-include/clang/ASTMatchers/ASTMatchersMacros.h
-include/clang/ASTMatchers/ASTTypeTraits.h
-include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h
-include/clang/Analysis/Analyses/Dominators.h
-include/clang/Analysis/Analyses/FormatString.h
-include/clang/Analysis/Analyses/LiveVariables.h
-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/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/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/BlkExprDeclBitVector.h
-include/clang/Analysis/Support/BumpVector.h
-include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h
-include/clang/Analysis/Visitors/CFGRecStmtVisitor.h
-include/clang/Analysis/Visitors/CFGStmtVisitor.h
-include/clang/Basic/ABI.h
-include/clang/Basic/AddressSpaces.h
-include/clang/Basic/AllDiagnostics.h
-include/clang/Basic/AttrKinds.h
-include/clang/Basic/AttrList.inc
-include/clang/Basic/Builtins.def
-include/clang/Basic/Builtins.h
-include/clang/Basic/BuiltinsARM.def
-include/clang/Basic/BuiltinsHexagon.def
-include/clang/Basic/BuiltinsMips.def
-include/clang/Basic/BuiltinsNVPTX.def
-include/clang/Basic/BuiltinsPPC.def
-include/clang/Basic/BuiltinsX86.def
-include/clang/Basic/ConvertUTF.h
-include/clang/Basic/Diagnostic.h
-include/clang/Basic/DiagnosticASTKinds.inc
-include/clang/Basic/DiagnosticAnalysisKinds.inc
-include/clang/Basic/DiagnosticCategories.h
-include/clang/Basic/DiagnosticCommentKinds.inc
-include/clang/Basic/DiagnosticCommonKinds.inc
-include/clang/Basic/DiagnosticDriverKinds.inc
-include/clang/Basic/DiagnosticFrontendKinds.inc
-include/clang/Basic/DiagnosticGroups.inc
-include/clang/Basic/DiagnosticIDs.h
-include/clang/Basic/DiagnosticIndexName.inc
-include/clang/Basic/DiagnosticLexKinds.inc
-include/clang/Basic/DiagnosticOptions.def
-include/clang/Basic/DiagnosticOptions.h
-include/clang/Basic/DiagnosticParseKinds.inc
-include/clang/Basic/DiagnosticSemaKinds.inc
-include/clang/Basic/DiagnosticSerializationKinds.inc
-include/clang/Basic/ExceptionSpecificationType.h
-include/clang/Basic/ExpressionTraits.h
-include/clang/Basic/FileManager.h
-include/clang/Basic/FileSystemOptions.h
-include/clang/Basic/FileSystemStatCache.h
-include/clang/Basic/IdentifierTable.h
-include/clang/Basic/LLVM.h
-include/clang/Basic/Lambda.h
-include/clang/Basic/LangOptions.def
-include/clang/Basic/LangOptions.h
-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/OperatorKinds.def
-include/clang/Basic/OperatorKinds.h
-include/clang/Basic/PartialDiagnostic.h
-include/clang/Basic/PrettyStackTrace.h
-include/clang/Basic/Sanitizers.def
-include/clang/Basic/SourceLocation.h
-include/clang/Basic/SourceManager.h
-include/clang/Basic/SourceManagerInternals.h
-include/clang/Basic/Specifiers.h
-include/clang/Basic/TargetBuiltins.h
-include/clang/Basic/TargetInfo.h
-include/clang/Basic/TargetOptions.h
-include/clang/Basic/TemplateKinds.h
-include/clang/Basic/TokenKinds.def
-include/clang/Basic/TokenKinds.h
-include/clang/Basic/TypeTraits.h
-include/clang/Basic/Version.h
-include/clang/Basic/Version.inc
-include/clang/Basic/VersionTuple.h
-include/clang/Basic/Visibility.h
-include/clang/Basic/arm_neon.inc
-include/clang/CodeGen/BackendUtil.h
-include/clang/CodeGen/CodeGenAction.h
-include/clang/CodeGen/ModuleBuilder.h
-include/clang/Config/config.h
-include/clang/Driver/Action.h
-include/clang/Driver/Arg.h
-include/clang/Driver/ArgList.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/OptSpecifier.h
-include/clang/Driver/OptTable.h
-include/clang/Driver/Option.h
-include/clang/Driver/Options.h
-include/clang/Driver/Options.inc
-include/clang/Driver/Phases.h
-include/clang/Driver/Tool.h
-include/clang/Driver/ToolChain.h
-include/clang/Driver/Types.def
-include/clang/Driver/Types.h
-include/clang/Driver/Util.h
-include/clang/Edit/Commit.h
-include/clang/Edit/EditedSource.h
-include/clang/Edit/EditsReceiver.h
-include/clang/Edit/FileOffset.h
-include/clang/Edit/Rewriters.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
-include/clang/Frontend/CompilerInstance.h
-include/clang/Frontend/CompilerInvocation.h
-include/clang/Frontend/DependencyOutputOptions.h
-include/clang/Frontend/DiagnosticRenderer.h
-include/clang/Frontend/FrontendAction.h
-include/clang/Frontend/FrontendActions.h
-include/clang/Frontend/FrontendDiagnostic.h
-include/clang/Frontend/FrontendOptions.h
-include/clang/Frontend/FrontendPluginRegistry.h
-include/clang/Frontend/LangStandard.h
-include/clang/Frontend/LangStandards.def
-include/clang/Frontend/LayoutOverrideSource.h
-include/clang/Frontend/LogDiagnosticPrinter.h
-include/clang/Frontend/MigratorOptions.h
-include/clang/Frontend/MultiplexConsumer.h
-include/clang/Frontend/PreprocessorOutputOptions.h
-include/clang/Frontend/SerializedDiagnosticPrinter.h
-include/clang/Frontend/TextDiagnostic.h
-include/clang/Frontend/TextDiagnosticBuffer.h
-include/clang/Frontend/TextDiagnosticPrinter.h
-include/clang/Frontend/Utils.h
-include/clang/Frontend/VerifyDiagnosticConsumer.h
-include/clang/FrontendTool/Utils.h
-include/clang/Lex/AttrSpellings.inc
-include/clang/Lex/CodeCompletionHandler.h
-include/clang/Lex/DirectoryLookup.h
-include/clang/Lex/ExternalPreprocessorSource.h
-include/clang/Lex/HeaderMap.h
-include/clang/Lex/HeaderSearch.h
-include/clang/Lex/HeaderSearchOptions.h
-include/clang/Lex/LexDiagnostic.h
-include/clang/Lex/Lexer.h
-include/clang/Lex/LiteralSupport.h
-include/clang/Lex/MacroInfo.h
-include/clang/Lex/ModuleLoader.h
-include/clang/Lex/ModuleMap.h
-include/clang/Lex/MultipleIncludeOpt.h
-include/clang/Lex/PPCallbacks.h
-include/clang/Lex/PPMutationListener.h
-include/clang/Lex/PTHLexer.h
-include/clang/Lex/PTHManager.h
-include/clang/Lex/Pragma.h
-include/clang/Lex/PreprocessingRecord.h
-include/clang/Lex/Preprocessor.h
-include/clang/Lex/PreprocessorLexer.h
-include/clang/Lex/PreprocessorOptions.h
-include/clang/Lex/ScratchBuffer.h
-include/clang/Lex/Token.h
-include/clang/Lex/TokenConcatenation.h
-include/clang/Lex/TokenLexer.h
-include/clang/Parse/AttrLateParsed.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/RewriteRope.h
-include/clang/Rewrite/Core/Rewriter.h
-include/clang/Rewrite/Core/TokenRewriter.h
-include/clang/Rewrite/Frontend/ASTConsumers.h
-include/clang/Rewrite/Frontend/FixItRewriter.h
-include/clang/Rewrite/Frontend/FrontendActions.h
-include/clang/Rewrite/Frontend/Rewriters.h
-include/clang/Sema/AnalysisBasedWarnings.h
-include/clang/Sema/AttrParsedAttrKinds.inc
-include/clang/Sema/AttrParsedAttrList.inc
-include/clang/Sema/AttrTemplateInstantiate.inc
-include/clang/Sema/AttributeList.h
-include/clang/Sema/CXXFieldCollector.h
-include/clang/Sema/CodeCompleteConsumer.h
-include/clang/Sema/CodeCompleteOptions.h
-include/clang/Sema/DeclSpec.h
-include/clang/Sema/DelayedDiagnostic.h
-include/clang/Sema/Designator.h
-include/clang/Sema/ExternalSemaSource.h
-include/clang/Sema/IdentifierResolver.h
-include/clang/Sema/Initialization.h
-include/clang/Sema/LocInfoType.h
-include/clang/Sema/Lookup.h
-include/clang/Sema/MultiplexExternalSemaSource.h
-include/clang/Sema/ObjCMethodList.h
-include/clang/Sema/Overload.h
-include/clang/Sema/Ownership.h
-include/clang/Sema/ParsedTemplate.h
-include/clang/Sema/PrettyDeclStackTrace.h
-include/clang/Sema/Scope.h
-include/clang/Sema/ScopeInfo.h
-include/clang/Sema/Sema.h
-include/clang/Sema/SemaConsumer.h
-include/clang/Sema/SemaDiagnostic.h
-include/clang/Sema/SemaFixItUtils.h
-include/clang/Sema/SemaInternal.h
-include/clang/Sema/Template.h
-include/clang/Sema/TemplateDeduction.h
-include/clang/Sema/TypoCorrection.h
-include/clang/Sema/Weak.h
-include/clang/Serialization/ASTBitCodes.h
-include/clang/Serialization/ASTDeserializationListener.h
-include/clang/Serialization/ASTReader.h
-include/clang/Serialization/ASTWriter.h
-include/clang/Serialization/AttrPCHRead.inc
-include/clang/Serialization/AttrPCHWrite.inc
-include/clang/Serialization/ContinuousRangeMap.h
-include/clang/Serialization/Module.h
-include/clang/Serialization/ModuleManager.h
-include/clang/Serialization/SerializationDiagnostic.h
-include/clang/StaticAnalyzer/Checkers/ClangCheckers.h
-include/clang/StaticAnalyzer/Checkers/CommonBugCategories.h
-include/clang/StaticAnalyzer/Checkers/LocalCheckers.h
-include/clang/StaticAnalyzer/Core/Analyses.def
-include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
-include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
-include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h
-include/clang/StaticAnalyzer/Core/BugReporter/BugType.h
-include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
-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/PathDiagnosticConsumers.h
-include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h
-include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
-include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h
-include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h
-include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
-include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
-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/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/MemRegion.h
-include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h
-include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h
-include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
-include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
-include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h
-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/CheckerRegistration.h
-include/clang/StaticAnalyzer/Frontend/FrontendActions.h
-include/clang/Tooling/ArgumentsAdjusters.h
-include/clang/Tooling/CommonOptionsParser.h
-include/clang/Tooling/CompilationDatabase.h
-include/clang/Tooling/CompilationDatabasePluginRegistry.h
-include/clang/Tooling/FileMatchTrie.h
-include/clang/Tooling/JSONCompilationDatabase.h
-include/clang/Tooling/Refactoring.h
-include/clang/Tooling/RefactoringCallbacks.h
-include/clang/Tooling/Tooling.h
-lib/clang/%%PORTVERSION%%/include/__wmmintrin_aes.h
-lib/clang/%%PORTVERSION%%/include/__wmmintrin_pclmul.h
-lib/clang/%%PORTVERSION%%/include/ammintrin.h
-lib/clang/%%PORTVERSION%%/include/arm_neon.h
-lib/clang/%%PORTVERSION%%/include/avx2intrin.h
-lib/clang/%%PORTVERSION%%/include/avxintrin.h
-lib/clang/%%PORTVERSION%%/include/bmi2intrin.h
-lib/clang/%%PORTVERSION%%/include/bmiintrin.h
-lib/clang/%%PORTVERSION%%/include/emmintrin.h
-lib/clang/%%PORTVERSION%%/include/f16cintrin.h
-lib/clang/%%PORTVERSION%%/include/fma4intrin.h
-lib/clang/%%PORTVERSION%%/include/fmaintrin.h
-lib/clang/%%PORTVERSION%%/include/immintrin.h
-lib/clang/%%PORTVERSION%%/include/lzcntintrin.h
-lib/clang/%%PORTVERSION%%/include/mm3dnow.h
-lib/clang/%%PORTVERSION%%/include/mm_malloc.h
-lib/clang/%%PORTVERSION%%/include/mmintrin.h
-lib/clang/%%PORTVERSION%%/include/module.map
-lib/clang/%%PORTVERSION%%/include/nmmintrin.h
-lib/clang/%%PORTVERSION%%/include/pmmintrin.h
-lib/clang/%%PORTVERSION%%/include/popcntintrin.h
-lib/clang/%%PORTVERSION%%/include/rtmintrin.h
-lib/clang/%%PORTVERSION%%/include/smmintrin.h
-lib/clang/%%PORTVERSION%%/include/tmmintrin.h
-lib/clang/%%PORTVERSION%%/include/wmmintrin.h
-lib/clang/%%PORTVERSION%%/include/x86intrin.h
-lib/clang/%%PORTVERSION%%/include/xmmintrin.h
-lib/clang/%%PORTVERSION%%/include/xopintrin.h
-lib/libclang.a
-lib/libclang.so
-lib/libclangARCMigrate.a
-lib/libclangAST.a
-lib/libclangASTMatchers.a
-lib/libclangAnalysis.a
-lib/libclangBasic.a
-lib/libclangCodeGen.a
-lib/libclangDriver.a
-lib/libclangEdit.a
-lib/libclangFrontend.a
-lib/libclangFrontendTool.a
-lib/libclangLex.a
-lib/libclangParse.a
-lib/libclangRewriteCore.a
-lib/libclangRewriteFrontend.a
-lib/libclangSema.a
-lib/libclangSerialization.a
-lib/libclangStaticAnalyzerCheckers.a
-lib/libclangStaticAnalyzerCore.a
-lib/libclangStaticAnalyzerFrontend.a
-lib/libclangTooling.a
-%%DATADIR%%/scanview.css
-%%DATADIR%%/sorttable.js
-%%PORTDOCS%%%%DOCSDIR%%/html.tar.gz
-%%PORTDOCS%%%%DOCSDIR%%/html/AddressSanitizer.html
-%%PORTDOCS%%%%DOCSDIR%%/html/AnalyzerRegions.html
-%%PORTDOCS%%%%DOCSDIR%%/html/AutomaticReferenceCounting.html
-%%PORTDOCS%%%%DOCSDIR%%/html/ClangPlugins.html
-%%PORTDOCS%%%%DOCSDIR%%/html/ClangTools.html
-%%PORTDOCS%%%%DOCSDIR%%/html/DriverInternals.html
-%%PORTDOCS%%%%DOCSDIR%%/html/HowToSetupToolingForLLVM.html
-%%PORTDOCS%%%%DOCSDIR%%/html/InternalsManual.html
-%%PORTDOCS%%%%DOCSDIR%%/html/IntroductionToTheClangAST.html
-%%PORTDOCS%%%%DOCSDIR%%/html/JSONCompilationDatabase.html
-%%PORTDOCS%%%%DOCSDIR%%/html/LanguageExtensions.html
-%%PORTDOCS%%%%DOCSDIR%%/html/LibASTMatchers.html
-%%PORTDOCS%%%%DOCSDIR%%/html/LibASTMatchersReference.html
-%%PORTDOCS%%%%DOCSDIR%%/html/LibTooling.html
-%%PORTDOCS%%%%DOCSDIR%%/html/ObjectiveCLiterals.html
-%%PORTDOCS%%%%DOCSDIR%%/html/PCHInternals.html
-%%PORTDOCS%%%%DOCSDIR%%/html/PTHInternals.html
-%%PORTDOCS%%%%DOCSDIR%%/html/RAVFrontendAction.html
-%%PORTDOCS%%%%DOCSDIR%%/html/ReleaseNotes.html
-%%PORTDOCS%%%%DOCSDIR%%/html/ThreadSanitizer.html
-%%PORTDOCS%%%%DOCSDIR%%/html/Tooling.html
-%%PORTDOCS%%%%DOCSDIR%%/html/UsersManual.html
-%%PORTDOCS%%%%DOCSDIR%%/html/clang/clang.html
-%%PORTDOCS%%%%DOCSDIR%%/html/clang/manpage.css
-%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css
-%%PORTDOCS%%%%DOCSDIR%%/ps/clang.ps
-%%PYTHON_SITELIBDIR%%/Reporter.py
-%%PYTHON_SITELIBDIR%%/Resources/FileRadar.scpt
-%%PYTHON_SITELIBDIR%%/Resources/GetRadarVersion.scpt
-%%PYTHON_SITELIBDIR%%/Resources/bugcatcher.ico
-%%PYTHON_SITELIBDIR%%/ScanView.py
-%%PYTHON_SITELIBDIR%%/startfile.py
-@dirrm lib/clang/%%PORTVERSION%%/include
-@dirrm lib/clang/%%PORTVERSION%%
-@dirrm lib/clang
-@dirrm include/clang/Tooling
-@dirrm include/clang/StaticAnalyzer/Frontend
-@dirrm include/clang/StaticAnalyzer/Core/PathSensitive
-@dirrm include/clang/StaticAnalyzer/Core/BugReporter
-@dirrm include/clang/StaticAnalyzer/Core
-@dirrm include/clang/StaticAnalyzer/Checkers
-@dirrm include/clang/StaticAnalyzer
-@dirrm include/clang/Serialization
-@dirrm include/clang/Sema
-@dirrm include/clang/Rewrite/Frontend
-@dirrm include/clang/Rewrite/Core
-@dirrm include/clang/Rewrite
-@dirrm include/clang/Parse
-@dirrm include/clang/Lex
-@dirrm include/clang/FrontendTool
-@dirrm include/clang/Frontend
-@dirrm include/clang/Edit
-@dirrm include/clang/Driver
-@dirrm include/clang/Config
-@dirrm include/clang/CodeGen
-@dirrm include/clang/Basic
-@dirrm include/clang/Analysis/Visitors
-@dirrm include/clang/Analysis/Support
-@dirrm include/clang/Analysis/FlowSensitive
-@dirrm include/clang/Analysis/DomainSpecific
-@dirrm include/clang/Analysis/Analyses
-@dirrm include/clang/Analysis
-@dirrm include/clang/ASTMatchers
-@dirrm include/clang/AST
-@dirrm include/clang/ARCMigrate
-@dirrm include/clang-c
-@dirrm include/clang
-@dirrm %%PYTHON_SITELIBDIR%%/Resources
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/ps
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/img
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/clang
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm %%DATADIR%%