diff options
author | adam <adam@pkgsrc.org> | 2021-07-12 18:45:07 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-07-12 18:45:07 +0000 |
commit | 0f6b598ab198f5c068070df240e3255f5a315c98 (patch) | |
tree | f432c8b55d128f65b41267e53bc73d3b5e1972b9 /lang | |
parent | 1d077fbf0b0ba0053959377247c05c9ca23845fb (diff) | |
download | pkgsrc-0f6b598ab198f5c068070df240e3255f5a315c98.tar.gz |
clang-tools-extra: updated to 12.0.1
Improvements to clangd
Performance
clangd’s memory usage is significantly reduced on most Linux systems. In particular, memory usage should not increase dramatically over time.
The standard allocator on most systems is glibc’s ptmalloc2, and it creates disproportionately large heaps when handling clangd’s allocation patterns. By default, clangd will now periodically call malloc_trim to release free pages on glibc systems.
Users of other allocators (such as jemalloc or tcmalloc) on glibc systems can disable this using --malloc_trim=0 or the CMake flag -DCLANGD_MALLOC_TRIM=0.
Added the $/memoryUsage request: an LSP extension. This provides a breakdown of the memory clangd thinks it is using (excluding malloc overhead etc). The clangd VSCode extension supports showing the memory usage tree.
Parsing and selection
Improved navigation of broken code in C using Recovery AST. (This has been enabled for C++ since clangd 11).
Types are understood more often in broken code. (This is the first release where Recovery AST preserves speculated types).
Heuristic resolution for dependent names in templates.
Code completion
Higher priority for symbols that were already used in this file, and symbols from namespaces mentioned in this file. (Estimated 3% accuracy improvement)
Introduced a ranking algorithm trained on snippets from a large C++ codebase. Use the flag --ranking-model=decision_forest to try this (Estimated 6% accuracy improvement). This mode is likely to become the default in future.
Note: this is a generic model, not specialized for your code. clangd does not collect any data from your code to train code completion.
Signature help works with functions with template-dependent parameter types.
Go to definition
Selecting an auto or decltype keyword will attempt to navigate to a definition of the deduced type.
Improved handling of aliases: navigate to the underlying entity more often.
Better understanding of declaration vs definition for Objective-C classes and protocols.
Selecting a pure-virtual method shows its overrides.
Find references
Indexes are smarter about not returning stale references when code is deleted.
References in implementation files are always indexed, so results should be more complete.
Find-references on a virtual method shows references to overridden methods.
New navigation features
Call hierarchy (textDocument/callHierarchy) is supported. Only incoming calls are available.
Go to implementation (textDocument/implementation) is supported on abstract classes, and on virtual methods.
Symbol search (workspace/symbol) queries may be partially qualified. That is, typing b::Foo will match the symbol a::b::c::Foo.
Refactoring
New refactoring: populate switch statement with cases. (This acts as a fix for the -Wswitch-enum warning).
Renaming templates is supported, and many other complex cases were fixed.
Attempting to rename to an invalid or conflicting name can produce an error message rather than broken code. (Not all cases are detected!)
The accuracy of many code actions has been improved.
Hover
Hovers for auto and decltype show the type in the same style as other hovers. this is also now supported.
Displayed type names are more consistent and idiomatic.
Semantic highlighting
Inactive preprocessor regions (#ifdef) are highlighted as comments.
clangd 12 is the last release with support for the non-standard textDocument/semanticHighlights notification. Clients sholud migrate to the textDocument/semanticTokens request added in LSP 3.16.
Remote index (alpha)
clangd can now connect to a remote index server instead of building a project index locally. This saves resources in large codebases that are slow to index.
The server program is clangd-index-server, and it consumes index files produced by clangd-indexer.
This feature requires clangd to be built with the CMake flag -DCLANGD_ENABLE_REMOTE=On, which requires GRPC libraries and is not enabled by default. Unofficial releases of the remote-index-enabled client and server tools are at https://github.com/clangd/clangd/releases
Large projects can deploy a shared server, and check in a .clangd file to enable it (in the Index.External section). We hope to provide such a server for llvm-project itself in the near future.
Configuration
Static and remote indexes can be configured in the Index.External section. Different static indexes can now be used for different files. (Obsoletes the flag --index-file).
Diagnostics can be filtered or suppressed in the Diagnostics section.
Clang-tidy checks can be enabled/disabled in the Diagnostics.ClangTidy section. (Obsoletes the flag --clang-tidy-checks).
The compilation database directory can be configured in the CompileFlags section. Different compilation databases can now be specified for different files. (Obsoletes the flag --compile-commands-dir).
Errors in loaded configuration files are published as LSP diagnostics, and so should be shown in your editor.
Full reference of configuration options
System integration
Changes to compile_commands.json and compile_flags.txt will take effect the next time a file is parsed, without restarting clangd.
clangd --check=<filename> can be run on the command-line to simulate opening a file without actually using an editor. This can be useful to reproduce crashes or aother problems.
Various fixes to handle filenames correctly (and case-insensitively) on windows.
If incoming LSP messages are malformed, the logs now contain details.
Miscellaneous
“Show AST” request (textDocument/ast) added as an LSP extension. This displays a simplified view of the clang AST for selected code. The clangd VSCode extension supports this.
clangd should no longer crash while loading old or corrupt index files.
The flags --index, --recovery-ast and -suggest-missing-includes have been retired. These features are now always enabled.
Too many stability and correctness fixes to mention.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/clang-tools-extra/Makefile | 3 | ||||
-rw-r--r-- | lang/clang-tools-extra/PLIST | 320 | ||||
-rw-r--r-- | lang/clang-tools-extra/distinfo | 19 | ||||
-rw-r--r-- | lang/clang-tools-extra/patches/patch-tools_extra_clangd_CMakeLists.txt | 16 |
4 files changed, 329 insertions, 29 deletions
diff --git a/lang/clang-tools-extra/Makefile b/lang/clang-tools-extra/Makefile index 5bf45ae0cdd..e1507a1a47d 100644 --- a/lang/clang-tools-extra/Makefile +++ b/lang/clang-tools-extra/Makefile @@ -1,6 +1,5 @@ -# $NetBSD: Makefile,v 1.12 2020/11/05 09:08:33 ryoon Exp $ +# $NetBSD: Makefile,v 1.13 2021/07/12 18:45:07 adam Exp $ -PKGREVISION= 1 .include "../../lang/clang/Makefile.common" PKGNAME= ${DISTNAME:S/clang/clang-tools-extra/:S/.src//} diff --git a/lang/clang-tools-extra/PLIST b/lang/clang-tools-extra/PLIST index 510b5c52ef1..b194e5f935f 100644 --- a/lang/clang-tools-extra/PLIST +++ b/lang/clang-tools-extra/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2020/04/18 07:58:49 adam Exp $ +@comment $NetBSD: PLIST,v 1.4 2021/07/12 18:45:07 adam Exp $ bin/clang-apply-replacements bin/clang-change-namespace bin/clang-doc @@ -11,6 +11,318 @@ bin/clangd bin/find-all-symbols bin/modularize bin/pp-trace +include/clang-tidy/ClangTidy.h +include/clang-tidy/ClangTidyCheck.h +include/clang-tidy/ClangTidyDiagnosticConsumer.h +include/clang-tidy/ClangTidyForceLinker.h +include/clang-tidy/ClangTidyModule.h +include/clang-tidy/ClangTidyModuleRegistry.h +include/clang-tidy/ClangTidyOptions.h +include/clang-tidy/ClangTidyProfiling.h +include/clang-tidy/ExpandModularHeadersPPCallbacks.h +include/clang-tidy/GlobList.h +include/clang-tidy/abseil/AbseilMatcher.h +include/clang-tidy/abseil/DurationAdditionCheck.h +include/clang-tidy/abseil/DurationComparisonCheck.h +include/clang-tidy/abseil/DurationConversionCastCheck.h +include/clang-tidy/abseil/DurationDivisionCheck.h +include/clang-tidy/abseil/DurationFactoryFloatCheck.h +include/clang-tidy/abseil/DurationFactoryScaleCheck.h +include/clang-tidy/abseil/DurationRewriter.h +include/clang-tidy/abseil/DurationSubtractionCheck.h +include/clang-tidy/abseil/DurationUnnecessaryConversionCheck.h +include/clang-tidy/abseil/FasterStrsplitDelimiterCheck.h +include/clang-tidy/abseil/NoInternalDependenciesCheck.h +include/clang-tidy/abseil/NoNamespaceCheck.h +include/clang-tidy/abseil/RedundantStrcatCallsCheck.h +include/clang-tidy/abseil/StrCatAppendCheck.h +include/clang-tidy/abseil/StringFindStartswithCheck.h +include/clang-tidy/abseil/StringFindStrContainsCheck.h +include/clang-tidy/abseil/TimeComparisonCheck.h +include/clang-tidy/abseil/TimeSubtractionCheck.h +include/clang-tidy/abseil/UpgradeDurationConversionsCheck.h +include/clang-tidy/altera/KernelNameRestrictionCheck.h +include/clang-tidy/altera/SingleWorkItemBarrierCheck.h +include/clang-tidy/altera/StructPackAlignCheck.h +include/clang-tidy/android/CloexecAccept4Check.h +include/clang-tidy/android/CloexecAcceptCheck.h +include/clang-tidy/android/CloexecCheck.h +include/clang-tidy/android/CloexecCreatCheck.h +include/clang-tidy/android/CloexecDupCheck.h +include/clang-tidy/android/CloexecEpollCreate1Check.h +include/clang-tidy/android/CloexecEpollCreateCheck.h +include/clang-tidy/android/CloexecFopenCheck.h +include/clang-tidy/android/CloexecInotifyInit1Check.h +include/clang-tidy/android/CloexecInotifyInitCheck.h +include/clang-tidy/android/CloexecMemfdCreateCheck.h +include/clang-tidy/android/CloexecOpenCheck.h +include/clang-tidy/android/CloexecPipe2Check.h +include/clang-tidy/android/CloexecPipeCheck.h +include/clang-tidy/android/CloexecSocketCheck.h +include/clang-tidy/android/ComparisonInTempFailureRetryCheck.h +include/clang-tidy/boost/UseToStringCheck.h +include/clang-tidy/bugprone/ArgumentCommentCheck.h +include/clang-tidy/bugprone/AssertSideEffectCheck.h +include/clang-tidy/bugprone/BadSignalToKillThreadCheck.h +include/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.h +include/clang-tidy/bugprone/BranchCloneCheck.h +include/clang-tidy/bugprone/CopyConstructorInitCheck.h +include/clang-tidy/bugprone/DanglingHandleCheck.h +include/clang-tidy/bugprone/DynamicStaticInitializersCheck.h +include/clang-tidy/bugprone/ExceptionEscapeCheck.h +include/clang-tidy/bugprone/FoldInitTypeCheck.h +include/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.h +include/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.h +include/clang-tidy/bugprone/InaccurateEraseCheck.h +include/clang-tidy/bugprone/IncorrectRoundingsCheck.h +include/clang-tidy/bugprone/InfiniteLoopCheck.h +include/clang-tidy/bugprone/IntegerDivisionCheck.h +include/clang-tidy/bugprone/LambdaFunctionNameCheck.h +include/clang-tidy/bugprone/MacroParenthesesCheck.h +include/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.h +include/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.h +include/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h +include/clang-tidy/bugprone/MisplacedWideningCastCheck.h +include/clang-tidy/bugprone/MoveForwardingReferenceCheck.h +include/clang-tidy/bugprone/MultipleStatementMacroCheck.h +include/clang-tidy/bugprone/NoEscapeCheck.h +include/clang-tidy/bugprone/NotNullTerminatedResultCheck.h +include/clang-tidy/bugprone/ParentVirtualCallCheck.h +include/clang-tidy/bugprone/PosixReturnCheck.h +include/clang-tidy/bugprone/RedundantBranchConditionCheck.h +include/clang-tidy/bugprone/ReservedIdentifierCheck.h +include/clang-tidy/bugprone/SignalHandlerCheck.h +include/clang-tidy/bugprone/SignedCharMisuseCheck.h +include/clang-tidy/bugprone/SizeofContainerCheck.h +include/clang-tidy/bugprone/SizeofExpressionCheck.h +include/clang-tidy/bugprone/SpuriouslyWakeUpFunctionsCheck.h +include/clang-tidy/bugprone/StringConstructorCheck.h +include/clang-tidy/bugprone/StringIntegerAssignmentCheck.h +include/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.h +include/clang-tidy/bugprone/SuspiciousEnumUsageCheck.h +include/clang-tidy/bugprone/SuspiciousIncludeCheck.h +include/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.h +include/clang-tidy/bugprone/SuspiciousMissingCommaCheck.h +include/clang-tidy/bugprone/SuspiciousSemicolonCheck.h +include/clang-tidy/bugprone/SuspiciousStringCompareCheck.h +include/clang-tidy/bugprone/SwappedArgumentsCheck.h +include/clang-tidy/bugprone/TerminatingContinueCheck.h +include/clang-tidy/bugprone/ThrowKeywordMissingCheck.h +include/clang-tidy/bugprone/TooSmallLoopVariableCheck.h +include/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.h +include/clang-tidy/bugprone/UndelegatedConstructorCheck.h +include/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.h +include/clang-tidy/bugprone/UnusedRaiiCheck.h +include/clang-tidy/bugprone/UnusedReturnValueCheck.h +include/clang-tidy/bugprone/UseAfterMoveCheck.h +include/clang-tidy/bugprone/VirtualNearMissCheck.h +include/clang-tidy/cert/CommandProcessorCheck.h +include/clang-tidy/cert/DefaultOperatorNewAlignmentCheck.h +include/clang-tidy/cert/DontModifyStdNamespaceCheck.h +include/clang-tidy/cert/FloatLoopCounter.h +include/clang-tidy/cert/LimitedRandomnessCheck.h +include/clang-tidy/cert/MutatingCopyCheck.h +include/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.h +include/clang-tidy/cert/PostfixOperatorCheck.h +include/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h +include/clang-tidy/cert/SetLongJmpCheck.h +include/clang-tidy/cert/StaticObjectExceptionCheck.h +include/clang-tidy/cert/StrToNumCheck.h +include/clang-tidy/cert/ThrownExceptionTypeCheck.h +include/clang-tidy/cert/VariadicFunctionDefCheck.h +include/clang-tidy/concurrency/MtUnsafeCheck.h +include/clang-tidy/cppcoreguidelines/AvoidGotoCheck.h +include/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h +include/clang-tidy/cppcoreguidelines/InitVariablesCheck.h +include/clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.h +include/clang-tidy/cppcoreguidelines/MacroUsageCheck.h +include/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.h +include/clang-tidy/cppcoreguidelines/NoMallocCheck.h +include/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h +include/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h +include/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h +include/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.h +include/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.h +include/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.h +include/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.h +include/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.h +include/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.h +include/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.h +include/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h +include/clang-tidy/cppcoreguidelines/SlicingCheck.h +include/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h +include/clang-tidy/darwin/AvoidSpinlockCheck.h +include/clang-tidy/darwin/DispatchOnceNonstaticCheck.h +include/clang-tidy/fuchsia/DefaultArgumentsCallsCheck.h +include/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.h +include/clang-tidy/fuchsia/MultipleInheritanceCheck.h +include/clang-tidy/fuchsia/OverloadedOperatorCheck.h +include/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.h +include/clang-tidy/fuchsia/TrailingReturnCheck.h +include/clang-tidy/fuchsia/VirtualInheritanceCheck.h +include/clang-tidy/google/AvoidCStyleCastsCheck.h +include/clang-tidy/google/AvoidNSObjectNewCheck.h +include/clang-tidy/google/AvoidThrowingObjCExceptionCheck.h +include/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.h +include/clang-tidy/google/DefaultArgumentsCheck.h +include/clang-tidy/google/ExplicitConstructorCheck.h +include/clang-tidy/google/ExplicitMakePairCheck.h +include/clang-tidy/google/FunctionNamingCheck.h +include/clang-tidy/google/GlobalNamesInHeadersCheck.h +include/clang-tidy/google/GlobalVariableDeclarationCheck.h +include/clang-tidy/google/IntegerTypesCheck.h +include/clang-tidy/google/OverloadedUnaryAndCheck.h +include/clang-tidy/google/TodoCommentCheck.h +include/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h +include/clang-tidy/google/UpgradeGoogletestCaseCheck.h +include/clang-tidy/google/UsingNamespaceDirectiveCheck.h +include/clang-tidy/hicpp/ExceptionBaseclassCheck.h +include/clang-tidy/hicpp/MultiwayPathsCoveredCheck.h +include/clang-tidy/hicpp/NoAssemblerCheck.h +include/clang-tidy/hicpp/SignedBitwiseCheck.h +include/clang-tidy/linuxkernel/MustCheckErrsCheck.h +include/clang-tidy/llvm/HeaderGuardCheck.h +include/clang-tidy/llvm/IncludeOrderCheck.h +include/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.h +include/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.h +include/clang-tidy/llvm/TwineLocalCheck.h +include/clang-tidy/llvmlibc/CalleeNamespaceCheck.h +include/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.h +include/clang-tidy/llvmlibc/RestrictSystemLibcHeadersCheck.h +include/clang-tidy/misc/DefinitionsInHeadersCheck.h +include/clang-tidy/misc/MisplacedConstCheck.h +include/clang-tidy/misc/NewDeleteOverloadsCheck.h +include/clang-tidy/misc/NoRecursionCheck.h +include/clang-tidy/misc/NonCopyableObjects.h +include/clang-tidy/misc/NonPrivateMemberVariablesInClassesCheck.h +include/clang-tidy/misc/RedundantExpressionCheck.h +include/clang-tidy/misc/StaticAssertCheck.h +include/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h +include/clang-tidy/misc/UnconventionalAssignOperatorCheck.h +include/clang-tidy/misc/UniqueptrResetReleaseCheck.h +include/clang-tidy/misc/UnusedAliasDeclsCheck.h +include/clang-tidy/misc/UnusedParametersCheck.h +include/clang-tidy/misc/UnusedUsingDeclsCheck.h +include/clang-tidy/modernize/AvoidBindCheck.h +include/clang-tidy/modernize/AvoidCArraysCheck.h +include/clang-tidy/modernize/ConcatNestedNamespacesCheck.h +include/clang-tidy/modernize/DeprecatedHeadersCheck.h +include/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.h +include/clang-tidy/modernize/LoopConvertCheck.h +include/clang-tidy/modernize/LoopConvertUtils.h +include/clang-tidy/modernize/MakeSharedCheck.h +include/clang-tidy/modernize/MakeSmartPtrCheck.h +include/clang-tidy/modernize/MakeUniqueCheck.h +include/clang-tidy/modernize/PassByValueCheck.h +include/clang-tidy/modernize/RawStringLiteralCheck.h +include/clang-tidy/modernize/RedundantVoidArgCheck.h +include/clang-tidy/modernize/ReplaceAutoPtrCheck.h +include/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.h +include/clang-tidy/modernize/ReplaceRandomShuffleCheck.h +include/clang-tidy/modernize/ReturnBracedInitListCheck.h +include/clang-tidy/modernize/ShrinkToFitCheck.h +include/clang-tidy/modernize/UnaryStaticAssertCheck.h +include/clang-tidy/modernize/UseAutoCheck.h +include/clang-tidy/modernize/UseBoolLiteralsCheck.h +include/clang-tidy/modernize/UseDefaultMemberInitCheck.h +include/clang-tidy/modernize/UseEmplaceCheck.h +include/clang-tidy/modernize/UseEqualsDefaultCheck.h +include/clang-tidy/modernize/UseEqualsDeleteCheck.h +include/clang-tidy/modernize/UseNodiscardCheck.h +include/clang-tidy/modernize/UseNoexceptCheck.h +include/clang-tidy/modernize/UseNullptrCheck.h +include/clang-tidy/modernize/UseOverrideCheck.h +include/clang-tidy/modernize/UseTrailingReturnTypeCheck.h +include/clang-tidy/modernize/UseTransparentFunctorsCheck.h +include/clang-tidy/modernize/UseUncaughtExceptionsCheck.h +include/clang-tidy/modernize/UseUsingCheck.h +include/clang-tidy/mpi/BufferDerefCheck.h +include/clang-tidy/mpi/TypeMismatchCheck.h +include/clang-tidy/objc/AvoidNSErrorInitCheck.h +include/clang-tidy/objc/DeallocInCategoryCheck.h +include/clang-tidy/objc/ForbiddenSubclassingCheck.h +include/clang-tidy/objc/MissingHashCheck.h +include/clang-tidy/objc/NSInvocationArgumentLifetimeCheck.h +include/clang-tidy/objc/PropertyDeclarationCheck.h +include/clang-tidy/objc/SuperSelfCheck.h +include/clang-tidy/openmp/ExceptionEscapeCheck.h +include/clang-tidy/openmp/UseDefaultNoneCheck.h +include/clang-tidy/performance/FasterStringFindCheck.h +include/clang-tidy/performance/ForRangeCopyCheck.h +include/clang-tidy/performance/ImplicitConversionInLoopCheck.h +include/clang-tidy/performance/InefficientAlgorithmCheck.h +include/clang-tidy/performance/InefficientStringConcatenationCheck.h +include/clang-tidy/performance/InefficientVectorOperationCheck.h +include/clang-tidy/performance/MoveConstArgCheck.h +include/clang-tidy/performance/MoveConstructorInitCheck.h +include/clang-tidy/performance/NoAutomaticMoveCheck.h +include/clang-tidy/performance/NoIntToPtrCheck.h +include/clang-tidy/performance/NoexceptMoveConstructorCheck.h +include/clang-tidy/performance/TriviallyDestructibleCheck.h +include/clang-tidy/performance/TypePromotionInMathFnCheck.h +include/clang-tidy/performance/UnnecessaryCopyInitialization.h +include/clang-tidy/performance/UnnecessaryValueParamCheck.h +include/clang-tidy/portability/RestrictSystemIncludesCheck.h +include/clang-tidy/portability/SIMDIntrinsicsCheck.h +include/clang-tidy/readability/AvoidConstParamsInDecls.h +include/clang-tidy/readability/BracesAroundStatementsCheck.h +include/clang-tidy/readability/ConstReturnTypeCheck.h +include/clang-tidy/readability/ContainerSizeEmptyCheck.h +include/clang-tidy/readability/ConvertMemberFunctionsToStatic.h +include/clang-tidy/readability/DeleteNullPointerCheck.h +include/clang-tidy/readability/DeletedDefaultCheck.h +include/clang-tidy/readability/ElseAfterReturnCheck.h +include/clang-tidy/readability/FunctionCognitiveComplexityCheck.h +include/clang-tidy/readability/FunctionSizeCheck.h +include/clang-tidy/readability/IdentifierNamingCheck.h +include/clang-tidy/readability/ImplicitBoolConversionCheck.h +include/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.h +include/clang-tidy/readability/IsolateDeclarationCheck.h +include/clang-tidy/readability/MagicNumbersCheck.h +include/clang-tidy/readability/MakeMemberFunctionConstCheck.h +include/clang-tidy/readability/MisleadingIndentationCheck.h +include/clang-tidy/readability/MisplacedArrayIndexCheck.h +include/clang-tidy/readability/NamedParameterCheck.h +include/clang-tidy/readability/NamespaceCommentCheck.h +include/clang-tidy/readability/NonConstParameterCheck.h +include/clang-tidy/readability/QualifiedAutoCheck.h +include/clang-tidy/readability/RedundantAccessSpecifiersCheck.h +include/clang-tidy/readability/RedundantControlFlowCheck.h +include/clang-tidy/readability/RedundantDeclarationCheck.h +include/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.h +include/clang-tidy/readability/RedundantMemberInitCheck.h +include/clang-tidy/readability/RedundantPreprocessorCheck.h +include/clang-tidy/readability/RedundantSmartptrGetCheck.h +include/clang-tidy/readability/RedundantStringCStrCheck.h +include/clang-tidy/readability/RedundantStringInitCheck.h +include/clang-tidy/readability/SimplifyBooleanExprCheck.h +include/clang-tidy/readability/SimplifySubscriptExprCheck.h +include/clang-tidy/readability/StaticAccessedThroughInstanceCheck.h +include/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.h +include/clang-tidy/readability/StringCompareCheck.h +include/clang-tidy/readability/UniqueptrDeleteReleaseCheck.h +include/clang-tidy/readability/UppercaseLiteralSuffixCheck.h +include/clang-tidy/readability/UseAnyOfAllOfCheck.h +include/clang-tidy/tool/ClangTidyMain.h +include/clang-tidy/utils/ASTUtils.h +include/clang-tidy/utils/Aliasing.h +include/clang-tidy/utils/DeclRefExprUtils.h +include/clang-tidy/utils/ExceptionAnalyzer.h +include/clang-tidy/utils/ExprSequence.h +include/clang-tidy/utils/FileExtensionsUtils.h +include/clang-tidy/utils/FixItHintUtils.h +include/clang-tidy/utils/HeaderGuard.h +include/clang-tidy/utils/IncludeInserter.h +include/clang-tidy/utils/IncludeSorter.h +include/clang-tidy/utils/LexerUtils.h +include/clang-tidy/utils/Matchers.h +include/clang-tidy/utils/NamespaceAliaser.h +include/clang-tidy/utils/OptionsUtils.h +include/clang-tidy/utils/RenamerClangTidyCheck.h +include/clang-tidy/utils/TransformerClangTidyCheck.h +include/clang-tidy/utils/TypeTraits.h +include/clang-tidy/utils/UsingInserter.h +include/clang-tidy/zircon/TemporaryObjectsCheck.h lib/libclangApplyReplacements.a lib/libclangChangeNamespace.a lib/libclangDaemon.a @@ -23,18 +335,22 @@ lib/libclangQuery.a lib/libclangReorderFields.a lib/libclangTidy.a lib/libclangTidyAbseilModule.a +lib/libclangTidyAlteraModule.a lib/libclangTidyAndroidModule.a lib/libclangTidyBoostModule.a lib/libclangTidyBugproneModule.a lib/libclangTidyCERTModule.a +lib/libclangTidyConcurrencyModule.a lib/libclangTidyCppCoreGuidelinesModule.a lib/libclangTidyDarwinModule.a lib/libclangTidyFuchsiaModule.a lib/libclangTidyGoogleModule.a lib/libclangTidyHICPPModule.a +lib/libclangTidyLLVMLibcModule.a lib/libclangTidyLLVMModule.a lib/libclangTidyLinuxKernelModule.a lib/libclangTidyMPIModule.a +lib/libclangTidyMain.a lib/libclangTidyMiscModule.a lib/libclangTidyModernizeModule.a lib/libclangTidyObjCModule.a @@ -45,6 +361,8 @@ lib/libclangTidyPortabilityModule.a lib/libclangTidyReadabilityModule.a lib/libclangTidyUtils.a lib/libclangTidyZirconModule.a +lib/libclangdRemoteIndex.a +lib/libclangdSupport.a lib/libfindAllSymbols.a share/clang/clang-doc-default-stylesheet.css share/clang/clang-include-fixer.el diff --git a/lang/clang-tools-extra/distinfo b/lang/clang-tools-extra/distinfo index 2942ae54e71..acaec02fb9e 100644 --- a/lang/clang-tools-extra/distinfo +++ b/lang/clang-tools-extra/distinfo @@ -1,11 +1,10 @@ -$NetBSD: distinfo,v 1.7 2020/07/26 19:20:13 adam Exp $ +$NetBSD: distinfo,v 1.8 2021/07/12 18:45:07 adam Exp $ -SHA1 (clang-10.0.1.src.tar.xz) = 0e61e92b22a620fe7f833fa8b2a56f2db96f7335 -RMD160 (clang-10.0.1.src.tar.xz) = 15b8a3b6c6f1a2896146006b30fbcf104be7c2b6 -SHA512 (clang-10.0.1.src.tar.xz) = c6712d491ce5e166ef72724cf855d742d88da825ffc25585612d7f2eb7770343e3ae48fa78e0af3e5d5efdde3a9686a7361dac3b546a4378de22448ea6e4026c -Size (clang-10.0.1.src.tar.xz) = 14046188 bytes -SHA1 (clang-tools-extra-10.0.1.src.tar.xz) = 26c996da082677aca1016bcf2141dbff01dc7300 -RMD160 (clang-tools-extra-10.0.1.src.tar.xz) = 267c7495887ed838c16524a20ba61b3981ce9f16 -SHA512 (clang-tools-extra-10.0.1.src.tar.xz) = 7833197fd1f6d65e8f1fa1c169844a40e8b64f6a5cff984b29333d92527dcef532749907df2ea35b20643898baa0f49bb64b03e4ef54f9a3c4dd77bf1750a634 -Size (clang-tools-extra-10.0.1.src.tar.xz) = 2599404 bytes -SHA1 (patch-tools_extra_clangd_CMakeLists.txt) = a9c3c2686f04a06eef10c1ebc14f0c95fef4a9e7 +SHA1 (clang-12.0.1.src.tar.xz) = e3cdd3fb39c78a5bcb0a1d5706678cf8643a48f6 +RMD160 (clang-12.0.1.src.tar.xz) = 662d890fe81218fbf79c25540eb09c7664bc5b8a +SHA512 (clang-12.0.1.src.tar.xz) = 405011f0974b239427ca87c65e7485709c77705a9b7d51d679fe2abec79865f8c51c7ab085b4e6bf7aa4d0eade4b1438d88dd5feb56b434dc5d718ebf5715efa +Size (clang-12.0.1.src.tar.xz) = 15323860 bytes +SHA1 (clang-tools-extra-12.0.1.src.tar.xz) = 42f179bb59432c4d2785239952853ad6308d0863 +RMD160 (clang-tools-extra-12.0.1.src.tar.xz) = bb7b44af9bbc18a451bf744fa2af9ac3e19fcc00 +SHA512 (clang-tools-extra-12.0.1.src.tar.xz) = be4975c81c83f98deb5f6e0cc170fb6740bc46396d5bd8f25b55270ed874bb099b6d6f0e413617396f5ab67182314735580f44be1913d9be44ae288cf8c4fd7c +Size (clang-tools-extra-12.0.1.src.tar.xz) = 2635020 bytes diff --git a/lang/clang-tools-extra/patches/patch-tools_extra_clangd_CMakeLists.txt b/lang/clang-tools-extra/patches/patch-tools_extra_clangd_CMakeLists.txt deleted file mode 100644 index 7fe0ecb90a9..00000000000 --- a/lang/clang-tools-extra/patches/patch-tools_extra_clangd_CMakeLists.txt +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-tools_extra_clangd_CMakeLists.txt,v 1.2 2019/06/02 08:41:18 adam Exp $ - -Do not look for libatomic. - ---- tools/extra/clangd/CMakeLists.txt.orig 2019-01-16 00:24:22.000000000 +0000 -+++ tools/extra/clangd/CMakeLists.txt -@@ -16,9 +16,6 @@ if(CLANG_BUILT_STANDALONE) - endif() - - set(CLANGD_ATOMIC_LIB "") --if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB) -- list(APPEND CLANGD_ATOMIC_LIB "atomic") --endif() - - add_clang_library(clangDaemon - AST.cpp |