pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang clang: updated to 8.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/2adaaba1bcad
branches: trunk
changeset: 396515:2adaaba1bcad
user: adam <adam%pkgsrc.org@localhost>
date: Sun Jun 02 08:39:28 2019 +0000
description:
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:
lang/clang-static-analyzer/Makefile | 3 +-
lang/clang/Makefile | 12 +++---
lang/clang/Makefile.common | 4 +-
lang/clang/PLIST | 58 ++++++++++++++++++++++++------------
lang/clang/distinfo | 10 +++---
5 files changed, 53 insertions(+), 34 deletions(-)
diffs (truncated from 331 to 300 lines):
diff -r 4b57d1ded292 -r 2adaaba1bcad lang/clang-static-analyzer/Makefile
--- a/lang/clang-static-analyzer/Makefile Sun Jun 02 08:37:39 2019 +0000
+++ b/lang/clang-static-analyzer/Makefile Sun Jun 02 08:39:28 2019 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.12 2019/04/25 07:33:01 maya Exp $
+# $NetBSD: Makefile,v 1.13 2019/06/02 08:39:28 adam Exp $
-PKGREVISION= 2
.include "../../lang/clang/Makefile.common"
PKGNAME= ${DISTNAME:S/cfe/clang-static-analyzer/:S/.src//}
diff -r 4b57d1ded292 -r 2adaaba1bcad lang/clang/Makefile
--- a/lang/clang/Makefile Sun Jun 02 08:37:39 2019 +0000
+++ b/lang/clang/Makefile Sun Jun 02 08:39:28 2019 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.49 2019/04/25 07:33:01 maya Exp $
-
-.include "../../lang/clang/Makefile.common"
+# $NetBSD: Makefile,v 1.50 2019/06/02 08:39:28 adam Exp $
-PKGNAME= ${DISTNAME:S/.src//:S/cfe/clang/}
-PKGREVISION= 2
-PYTHON_FOR_BUILD_ONLY= yes
+.include "Makefile.common"
+
+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 -r 4b57d1ded292 -r 2adaaba1bcad lang/clang/Makefile.common
--- a/lang/clang/Makefile.common Sun Jun 02 08:37:39 2019 +0000
+++ b/lang/clang/Makefile.common Sun Jun 02 08:39:28 2019 +0000
@@ -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 -r 4b57d1ded292 -r 2adaaba1bcad lang/clang/PLIST
--- a/lang/clang/PLIST Sun Jun 02 08:37:39 2019 +0000
+++ b/lang/clang/PLIST Sun Jun 02 08:39:28 2019 +0000
@@ -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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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
Home |
Main Index |
Thread Index |
Old Index