summaryrefslogtreecommitdiff
path: root/lang/clang
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-06-02 08:39:28 +0000
committeradam <adam@pkgsrc.org>2019-06-02 08:39:28 +0000
commit8d13a35fa820ecdb5c0f70e009756ae0b136d9d5 (patch)
tree4493b9669dfcc7473d55fcc70f659be468d8d154 /lang/clang
parentc14e7459a418adfba76ac4dd89ff01d5b96087db (diff)
downloadpkgsrc-8d13a35fa820ecdb5c0f70e009756ae0b136d9d5.tar.gz
clang: updated to 8.0.0
Clang 8.0.0: Major New Features * Clang supports use of a profile remapping file, which permits profile data captured for one version of a program to be applied when building another version where symbols have changed (for example, due to renaming a class or namespace). See the UsersManual for details. * Clang has new options to initialize automatic variables with a pattern. The default is still that automatic variables are uninitialized. This isn’t meant to change the semantics of C and C++. Rather, it’s meant to be a last resort when programmers inadvertently have some undefined behavior in their code. These options aim to make undefined behavior hurt less, which security-minded people will be very happy about. * Improvements to Clang’s diagnostics Non-comprehensive list of changes in this release * The experimental feature Pretokenized Headers (PTH) was removed in its entirely from Clang. The feature did not properly work with about 1/3 of the possible tokens available and was unmaintained. * The internals of libc++ include directory detection on MacOS have changed. Instead of running a search based on the -resource-dir flag, the search is now based on the path of the compiler in the filesystem. The default behaviour should not change. However, if you override -resource-dir manually and rely on the old behaviour you will need to add appropriate compiler flags for finding the corresponding libc++ include directory. * The integrated assembler is used now by default for all MIPS targets. * Improved support for MIPS N32 ABI and MIPS R6 target triples. * Clang now includes builtin functions for bitwise rotation of common value sizes, such as: __builtin_rotateleft32 * Improved optimization for the corresponding MSVC compatibility builtins such as _rotl().
Diffstat (limited to 'lang/clang')
-rw-r--r--lang/clang/Makefile10
-rw-r--r--lang/clang/Makefile.common4
-rw-r--r--lang/clang/PLIST58
-rw-r--r--lang/clang/distinfo10
4 files changed, 51 insertions, 31 deletions
diff --git a/lang/clang/Makefile b/lang/clang/Makefile
index 929e7316162..802ccac027e 100644
--- a/lang/clang/Makefile
+++ b/lang/clang/Makefile
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.49 2019/04/25 07:33:01 maya Exp $
+# $NetBSD: Makefile,v 1.50 2019/06/02 08:39:28 adam Exp $
-.include "../../lang/clang/Makefile.common"
+.include "Makefile.common"
-PKGNAME= ${DISTNAME:S/.src//:S/cfe/clang/}
-PKGREVISION= 2
-PYTHON_FOR_BUILD_ONLY= yes
+PKGNAME= ${DISTNAME:S/.src//:S/cfe/clang/}
CMAKE_ARGS+= -DCLANG_ENABLE_STATIC_ANALYZER=OFF
+PYTHON_FOR_BUILD_ONLY= yes
+
# 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/*
diff --git a/lang/clang/Makefile.common b/lang/clang/Makefile.common
index 6edbfdb8e14..b7e64c8389e 100644
--- a/lang/clang/Makefile.common
+++ b/lang/clang/Makefile.common
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.31 2019/03/27 06:24:22 adam Exp $
+# $NetBSD: Makefile.common,v 1.32 2019/06/02 08:39:28 adam Exp $
# used by lang/clang/Makefile
# used by lang/clang-static-analyzer/Makefile
# used by lang/clang-tools-extra/Makefile
-DISTNAME= cfe-7.0.1.src
+DISTNAME= cfe-8.0.0.src
CATEGORIES= lang devel
MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz
diff --git a/lang/clang/PLIST b/lang/clang/PLIST
index 647fcefcb6b..6593a1b0edd 100644
--- a/lang/clang/PLIST
+++ b/lang/clang/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.25 2018/12/09 20:04:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.26 2019/06/02 08:39:28 adam Exp $
bin/c-index-test
bin/clang
bin/clang++
-bin/clang-7
+bin/clang-8
bin/clang-cl
bin/clang-cpp
bin/clang-format
@@ -27,9 +27,12 @@ include/clang/AST/APValue.h
include/clang/AST/AST.h
include/clang/AST/ASTConsumer.h
include/clang/AST/ASTContext.h
+include/clang/AST/ASTContextAllocate.h
include/clang/AST/ASTDiagnostic.h
+include/clang/AST/ASTDumperUtils.h
include/clang/AST/ASTFwd.h
include/clang/AST/ASTImporter.h
+include/clang/AST/ASTImporterLookupTable.h
include/clang/AST/ASTLambda.h
include/clang/AST/ASTMutationListener.h
include/clang/AST/ASTStructuralEquivalence.h
@@ -37,9 +40,11 @@ include/clang/AST/ASTTypeTraits.h
include/clang/AST/ASTUnresolvedSet.h
include/clang/AST/ASTVector.h
include/clang/AST/Attr.h
-include/clang/AST/AttrDump.inc
include/clang/AST/AttrImpl.inc
include/clang/AST/AttrIterator.h
+include/clang/AST/AttrNodeTraverse.inc
+include/clang/AST/AttrTextNodeDump.inc
+include/clang/AST/AttrVisitor.h
include/clang/AST/AttrVisitor.inc
include/clang/AST/Attrs.inc
include/clang/AST/Availability.h
@@ -86,6 +91,7 @@ include/clang/AST/ExprObjC.h
include/clang/AST/ExprOpenMP.h
include/clang/AST/ExternalASTMerger.h
include/clang/AST/ExternalASTSource.h
+include/clang/AST/FormatString.h
include/clang/AST/GlobalDecl.h
include/clang/AST/LambdaCapture.h
include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h
@@ -96,6 +102,7 @@ include/clang/AST/NSAPI.h
include/clang/AST/NestedNameSpecifier.h
include/clang/AST/NonTrivialTypeVisitor.h
include/clang/AST/ODRHash.h
+include/clang/AST/OSLog.h
include/clang/AST/OpenMPClause.h
include/clang/AST/OperationKinds.def
include/clang/AST/OperationKinds.h
@@ -117,8 +124,10 @@ include/clang/AST/StmtNodes.inc
include/clang/AST/StmtObjC.h
include/clang/AST/StmtOpenMP.h
include/clang/AST/StmtVisitor.h
+include/clang/AST/TemplateArgumentVisitor.h
include/clang/AST/TemplateBase.h
include/clang/AST/TemplateName.h
+include/clang/AST/TextNodeDumper.h
include/clang/AST/Type.h
include/clang/AST/TypeLoc.h
include/clang/AST/TypeLocNodes.def
@@ -140,11 +149,9 @@ include/clang/ASTMatchers/Dynamic/VariantValue.h
include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h
include/clang/Analysis/Analyses/Consumed.h
include/clang/Analysis/Analyses/Dominators.h
-include/clang/Analysis/Analyses/FormatString.h
+include/clang/Analysis/Analyses/ExprMutationAnalyzer.h
include/clang/Analysis/Analyses/LiveVariables.h
-include/clang/Analysis/Analyses/OSLog.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/ThreadSafetyCommon.h
@@ -167,6 +174,7 @@ include/clang/Analysis/DomainSpecific/CocoaConventions.h
include/clang/Analysis/DomainSpecific/ObjCNoReturn.h
include/clang/Analysis/FlowSensitive/DataflowValues.h
include/clang/Analysis/ProgramPoint.h
+include/clang/Analysis/SelectorExtras.h
include/clang/Analysis/Support/BumpVector.h
include/clang/Basic/ABI.h
include/clang/Basic/AddressSpaces.h
@@ -189,7 +197,6 @@ include/clang/Basic/BuiltinsLe64.def
include/clang/Basic/BuiltinsMips.def
include/clang/Basic/BuiltinsNEON.def
include/clang/Basic/BuiltinsNVPTX.def
-include/clang/Basic/BuiltinsNios2.def
include/clang/Basic/BuiltinsPPC.def
include/clang/Basic/BuiltinsSystemZ.def
include/clang/Basic/BuiltinsWebAssembly.def
@@ -198,28 +205,41 @@ include/clang/Basic/BuiltinsX86_64.def
include/clang/Basic/BuiltinsXCore.def
include/clang/Basic/CapturedStmt.h
include/clang/Basic/CharInfo.h
+include/clang/Basic/CodeGenOptions.def
+include/clang/Basic/CodeGenOptions.h
include/clang/Basic/CommentOptions.h
include/clang/Basic/Cuda.h
include/clang/Basic/DebugInfoOptions.h
include/clang/Basic/Diagnostic.h
+include/clang/Basic/DiagnosticAST.h
include/clang/Basic/DiagnosticASTKinds.inc
+include/clang/Basic/DiagnosticAnalysis.h
include/clang/Basic/DiagnosticAnalysisKinds.inc
include/clang/Basic/DiagnosticCategories.h
+include/clang/Basic/DiagnosticComment.h
include/clang/Basic/DiagnosticCommentKinds.inc
include/clang/Basic/DiagnosticCommonKinds.inc
+include/clang/Basic/DiagnosticCrossTU.h
include/clang/Basic/DiagnosticCrossTUKinds.inc
+include/clang/Basic/DiagnosticDriver.h
include/clang/Basic/DiagnosticDriverKinds.inc
include/clang/Basic/DiagnosticError.h
+include/clang/Basic/DiagnosticFrontend.h
include/clang/Basic/DiagnosticFrontendKinds.inc
include/clang/Basic/DiagnosticGroups.inc
include/clang/Basic/DiagnosticIDs.h
include/clang/Basic/DiagnosticIndexName.inc
+include/clang/Basic/DiagnosticLex.h
include/clang/Basic/DiagnosticLexKinds.inc
include/clang/Basic/DiagnosticOptions.def
include/clang/Basic/DiagnosticOptions.h
+include/clang/Basic/DiagnosticParse.h
include/clang/Basic/DiagnosticParseKinds.inc
+include/clang/Basic/DiagnosticRefactoring.h
include/clang/Basic/DiagnosticRefactoringKinds.inc
+include/clang/Basic/DiagnosticSema.h
include/clang/Basic/DiagnosticSemaKinds.inc
+include/clang/Basic/DiagnosticSerialization.h
include/clang/Basic/DiagnosticSerializationKinds.inc
include/clang/Basic/ExceptionSpecificationType.h
include/clang/Basic/ExpressionTraits.h
@@ -227,16 +247,19 @@ include/clang/Basic/Features.def
include/clang/Basic/FileManager.h
include/clang/Basic/FileSystemOptions.h
include/clang/Basic/FileSystemStatCache.h
+include/clang/Basic/FixedPoint.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/MSP430Target.def
include/clang/Basic/MacroBuilder.h
include/clang/Basic/MemoryBufferCache.h
include/clang/Basic/Module.h
include/clang/Basic/ObjCRuntime.h
+include/clang/Basic/OpenCLExtensionTypes.def
include/clang/Basic/OpenCLExtensions.def
include/clang/Basic/OpenCLImageTypes.def
include/clang/Basic/OpenCLOptions.h
@@ -269,7 +292,6 @@ include/clang/Basic/TokenKinds.h
include/clang/Basic/TypeTraits.h
include/clang/Basic/Version.h
include/clang/Basic/Version.inc
-include/clang/Basic/VirtualFileSystem.h
include/clang/Basic/Visibility.h
include/clang/Basic/X86Target.def
include/clang/Basic/XRayInstr.h
@@ -290,6 +312,7 @@ include/clang/CrossTU/CrossTUDiagnostic.h
include/clang/CrossTU/CrossTranslationUnit.h
include/clang/Driver/Action.h
include/clang/Driver/Compilation.h
+include/clang/Driver/DarwinSDKInfo.h
include/clang/Driver/Distro.h
include/clang/Driver/Driver.h
include/clang/Driver/DriverDiagnostic.h
@@ -314,8 +337,6 @@ include/clang/Format/Format.h
include/clang/Frontend/ASTConsumers.h
include/clang/Frontend/ASTUnit.h
include/clang/Frontend/ChainedDiagnosticConsumer.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
@@ -367,8 +388,6 @@ include/clang/Lex/ModuleMap.h
include/clang/Lex/MultipleIncludeOpt.h
include/clang/Lex/PPCallbacks.h
include/clang/Lex/PPConditionalDirectiveRecord.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
@@ -381,6 +400,7 @@ include/clang/Lex/TokenLexer.h
include/clang/Lex/VariadicMacroSupport.h
include/clang/Parse/AttrParserStringSwitches.inc
include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc
+include/clang/Parse/LoopHint.h
include/clang/Parse/ParseAST.h
include/clang/Parse/ParseDiagnostic.h
include/clang/Parse/Parser.h
@@ -412,7 +432,6 @@ include/clang/Sema/ExternalSemaSource.h
include/clang/Sema/IdentifierResolver.h
include/clang/Sema/Initialization.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
@@ -443,14 +462,15 @@ include/clang/Serialization/GlobalModuleIndex.h
include/clang/Serialization/Module.h
include/clang/Serialization/ModuleFileExtension.h
include/clang/Serialization/ModuleManager.h
+include/clang/Serialization/PCHContainerOperations.h
include/clang/Serialization/SerializationDiagnostic.h
+include/clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h
include/clang/StaticAnalyzer/Checkers/Checkers.inc
-include/clang/StaticAnalyzer/Checkers/ClangCheckers.h
include/clang/StaticAnalyzer/Checkers/LocalCheckers.h
include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h
-include/clang/StaticAnalyzer/Checkers/ObjCRetainCount.h
include/clang/StaticAnalyzer/Checkers/SValExplainer.h
include/clang/StaticAnalyzer/Core/Analyses.def
+include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
@@ -459,8 +479,6 @@ include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.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/IssueHash.h
include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h
@@ -487,7 +505,7 @@ include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h
include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
include/clang/StaticAnalyzer/Core/PathSensitive/Regions.def
include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
-include/clang/StaticAnalyzer/Core/PathSensitive/SMTContext.h
+include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h
include/clang/StaticAnalyzer/Core/PathSensitive/SMTExpr.h
include/clang/StaticAnalyzer/Core/PathSensitive/SMTSolver.h
include/clang/StaticAnalyzer/Core/PathSensitive/SMTSort.h
@@ -506,8 +524,10 @@ include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def
include/clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h
include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h
include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h
+include/clang/StaticAnalyzer/Core/RetainSummaryManager.h
include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h
include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h
+include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
include/clang/StaticAnalyzer/Frontend/FrontendActions.h
include/clang/StaticAnalyzer/Frontend/ModelConsumer.h
include/clang/Tooling/ASTDiff/ASTDiff.h
@@ -678,7 +698,7 @@ lib/cmake/clang/ClangConfig.cmake
lib/cmake/clang/ClangTargets-release.cmake
lib/cmake/clang/ClangTargets.cmake
lib/libclang.${SOEXT}
-${PLIST.notdylib}lib/libclang.${SOEXT}.7
+${PLIST.notdylib}lib/libclang.${SOEXT}.8
lib/libclangAST.a
lib/libclangASTMatchers.a
lib/libclangAnalysis.a
diff --git a/lang/clang/distinfo b/lang/clang/distinfo
index b26d7241c90..b631de587e3 100644
--- a/lang/clang/distinfo
+++ b/lang/clang/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.57 2019/01/23 15:44:34 jperkin Exp $
+$NetBSD: distinfo,v 1.58 2019/06/02 08:39:28 adam Exp $
-SHA1 (cfe-7.0.1.src.tar.xz) = 427e12762836d808583fb4149c033d02de0a8db2
-RMD160 (cfe-7.0.1.src.tar.xz) = 914adafed7c97e5ebab15a437670906c404cb8bd
-SHA512 (cfe-7.0.1.src.tar.xz) = df2f38153ebdc261bcfa6a569567f759bbb1a803192882a9d4eca55a47878166ac9057151a94ad341dc1281136547e4faa783a68070dfde2307b48cacd4b9194
-Size (cfe-7.0.1.src.tar.xz) = 12488668 bytes
+SHA1 (cfe-8.0.0.src.tar.xz) = 3cb1e10af3955174a3ca5e560f674f24fac2a02f
+RMD160 (cfe-8.0.0.src.tar.xz) = bd4dd523edcde136156b773cc66bfad1fc52dbc4
+SHA512 (cfe-8.0.0.src.tar.xz) = 98e540222719716985e5d8439116e47469cb01201ea91d1da7e46cb6633da099688d9352c3b65e5c5f660cbbae353b3d79bb803fc66b3be663f2b04b1feed1c3
+Size (cfe-8.0.0.src.tar.xz) = 12868468 bytes
SHA1 (patch-lib_Basic_Targets_OSTargets.h) = 2a00f6de42c67d8c8aca0153339aba1adc455280
SHA1 (patch-lib_Driver_ToolChains_Solaris.cpp) = 7e951a4c82f47ec0c9c18054d9622984ffb9f751
SHA1 (patch-lib_Driver_ToolChains_Solaris.h) = 94968d0de0972ff832727822fbdc02442be74ab8