Ravenports generated: 14 Oct 2022 17:40
[ravenports.git] / bucket_C7 / clang13
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               clang13
4 VERSION=                13.0.1
5 KEYWORDS=               lang
6 VARIANTS=               standard
7 SDESC[standard]=        C language family frontend for LLVM 13.0
8 HOMEPAGE=               http://llvm.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.1/
13                         http://llvm.org/releases/13.0.1/
14 DISTFILE[1]=            clang-13.0.1.src.tar.xz:main
15 DISTFILE[2]=            clang-tools-extra-13.0.1.src.tar.xz:main
16 DF_INDEX=               1 2
17 SPKGS[standard]=        complete
18                         compiler
19                         extra
20                         dynlibs
21
22 OPTIONS_AVAILABLE=      none
23 OPTIONS_STANDARD=       none
24
25 BUILDRUN_DEPENDS=       llvm13:single:standard
26 EXRUN[compiler]=        clang13:dynlibs:standard
27
28 USES=                   cmake ninja ncurses zlib execinfo shebangfix
29                         python:build c++:compiler,extra
30 GNOME_COMPONENTS=       libxml2
31
32 DISTNAME=               clang-13.0.1.src
33
34 LICENSE=                CUSTOM1:compiler
35 LICENSE_NAME=           CUSTOM1:"University of Illinois/NCSA Open Source License"
36 LICENSE_FILE=           CUSTOM1:{{WRKSRC}}/LICENSE.TXT
37 LICENSE_SCHEME=         solo
38
39 CMAKE_BUILD_TYPE=       Release
40 CMAKE_INSTALL_PREFIX=   {{PREFIX}}/llvm13
41 SHEBANG_FILES=          utils/hmaptool/hmaptool
42                         tools/scan-view/bin/scan-view
43                         tools/clang-format/git-clang-format
44                         tools/clang-format/clang-format-diff.py
45                         tools/extra/clang-tidy/tool/clang-tidy-diff.py
46                         tools/extra/clang-tidy/tool/run-clang-tidy.py
47                         tools/extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
48                         tools/scan-build-py/bin/analyze-build
49                         tools/scan-build-py/bin/intercept-build
50                         tools/scan-build-py/bin/scan-build
51                         tools/scan-build-py/libexec/analyze-cc
52                         tools/scan-build-py/libexec/analyze-c++
53                         tools/scan-build-py/libexec/intercept-cc
54                         tools/scan-build-py/libexec/intercept-c++
55
56 PLIST_SUB=              LLVM_RELEASE="13.0.1"
57                         LLVM_MAJOR="13"
58                         LLVM_SOVERSION="13.0"
59                         NAMEBASE="llvm13"
60
61 CFLAGS=                 -O2
62                         -pipe
63                         -DNDEBUG
64 CXXFLAGS=               -O2
65                         -pipe
66                         -DNDEBUG
67 CMAKE_ARGS=             -DLLVM_BUILD_LLVM_DYLIB=ON
68                         -DLLVM_LINK_LLVM_DYLIB=ON
69                         -DLLVM_PARALLEL_LINK_JOBS=1
70                         -DLLVM_PARALLEL_COMPILE_JOBS={{MAKE_JOBS_NUMBER}}
71                         -DLLVM_INCLUDE_TESTS:BOOL=OFF
72                         -DLLVM_BUILD_32_BITS:BOOL=OFF
73                         -DLLVM_ENABLE_RTTI=ON
74                         -DGCC_INSTALL_PREFIX={{LOCALBASE}}/toolchain/ravensys-gcc
75                         -DCLANG_ENABLE_CLANGD:BOOL=OFF
76 VAR_OPSYS[freebsd]=     CMAKE_ARGS=-DLLVM_USE_LINKER=gold
77                         CMAKE_ARGS=-DCMAKE_INSTALL_RPATH:STRING="{{LOCALBASE}}/llvm13/lib"
78 VAR_OPSYS[sunos]=       CMAKE_ARGS=-DCMAKE_SKIP_RPATH:BOOL=TRUE
79                         LDFLAGS=-Wl,-R{{LOCALBASE}}/llvm13/lib
80 VAR_OPSYS[linux]=       CMAKE_ARGS=-DLLVM_USE_LINKER=gold
81                         CMAKE_ARGS=-DCMAKE_INSTALL_RPATH:STRING="{{LOCALBASE}}/llvm13/lib"
82 VAR_OPSYS[dragonfly]=   CMAKE_ARGS=-DLLVM_USE_LINKER=gold
83                         CMAKE_ARGS=-DCMAKE_INSTALL_RPATH:STRING="{{LOCALBASE}}/llvm13/lib"
84
85 post-patch:
86         ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \
87                 ${WRKSRC}/lib/Driver/ToolChains/CommonArgs.cpp
88         ${REINPLACE_CMD} \
89                 -e 's|@LOCALBASE@|${LOCALBASE}|' \
90                 -e 's|@RAVEN_GCC@|${LOCALBASE}/toolchain/ravensys-gcc/${ASLIB}|' \
91                 -e 's|@RAVEN_GCC_TARGET@|${LOCALBASE}/toolchain/ravensys-gcc/${ASLIB}/gcc/${CONFIGURE_TARGET}/11.2.0|' \
92                 -e 's|@RAVEN_GXX_HEADERS_DIR@|${LOCALBASE}/toolchain/ravensys-gcc/include/c++/11.2.0|' \
93                 ${WRKSRC}/lib/Driver/ToolChains/DragonFly.cpp \
94                 ${WRKSRC}/lib/Driver/ToolChains/FreeBSD.cpp \
95                 ${WRKSRC}/lib/Driver/ToolChains/Gnu.cpp \
96                 ${WRKSRC}/lib/Frontend/InitHeaderSearch.cpp
97
98 post-patch-dragonfly:
99         # Remove headers that conflict with /usr/include
100         ${REINPLACE_CMD} \
101                 -e '/ limits.h/d' \
102                 -e '/ stdalign.h/d' \
103                 -e '/ stdarg.h/d' \
104                 -e '/ stdbool.h/d' \
105                 -e '/ stddef.h/d' \
106                 -e '/ stdint.h/d' \
107                 -e '/ stdnoreturn.h/d' \
108                 ${WRKSRC}/lib/Headers/CMakeLists.txt
109
110 post-install:
111         ${RMDIR} ${STAGEDIR}${PREFIX}/llvm13/include/clang-tidy/plugin
112         ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/clang-tblgen \
113                 ${STAGEDIR}${PREFIX}/llvm13/bin/
114 .for F in c-index-test clang-13 clang-check clang-doc clang-format \
115         clang-extdef-mapping clang-offload-bundler \
116         clang-move clang-offload-wrapper clang-refactor clang-rename clang-apply-replacements \
117         clang-scan-deps clang-change-namespace clang-include-fixer clang-query \
118         clang-reorder-fields clang-tidy find-all-symbols \
119         modularize diagtool pp-trace #clangd
120         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/llvm13/bin/${F}
121 .endfor
122         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/llvm13/lib/libclang.${LIBEXT}
123         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/llvm13/lib/libclang-cpp.${LIBEXT}
124         # Remove man page (installed in wrong spot)
125         ${RM} -r ${STAGEDIR}${PREFIX}/share/man/man1
126
127 post-extract:
128         ${MV} ${WRKDIR}/clang-tools-extra-13.0.1.src \
129                 ${WRKDIR}/clang-tools-extra
130         # hack around clang 12.0.0 bug
131         ${CP} -a ${WRKDIR}/clang-tools-extra ${WRKSRC}/tools/extra
132
133 post-patch-freebsd:
134         # Remove headers that conflict with /usr/include
135         ${REINPLACE_CMD} \
136                 -e '/ limits.h/d' \
137                 -e '/ stdalign.h/d' \
138                 -e '/ stdarg.h/d' \
139                 -e '/ stdatomic.h/d' \
140                 -e '/ stdbool.h/d' \
141                 -e '/ stddef.h/d' \
142                 -e '/ stdint.h/d' \
143                 -e '/ stdnoreturn.h/d' \
144                 -e '/ varargs.h/d' \
145                 ${WRKSRC}/lib/Headers/CMakeLists.txt
146
147 [FILE:842:descriptions/desc.compiler]
148 The LLVM Project is a collection of modular and reusable compiler and
149 toolchain technologies. Despite its name, LLVM has little to do with
150 traditional virtual machines, though it does provide helpful libraries
151 that can be used to build them. The name "LLVM" itself is not an
152 acronym; it is the full name of the project.
153
154 This package contains Clang is an "LLVM native" C/C++/Objective-C
155 compiler, which aims to deliver amazingly fast compiles (e.g. about 3x
156 faster than GCC when compiling Objective-C code in a debug
157 configuration), extremely useful error and warning messages and to
158 provide a platform for building great source level tools. The Clang
159 Static Analyzer is a tool that automatically finds bugs in your code,
160 and is a great example of the sort of tool that can be built using
161 the Clang frontend as a library to parse C/C++ code.
162
163
164 [FILE:558:descriptions/desc.extra]
165 The LLVM Project is a collection of modular and reusable compiler and
166 toolchain technologies. Despite its name, LLVM has little to do with
167 traditional virtual machines, though it does provide helpful libraries
168 that can be used to build them. The name "LLVM" itself is not an
169 acronym; it is the full name of the project.
170
171 This package holds tools that are developed as part of the LLVM compiler
172 infrastructure project and the Clang frontend.  These tools are kept in a
173 separate "extra" repository to allow lighter weight checkouts of the core
174 Clang codebase.
175
176
177 [FILE:445:descriptions/desc.dynlibs]
178 The LLVM Project is a collection of modular and reusable compiler and
179 toolchain technologies. Despite its name, LLVM has little to do with
180 traditional virtual machines, though it does provide helpful libraries
181 that can be used to build them. The name "LLVM" itself is not an
182 acronym; it is the full name of the project.
183
184 This package contains the dynamic clang libraries which are potentially
185 dependencies for ports that require clang to build.
186
187
188 [FILE:216:distinfo]
189 787a9e2d99f5c8720aa1773e4be009461cd30d3bd40fdd24591e473467c917c9     17847584 clang-13.0.1.src.tar.xz
190 cc2bc8598848513fa2257a270083e986fd61048347eccf1d801926ea709392d0      2740348 clang-tools-extra-13.0.1.src.tar.xz
191
192
193 [FILE:19237:manifests/plist.compiler]
194 %%ONLY-DRAGONFLY%%%%NAMEBASE%%/lib/clang/%%LLVM_RELEASE%%/include/
195  stdatomic.h
196  varargs.h
197 %%ONLY-LINUX%%%%NAMEBASE%%/lib/clang/%%LLVM_RELEASE%%/include/
198  limits.h
199  stdalign.h
200  stdarg.h
201  stdatomic.h
202  stdbool.h
203  stddef.h
204  stdint.h
205  stdnoreturn.h
206  varargs.h
207 %%ONLY-NETBSD%%%%NAMEBASE%%/lib/clang/%%LLVM_RELEASE%%/include/
208  limits.h
209  stdalign.h
210  stdarg.h
211  stdatomic.h
212  stdbool.h
213  stddef.h
214  stdint.h
215  stdnoreturn.h
216  varargs.h
217 %%ONLY-SUNOS%%%%NAMEBASE%%/lib/clang/%%LLVM_RELEASE%%/include/
218  limits.h
219  stdalign.h
220  stdarg.h
221  stdatomic.h
222  stdbool.h
223  stddef.h
224  stdint.h
225  stdnoreturn.h
226  varargs.h
227 %%NAMEBASE%%/bin/
228  c-index-test
229  clang
230  clang++
231  clang-%%LLVM_MAJOR%%
232  clang-check
233  clang-cl
234  clang-cpp
235  clang-extdef-mapping
236  clang-format
237  clang-offload-bundler
238  clang-offload-wrapper
239  clang-refactor
240  clang-rename
241  clang-scan-deps
242  clang-tblgen
243  diagtool
244  git-clang-format
245  hmaptool
246  scan-build
247  scan-view
248 %%NAMEBASE%%/include/clang-c/
249  BuildSystem.h
250  CXCompilationDatabase.h
251  CXErrorCode.h
252  CXString.h
253  Documentation.h
254  ExternC.h
255  FatalErrorHandler.h
256  Index.h
257  Platform.h
258  Rewrite.h
259 %%NAMEBASE%%/include/clang/APINotes/
260  APINotesYAMLCompiler.h
261  Types.h
262 %%NAMEBASE%%/include/clang/ARCMigrate/
263  ARCMT.h
264  ARCMTActions.h
265  FileRemapper.h
266 %%NAMEBASE%%/include/clang/AST/
267  APValue.h
268  AST.h
269  ASTConcept.h
270  ASTConsumer.h
271  ASTContext.h
272  ASTContextAllocate.h
273  ASTDiagnostic.h
274  ASTDumper.h
275  ASTDumperUtils.h
276  ASTFwd.h
277  ASTImporter.h
278  ASTImporterLookupTable.h
279  ASTImporterSharedState.h
280  ASTLambda.h
281  ASTMutationListener.h
282  ASTNodeTraverser.h
283  ASTStructuralEquivalence.h
284  ASTTypeTraits.h
285  ASTUnresolvedSet.h
286  ASTVector.h
287  AbstractBasicReader.h
288  AbstractBasicReader.inc
289  AbstractBasicWriter.h
290  AbstractBasicWriter.inc
291  AbstractTypeReader.h
292  AbstractTypeReader.inc
293  AbstractTypeWriter.h
294  AbstractTypeWriter.inc
295  Attr.h
296  AttrImpl.inc
297  AttrIterator.h
298  AttrNodeTraverse.inc
299  AttrTextNodeDump.inc
300  AttrVisitor.h
301  AttrVisitor.inc
302  Attrs.inc
303  Availability.h
304  BaseSubobject.h
305  BuiltinTypes.def
306  CXXInheritance.h
307  CXXRecordDeclDefinitionBits.def
308  CanonicalType.h
309  CharUnits.h
310  Comment.h
311  CommentBriefParser.h
312  CommentCommandInfo.inc
313  CommentCommandList.inc
314  CommentCommandTraits.h
315  CommentDiagnostic.h
316  CommentHTMLNamedCharacterReferences.inc
317  CommentHTMLTags.inc
318  CommentHTMLTagsProperties.inc
319  CommentLexer.h
320  CommentNodes.inc
321  CommentParser.h
322  CommentSema.h
323  CommentVisitor.h
324  ComparisonCategories.h
325  ComputeDependence.h
326  CurrentSourceLocExprScope.h
327  DataCollection.h
328  Decl.h
329  DeclAccessPair.h
330  DeclBase.h
331  DeclCXX.h
332  DeclContextInternals.h
333  DeclFriend.h
334  DeclGroup.h
335  DeclLookups.h
336  DeclNodes.inc
337  DeclObjC.h
338  DeclObjCCommon.h
339  DeclOpenMP.h
340  DeclTemplate.h
341  DeclVisitor.h
342  DeclarationName.h
343  DependenceFlags.h
344  DependentDiagnostic.h
345  EvaluatedExprVisitor.h
346  Expr.h
347  ExprCXX.h
348  ExprConcepts.h
349  ExprObjC.h
350  ExprOpenMP.h
351  ExternalASTMerger.h
352  ExternalASTSource.h
353  FormatString.h
354  GlobalDecl.h
355  IgnoreExpr.h
356  JSONNodeDumper.h
357  LambdaCapture.h
358  LexicallyOrderedRecursiveASTVisitor.h
359  LocInfoType.h
360  Mangle.h
361  MangleNumberingContext.h
362  NSAPI.h
363  NestedNameSpecifier.h
364  NonTrivialTypeVisitor.h
365  ODRHash.h
366  OSLog.h
367  OpenMPClause.h
368  OperationKinds.def
369  OperationKinds.h
370  OptionalDiagnostic.h
371  ParentMap.h
372  ParentMapContext.h
373  PrettyDeclStackTrace.h
374  PrettyPrinter.h
375  QualTypeNames.h
376  RawCommentList.h
377  RecordLayout.h
378  RecursiveASTVisitor.h
379  Redeclarable.h
380  SelectorLocationsKind.h
381  Stmt.h
382  StmtCXX.h
383  StmtDataCollectors.inc
384  StmtGraphTraits.h
385  StmtIterator.h
386  StmtNodes.inc
387  StmtObjC.h
388  StmtOpenMP.h
389  StmtVisitor.h
390  TemplateArgumentVisitor.h
391  TemplateBase.h
392  TemplateName.h
393  TextNodeDumper.h
394  Type.h
395  TypeLoc.h
396  TypeLocNodes.def
397  TypeLocVisitor.h
398  TypeNodes.inc
399  TypeOrdering.h
400  TypeVisitor.h
401  UnresolvedSet.h
402  VTTBuilder.h
403  VTableBuilder.h
404 %%NAMEBASE%%/include/clang/ASTMatchers/
405  ASTMatchFinder.h
406  ASTMatchers.h
407  ASTMatchersInternal.h
408  ASTMatchersMacros.h
409  GtestMatchers.h
410 %%NAMEBASE%%/include/clang/ASTMatchers/Dynamic/
411  Diagnostics.h
412  Parser.h
413  Registry.h
414  VariantValue.h
415 %%NAMEBASE%%/include/clang/Analysis/
416  AnalysisDeclContext.h
417  AnalysisDiagnostic.h
418  AnyCall.h
419  BodyFarm.h
420  CFG.h
421  CFGStmtMap.h
422  CallGraph.h
423  CloneDetection.h
424  CodeInjector.h
425  ConstructionContext.h
426  IssueHash.h
427  MacroExpansionContext.h
428  PathDiagnostic.h
429  ProgramPoint.h
430  RetainSummaryManager.h
431  SelectorExtras.h
432 %%NAMEBASE%%/include/clang/Analysis/Analyses/
433  CFGReachabilityAnalysis.h
434  CalledOnceCheck.h
435  Consumed.h
436  Dominators.h
437  ExprMutationAnalyzer.h
438  LiveVariables.h
439  PostOrderCFGView.h
440  ReachableCode.h
441  ThreadSafety.h
442  ThreadSafetyCommon.h
443  ThreadSafetyLogical.h
444  ThreadSafetyOps.def
445  ThreadSafetyTIL.h
446  ThreadSafetyTraverse.h
447  ThreadSafetyUtil.h
448  UninitializedValues.h
449 %%NAMEBASE%%/include/clang/Analysis/DomainSpecific/
450  CocoaConventions.h
451  ObjCNoReturn.h
452 %%NAMEBASE%%/include/clang/Analysis/FlowSensitive/
453  DataflowValues.h
454  DataflowWorklist.h
455 %%NAMEBASE%%/include/clang/Analysis/Support/BumpVector.h
456 %%NAMEBASE%%/include/clang/Basic/
457  AArch64SVEACLETypes.def
458  ABI.h
459  AddressSpaces.h
460  AlignedAllocation.h
461  AllDiagnostics.h
462  AttrHasAttributeImpl.inc
463  AttrKinds.h
464  AttrList.inc
465  AttrSubMatchRulesList.inc
466  AttrSubjectMatchRules.h
467  AttributeCommonInfo.h
468  Attributes.h
469  BitmaskEnum.h
470  Builtins.def
471  Builtins.h
472  BuiltinsAArch64.def
473  BuiltinsAMDGPU.def
474  BuiltinsARM.def
475  BuiltinsBPF.def
476  BuiltinsHexagon.def
477  BuiltinsHexagonDep.def
478  BuiltinsHexagonMapCustomDep.def
479  BuiltinsMips.def
480  BuiltinsNEON.def
481  BuiltinsNVPTX.def
482  BuiltinsPPC.def
483  BuiltinsRISCV.def
484  BuiltinsSVE.def
485  BuiltinsSystemZ.def
486  BuiltinsWebAssembly.def
487  BuiltinsX86.def
488  BuiltinsX86_64.def
489  BuiltinsXCore.def
490  CapturedStmt.h
491  CharInfo.h
492  CodeGenOptions.def
493  CodeGenOptions.h
494  CommentOptions.h
495  Cuda.h
496  DarwinSDKInfo.h
497  DebugInfoOptions.h
498  Diagnostic.h
499  DiagnosticAST.h
500  DiagnosticASTKinds.inc
501  DiagnosticAnalysis.h
502  DiagnosticAnalysisKinds.inc
503  DiagnosticCategories.h
504  DiagnosticComment.h
505  DiagnosticCommentKinds.inc
506  DiagnosticCommonKinds.inc
507  DiagnosticCrossTU.h
508  DiagnosticCrossTUKinds.inc
509  DiagnosticDriver.h
510  DiagnosticDriverKinds.inc
511  DiagnosticError.h
512  DiagnosticFrontend.h
513  DiagnosticFrontendKinds.inc
514  DiagnosticGroups.inc
515  DiagnosticIDs.h
516  DiagnosticIndexName.inc
517  DiagnosticLex.h
518  DiagnosticLexKinds.inc
519  DiagnosticOptions.def
520  DiagnosticOptions.h
521  DiagnosticParse.h
522  DiagnosticParseKinds.inc
523  DiagnosticRefactoring.h
524  DiagnosticRefactoringKinds.inc
525  DiagnosticSema.h
526  DiagnosticSemaKinds.inc
527  DiagnosticSerialization.h
528  DiagnosticSerializationKinds.inc
529  DirectoryEntry.h
530  ExceptionSpecificationType.h
531  ExpressionTraits.h
532  FPOptions.def
533  Features.def
534  FileEntry.h
535  FileManager.h
536  FileSystemOptions.h
537  FileSystemStatCache.h
538  IdentifierTable.h
539  JsonSupport.h
540  LLVM.h
541  Lambda.h
542  LangOptions.def
543  LangOptions.h
544  LangStandard.h
545  LangStandards.def
546  Linkage.h
547  MSP430Target.def
548  MacroBuilder.h
549  Module.h
550  NoSanitizeList.h
551  ObjCRuntime.h
552  OpenCLExtensionTypes.def
553  OpenCLExtensions.def
554  OpenCLImageTypes.def
555  OpenCLOptions.h
556  OpenMPKinds.def
557  OpenMPKinds.h
558  OperatorKinds.def
559  OperatorKinds.h
560  OperatorPrecedence.h
561  PPCTypes.def
562  PartialDiagnostic.h
563  PlistSupport.h
564  PragmaKinds.h
565  PrettyStackTrace.h
566  ProfileList.h
567  RISCVVTypes.def
568  SanitizerSpecialCaseList.h
569  Sanitizers.def
570  Sanitizers.h
571  SourceLocation.h
572  SourceManager.h
573  SourceManagerInternals.h
574  Specifiers.h
575  Stack.h
576  SyncScope.h
577  TargetBuiltins.h
578  TargetCXXABI.def
579  TargetCXXABI.h
580  TargetID.h
581  TargetInfo.h
582  TargetOptions.h
583  TemplateKinds.h
584  Thunk.h
585  TokenKinds.def
586  TokenKinds.h
587  TypeTraits.h
588  Version.h
589  Version.inc
590  Visibility.h
591  X86Target.def
592  XRayInstr.h
593  XRayLists.h
594  arm_cde_builtin_aliases.inc
595  arm_cde_builtin_cg.inc
596  arm_cde_builtin_sema.inc
597  arm_cde_builtins.inc
598  arm_fp16.inc
599  arm_mve_builtin_aliases.inc
600  arm_mve_builtin_cg.inc
601  arm_mve_builtin_sema.inc
602  arm_mve_builtins.inc
603  arm_neon.inc
604  arm_sve_builtin_cg.inc
605  arm_sve_builtins.inc
606  arm_sve_sema_rangechecks.inc
607  arm_sve_typeflags.inc
608  riscv_vector_builtin_cg.inc
609  riscv_vector_builtins.inc
610 %%NAMEBASE%%/include/clang/CodeGen/
611  BackendUtil.h
612  CGFunctionInfo.h
613  CodeGenABITypes.h
614  CodeGenAction.h
615  ConstantInitBuilder.h
616  ConstantInitFuture.h
617  ModuleBuilder.h
618  ObjectFilePCHContainerOperations.h
619  SwiftCallingConv.h
620 %%NAMEBASE%%/include/clang/Config/config.h
621 %%NAMEBASE%%/include/clang/CrossTU/
622  CrossTUDiagnostic.h
623  CrossTranslationUnit.h
624 %%NAMEBASE%%/include/clang/DirectoryWatcher/DirectoryWatcher.h
625 %%NAMEBASE%%/include/clang/Driver/
626  Action.h
627  Compilation.h
628  Distro.h
629  Driver.h
630  DriverDiagnostic.h
631  InputInfo.h
632  Job.h
633  Multilib.h
634  OptionUtils.h
635  Options.h
636  Options.inc
637  Phases.h
638  SanitizerArgs.h
639  Tool.h
640  ToolChain.h
641  Types.def
642  Types.h
643  Util.h
644  XRayArgs.h
645 %%NAMEBASE%%/include/clang/Edit/
646  Commit.h
647  EditedSource.h
648  EditsReceiver.h
649  FileOffset.h
650  Rewriters.h
651 %%NAMEBASE%%/include/clang/Format/Format.h
652 %%NAMEBASE%%/include/clang/Frontend/
653  ASTConsumers.h
654  ASTUnit.h
655  ChainedDiagnosticConsumer.h
656  CommandLineSourceLoc.h
657  CompilerInstance.h
658  CompilerInvocation.h
659  DependencyOutputOptions.h
660  DiagnosticRenderer.h
661  FrontendAction.h
662  FrontendActions.h
663  FrontendDiagnostic.h
664  FrontendOptions.h
665  FrontendPluginRegistry.h
666  LayoutOverrideSource.h
667  LogDiagnosticPrinter.h
668  MigratorOptions.h
669  MultiplexConsumer.h
670  PCHContainerOperations.h
671  PrecompiledPreamble.h
672  PreprocessorOutputOptions.h
673  SerializedDiagnosticPrinter.h
674  SerializedDiagnosticReader.h
675  SerializedDiagnostics.h
676  TextDiagnostic.h
677  TextDiagnosticBuffer.h
678  TextDiagnosticPrinter.h
679  Utils.h
680  VerifyDiagnosticConsumer.h
681 %%NAMEBASE%%/include/clang/FrontendTool/Utils.h
682 %%NAMEBASE%%/include/clang/Index/
683  CommentToXML.h
684  DeclOccurrence.h
685  IndexDataConsumer.h
686  IndexSymbol.h
687  IndexingAction.h
688  IndexingOptions.h
689  USRGeneration.h
690 %%NAMEBASE%%/include/clang/IndexSerialization/SerializablePathCollection.h
691 %%NAMEBASE%%/include/clang/Interpreter/
692  Interpreter.h
693  PartialTranslationUnit.h
694 %%NAMEBASE%%/include/clang/Lex/
695  CodeCompletionHandler.h
696  DependencyDirectivesSourceMinimizer.h
697  DirectoryLookup.h
698  ExternalPreprocessorSource.h
699  HeaderMap.h
700  HeaderMapTypes.h
701  HeaderSearch.h
702  HeaderSearchOptions.h
703  LexDiagnostic.h
704  Lexer.h
705  LiteralSupport.h
706  MacroArgs.h
707  MacroInfo.h
708  ModuleLoader.h
709  ModuleMap.h
710  MultipleIncludeOpt.h
711  PPCallbacks.h
712  PPConditionalDirectiveRecord.h
713  Pragma.h
714  PreprocessingRecord.h
715  Preprocessor.h
716  PreprocessorExcludedConditionalDirectiveSkipMapping.h
717  PreprocessorLexer.h
718  PreprocessorOptions.h
719  ScratchBuffer.h
720  Token.h
721  TokenConcatenation.h
722  TokenLexer.h
723  VariadicMacroSupport.h
724 %%NAMEBASE%%/include/clang/Parse/
725  AttrParserStringSwitches.inc
726  AttrSubMatchRulesParserStringSwitches.inc
727  LoopHint.h
728  ParseAST.h
729  ParseDiagnostic.h
730  Parser.h
731  RAIIObjectsForParser.h
732 %%NAMEBASE%%/include/clang/Rewrite/Core/
733  DeltaTree.h
734  HTMLRewrite.h
735  RewriteBuffer.h
736  RewriteRope.h
737  Rewriter.h
738  TokenRewriter.h
739 %%NAMEBASE%%/include/clang/Rewrite/Frontend/
740  ASTConsumers.h
741  FixItRewriter.h
742  FrontendActions.h
743  Rewriters.h
744 %%NAMEBASE%%/include/clang/Sema/
745  AnalysisBasedWarnings.h
746  AttrParsedAttrImpl.inc
747  AttrParsedAttrKinds.inc
748  AttrParsedAttrList.inc
749  AttrSpellingListIndex.inc
750  AttrTemplateInstantiate.inc
751  CXXFieldCollector.h
752  CleanupInfo.h
753  CodeCompleteConsumer.h
754  CodeCompleteOptions.h
755  DeclSpec.h
756  DelayedDiagnostic.h
757  Designator.h
758  ExternalSemaSource.h
759  IdentifierResolver.h
760  Initialization.h
761  Lookup.h
762  MultiplexExternalSemaSource.h
763  ObjCMethodList.h
764  Overload.h
765  Ownership.h
766  ParsedAttr.h
767  ParsedTemplate.h
768  Scope.h
769  ScopeInfo.h
770  Sema.h
771  SemaConcept.h
772  SemaConsumer.h
773  SemaDiagnostic.h
774  SemaFixItUtils.h
775  SemaInternal.h
776  SemaLambda.h
777  Template.h
778  TemplateDeduction.h
779  TemplateInstCallback.h
780  TypoCorrection.h
781  Weak.h
782 %%NAMEBASE%%/include/clang/Serialization/
783  ASTBitCodes.h
784  ASTDeserializationListener.h
785  ASTReader.h
786  ASTRecordReader.h
787  ASTRecordWriter.h
788  ASTWriter.h
789  AttrPCHRead.inc
790  AttrPCHWrite.inc
791  ContinuousRangeMap.h
792  GlobalModuleIndex.h
793  InMemoryModuleCache.h
794  ModuleFile.h
795  ModuleFileExtension.h
796  ModuleManager.h
797  PCHContainerOperations.h
798  SerializationDiagnostic.h
799  TypeBitCodes.def
800 %%NAMEBASE%%/include/clang/StaticAnalyzer/Checkers/
801  BuiltinCheckerRegistration.h
802  Checkers.inc
803  LocalCheckers.h
804  MPIFunctionClassifier.h
805  SValExplainer.h
806 %%NAMEBASE%%/include/clang/StaticAnalyzer/Core/
807  Analyses.def
808  AnalyzerOptions.def
809  AnalyzerOptions.h
810  Checker.h
811  CheckerManager.h
812  CheckerRegistryData.h
813  PathDiagnosticConsumers.h
814 %%NAMEBASE%%/include/clang/StaticAnalyzer/Core/BugReporter/
815  BugReporter.h
816  BugReporterVisitors.h
817  BugType.h
818  CommonBugCategories.h
819 %%NAMEBASE%%/include/clang/StaticAnalyzer/Core/PathSensitive/
820  APSIntType.h
821  AnalysisManager.h
822  BasicValueFactory.h
823  BlockCounter.h
824  CallEvent.h
825  CheckerContext.h
826  CheckerHelpers.h
827  ConstraintManager.h
828  CoreEngine.h
829  DynamicCastInfo.h
830  DynamicExtent.h
831  DynamicType.h
832  DynamicTypeInfo.h
833  Environment.h
834  ExplodedGraph.h
835  ExprEngine.h
836  FunctionSummary.h
837  LoopUnrolling.h
838  LoopWidening.h
839  MemRegion.h
840  ProgramState.h
841  ProgramStateTrait.h
842  ProgramState_Fwd.h
843  RangedConstraintManager.h
844  Regions.def
845  SMTConstraintManager.h
846  SMTConv.h
847  SValBuilder.h
848  SValVisitor.h
849  SVals.def
850  SVals.h
851  SimpleConstraintManager.h
852  Store.h
853  StoreRef.h
854  SummaryManager.h
855  SymExpr.h
856  SymbolManager.h
857  Symbols.def
858  WorkList.h
859 %%NAMEBASE%%/include/clang/StaticAnalyzer/Frontend/
860  AnalysisConsumer.h
861  AnalyzerHelpFlags.h
862  CheckerRegistry.h
863  FrontendActions.h
864  ModelConsumer.h
865 %%NAMEBASE%%/include/clang/Testing/
866  CommandLineArgs.h
867  TestClangConfig.h
868 %%NAMEBASE%%/include/clang/Tooling/
869  AllTUsExecution.h
870  ArgumentsAdjusters.h
871  CommonOptionsParser.h
872  CompilationDatabase.h
873  CompilationDatabasePluginRegistry.h
874  DiagnosticsYaml.h
875  Execution.h
876  FileMatchTrie.h
877  FixIt.h
878  JSONCompilationDatabase.h
879  NodeIntrospection.h
880  NodeIntrospection.inc
881  Refactoring.h
882  RefactoringCallbacks.h
883  ReplacementsYaml.h
884  StandaloneExecution.h
885  ToolExecutorPluginRegistry.h
886  Tooling.h
887 %%NAMEBASE%%/include/clang/Tooling/ASTDiff/
888  ASTDiff.h
889  ASTDiffInternal.h
890 %%NAMEBASE%%/include/clang/Tooling/Core/
891  Diagnostic.h
892  Replacement.h
893 %%NAMEBASE%%/include/clang/Tooling/DependencyScanning/
894  DependencyScanningFilesystem.h
895  DependencyScanningService.h
896  DependencyScanningTool.h
897  DependencyScanningWorker.h
898  ModuleDepCollector.h
899 %%NAMEBASE%%/include/clang/Tooling/Inclusions/
900  HeaderIncludes.h
901  IncludeStyle.h
902 %%NAMEBASE%%/include/clang/Tooling/Refactoring/
903  ASTSelection.h
904  AtomicChange.h
905  Lookup.h
906  RecursiveSymbolVisitor.h
907  RefactoringAction.h
908  RefactoringActionRule.h
909  RefactoringActionRuleRequirements.h
910  RefactoringActionRules.h
911  RefactoringActionRulesInternal.h
912  RefactoringDiagnostic.h
913  RefactoringOption.h
914  RefactoringOptionVisitor.h
915  RefactoringOptions.h
916  RefactoringResultConsumer.h
917  RefactoringRuleContext.h
918 %%NAMEBASE%%/include/clang/Tooling/Refactoring/Extract/
919  Extract.h
920  SourceExtraction.h
921 %%NAMEBASE%%/include/clang/Tooling/Refactoring/Rename/
922  RenamingAction.h
923  SymbolName.h
924  SymbolOccurrences.h
925  USRFinder.h
926  USRFindingAction.h
927  USRLocFinder.h
928 %%NAMEBASE%%/include/clang/Tooling/Syntax/
929  BuildTree.h
930  Mutations.h
931  NodeClasses.inc
932  Nodes.h
933  Nodes.inc
934  Tokens.h
935  Tree.h
936 %%NAMEBASE%%/include/clang/Tooling/Transformer/
937  MatchConsumer.h
938  Parsing.h
939  RangeSelector.h
940  RewriteRule.h
941  SourceCode.h
942  SourceCodeBuilders.h
943  Stencil.h
944  Transformer.h
945 %%NAMEBASE%%/lib/
946  libclangAPINotes.a
947  libclangARCMigrate.a
948  libclangAST.a
949  libclangASTMatchers.a
950  libclangAnalysis.a
951  libclangBasic.a
952  libclangCodeGen.a
953  libclangCrossTU.a
954  libclangDependencyScanning.a
955  libclangDirectoryWatcher.a
956  libclangDriver.a
957  libclangDynamicASTMatchers.a
958  libclangEdit.a
959  libclangFormat.a
960  libclangFrontend.a
961  libclangFrontendTool.a
962  libclangHandleCXX.a
963  libclangHandleLLVM.a
964  libclangIndex.a
965  libclangIndexSerialization.a
966  libclangInterpreter.a
967  libclangLex.a
968  libclangParse.a
969  libclangRewrite.a
970  libclangRewriteFrontend.a
971  libclangSema.a
972  libclangSerialization.a
973  libclangStaticAnalyzerCheckers.a
974  libclangStaticAnalyzerCore.a
975  libclangStaticAnalyzerFrontend.a
976  libclangTesting.a
977  libclangTooling.a
978  libclangToolingASTDiff.a
979  libclangToolingCore.a
980  libclangToolingInclusions.a
981  libclangToolingRefactoring.a
982  libclangToolingSyntax.a
983  libclangTransformer.a
984 %%NAMEBASE%%/lib/clang/%%LLVM_RELEASE%%/include/
985  __clang_cuda_builtin_vars.h
986  __clang_cuda_cmath.h
987  __clang_cuda_complex_builtins.h
988  __clang_cuda_device_functions.h
989  __clang_cuda_intrinsics.h
990  __clang_cuda_libdevice_declares.h
991  __clang_cuda_math.h
992  __clang_cuda_math_forward_declares.h
993  __clang_cuda_runtime_wrapper.h
994  __clang_hip_cmath.h
995  __clang_hip_libdevice_declares.h
996  __clang_hip_math.h
997  __clang_hip_runtime_wrapper.h
998  __stddef_max_align_t.h
999  __wmmintrin_aes.h
1000  __wmmintrin_pclmul.h
1001  adxintrin.h
1002  altivec.h
1003  ammintrin.h
1004  amxintrin.h
1005  arm64intr.h
1006  arm_acle.h
1007  arm_bf16.h
1008  arm_cde.h
1009  arm_cmse.h
1010  arm_fp16.h
1011  arm_mve.h
1012  arm_neon.h
1013  arm_sve.h
1014  armintr.h
1015  avx2intrin.h
1016  avx512bf16intrin.h
1017  avx512bitalgintrin.h
1018  avx512bwintrin.h
1019  avx512cdintrin.h
1020  avx512dqintrin.h
1021  avx512erintrin.h
1022  avx512fintrin.h
1023  avx512ifmaintrin.h
1024  avx512ifmavlintrin.h
1025  avx512pfintrin.h
1026  avx512vbmi2intrin.h
1027  avx512vbmiintrin.h
1028  avx512vbmivlintrin.h
1029  avx512vlbf16intrin.h
1030  avx512vlbitalgintrin.h
1031  avx512vlbwintrin.h
1032  avx512vlcdintrin.h
1033  avx512vldqintrin.h
1034  avx512vlintrin.h
1035  avx512vlvbmi2intrin.h
1036  avx512vlvnniintrin.h
1037  avx512vlvp2intersectintrin.h
1038  avx512vnniintrin.h
1039  avx512vp2intersectintrin.h
1040  avx512vpopcntdqintrin.h
1041  avx512vpopcntdqvlintrin.h
1042  avxintrin.h
1043  avxvnniintrin.h
1044  bmi2intrin.h
1045  bmiintrin.h
1046  builtins.h
1047  cet.h
1048  cetintrin.h
1049  cldemoteintrin.h
1050  clflushoptintrin.h
1051  clwbintrin.h
1052  clzerointrin.h
1053  cpuid.h
1054  emmintrin.h
1055  enqcmdintrin.h
1056  f16cintrin.h
1057  float.h
1058  fma4intrin.h
1059  fmaintrin.h
1060  fxsrintrin.h
1061  gfniintrin.h
1062  hexagon_circ_brev_intrinsics.h
1063  hexagon_protos.h
1064  hexagon_types.h
1065  hresetintrin.h
1066  htmintrin.h
1067  htmxlintrin.h
1068  hvx_hexagon_protos.h
1069  ia32intrin.h
1070  immintrin.h
1071  intrin.h
1072  inttypes.h
1073  invpcidintrin.h
1074  iso646.h
1075  keylockerintrin.h
1076  lwpintrin.h
1077  lzcntintrin.h
1078  mm3dnow.h
1079  mm_malloc.h
1080  mmintrin.h
1081  module.modulemap
1082  movdirintrin.h
1083  msa.h
1084  mwaitxintrin.h
1085  nmmintrin.h
1086  opencl-c-base.h
1087  opencl-c.h
1088  pconfigintrin.h
1089  pkuintrin.h
1090  pmmintrin.h
1091  popcntintrin.h
1092  prfchwintrin.h
1093  ptwriteintrin.h
1094  rdseedintrin.h
1095  riscv_vector.h
1096  rtmintrin.h
1097  s390intrin.h
1098  serializeintrin.h
1099  sgxintrin.h
1100  shaintrin.h
1101  smmintrin.h
1102  tbmintrin.h
1103  tgmath.h
1104  tmmintrin.h
1105  tsxldtrkintrin.h
1106  uintrintrin.h
1107  unwind.h
1108  vadefs.h
1109  vaesintrin.h
1110  vecintrin.h
1111  vpclmulqdqintrin.h
1112  waitpkgintrin.h
1113  wasm_simd128.h
1114  wbnoinvdintrin.h
1115  wmmintrin.h
1116  x86gprintrin.h
1117  x86intrin.h
1118  xmmintrin.h
1119  xopintrin.h
1120  xsavecintrin.h
1121  xsaveintrin.h
1122  xsaveoptintrin.h
1123  xsavesintrin.h
1124  xtestintrin.h
1125 %%NAMEBASE%%/lib/clang/%%LLVM_RELEASE%%/include/cuda_wrappers/
1126  algorithm
1127  complex
1128  new
1129 %%NAMEBASE%%/lib/clang/%%LLVM_RELEASE%%/include/openmp_wrappers/
1130  __clang_openmp_device_functions.h
1131  cmath
1132  complex
1133  complex.h
1134  complex_cmath.h
1135  math.h
1136  new
1137 %%NAMEBASE%%/lib/clang/%%LLVM_RELEASE%%/include/ppc_wrappers/
1138  emmintrin.h
1139  mm_malloc.h
1140  mmintrin.h
1141  pmmintrin.h
1142  smmintrin.h
1143  tmmintrin.h
1144  xmmintrin.h
1145 %%NAMEBASE%%/lib/cmake/clang/
1146  AddClang.cmake
1147  ClangConfig.cmake
1148  ClangTargets-%%CMAKE_BUILD_TYPE%%.cmake
1149  ClangTargets.cmake
1150 %%NAMEBASE%%/libexec/
1151  analyze-c++
1152  analyze-cc
1153  c++-analyzer
1154  ccc-analyzer
1155  intercept-c++
1156  intercept-cc
1157 %%NAMEBASE%%/share/clang/
1158  bash-autocomplete.sh
1159  clang-format-bbedit.applescript
1160  clang-format-diff.py
1161  clang-format-sublime.py
1162  clang-format.el
1163  clang-format.py
1164  clang-rename.el
1165  clang-rename.py
1166 %%NAMEBASE%%/share/scan-build/
1167  scanview.css
1168  sorttable.js
1169 %%NAMEBASE%%/share/scan-view/
1170  Reporter.py
1171  ScanView.py
1172  bugcatcher.ico
1173  startfile.py
1174
1175
1176 [FILE:11278:manifests/plist.extra]
1177 %%NAMEBASE%%/bin/
1178  analyze-build
1179  clang-apply-replacements
1180  clang-change-namespace
1181  clang-doc
1182  clang-include-fixer
1183  clang-move
1184  clang-query
1185  clang-reorder-fields
1186  clang-repl
1187  clang-tidy
1188  find-all-symbols
1189  intercept-build
1190  modularize
1191  pp-trace
1192  run-clang-tidy
1193  scan-build-py
1194 %%NAMEBASE%%/include/clang-tidy/
1195  ClangTidy.h
1196  ClangTidyCheck.h
1197  ClangTidyDiagnosticConsumer.h
1198  ClangTidyForceLinker.h
1199  ClangTidyModule.h
1200  ClangTidyModuleRegistry.h
1201  ClangTidyOptions.h
1202  ClangTidyProfiling.h
1203  ExpandModularHeadersPPCallbacks.h
1204  GlobList.h
1205 %%NAMEBASE%%/include/clang-tidy/abseil/
1206  AbseilMatcher.h
1207  DurationAdditionCheck.h
1208  DurationComparisonCheck.h
1209  DurationConversionCastCheck.h
1210  DurationDivisionCheck.h
1211  DurationFactoryFloatCheck.h
1212  DurationFactoryScaleCheck.h
1213  DurationRewriter.h
1214  DurationSubtractionCheck.h
1215  DurationUnnecessaryConversionCheck.h
1216  FasterStrsplitDelimiterCheck.h
1217  NoInternalDependenciesCheck.h
1218  NoNamespaceCheck.h
1219  RedundantStrcatCallsCheck.h
1220  StrCatAppendCheck.h
1221  StringFindStartswithCheck.h
1222  StringFindStrContainsCheck.h
1223  TimeComparisonCheck.h
1224  TimeSubtractionCheck.h
1225  UpgradeDurationConversionsCheck.h
1226 %%NAMEBASE%%/include/clang-tidy/altera/
1227  IdDependentBackwardBranchCheck.h
1228  KernelNameRestrictionCheck.h
1229  SingleWorkItemBarrierCheck.h
1230  StructPackAlignCheck.h
1231  UnrollLoopsCheck.h
1232 %%NAMEBASE%%/include/clang-tidy/android/
1233  CloexecAccept4Check.h
1234  CloexecAcceptCheck.h
1235  CloexecCheck.h
1236  CloexecCreatCheck.h
1237  CloexecDupCheck.h
1238  CloexecEpollCreate1Check.h
1239  CloexecEpollCreateCheck.h
1240  CloexecFopenCheck.h
1241  CloexecInotifyInit1Check.h
1242  CloexecInotifyInitCheck.h
1243  CloexecMemfdCreateCheck.h
1244  CloexecOpenCheck.h
1245  CloexecPipe2Check.h
1246  CloexecPipeCheck.h
1247  CloexecSocketCheck.h
1248  ComparisonInTempFailureRetryCheck.h
1249 %%NAMEBASE%%/include/clang-tidy/boost/UseToStringCheck.h
1250 %%NAMEBASE%%/include/clang-tidy/bugprone/
1251  ArgumentCommentCheck.h
1252  AssertSideEffectCheck.h
1253  BadSignalToKillThreadCheck.h
1254  BoolPointerImplicitConversionCheck.h
1255  BranchCloneCheck.h
1256  CopyConstructorInitCheck.h
1257  DanglingHandleCheck.h
1258  DynamicStaticInitializersCheck.h
1259  EasilySwappableParametersCheck.h
1260  ExceptionEscapeCheck.h
1261  FoldInitTypeCheck.h
1262  ForwardDeclarationNamespaceCheck.h
1263  ForwardingReferenceOverloadCheck.h
1264  ImplicitWideningOfMultiplicationResultCheck.h
1265  InaccurateEraseCheck.h
1266  IncorrectRoundingsCheck.h
1267  InfiniteLoopCheck.h
1268  IntegerDivisionCheck.h
1269  LambdaFunctionNameCheck.h
1270  MacroParenthesesCheck.h
1271  MacroRepeatedSideEffectsCheck.h
1272  MisplacedOperatorInStrlenInAllocCheck.h
1273  MisplacedPointerArithmeticInAllocCheck.h
1274  MisplacedWideningCastCheck.h
1275  MoveForwardingReferenceCheck.h
1276  MultipleStatementMacroCheck.h
1277  NoEscapeCheck.h
1278  NotNullTerminatedResultCheck.h
1279  ParentVirtualCallCheck.h
1280  PosixReturnCheck.h
1281  RedundantBranchConditionCheck.h
1282  ReservedIdentifierCheck.h
1283  SignalHandlerCheck.h
1284  SignedCharMisuseCheck.h
1285  SizeofContainerCheck.h
1286  SizeofExpressionCheck.h
1287  SpuriouslyWakeUpFunctionsCheck.h
1288  StringConstructorCheck.h
1289  StringIntegerAssignmentCheck.h
1290  StringLiteralWithEmbeddedNulCheck.h
1291  SuspiciousEnumUsageCheck.h
1292  SuspiciousIncludeCheck.h
1293  SuspiciousMemsetUsageCheck.h
1294  SuspiciousMissingCommaCheck.h
1295  SuspiciousSemicolonCheck.h
1296  SuspiciousStringCompareCheck.h
1297  SwappedArgumentsCheck.h
1298  TerminatingContinueCheck.h
1299  ThrowKeywordMissingCheck.h
1300  TooSmallLoopVariableCheck.h
1301  UndefinedMemoryManipulationCheck.h
1302  UndelegatedConstructorCheck.h
1303  UnhandledExceptionAtNewCheck.h
1304  UnhandledSelfAssignmentCheck.h
1305  UnusedRaiiCheck.h
1306  UnusedReturnValueCheck.h
1307  UseAfterMoveCheck.h
1308  VirtualNearMissCheck.h
1309 %%NAMEBASE%%/include/clang-tidy/cert/
1310  CommandProcessorCheck.h
1311  DefaultOperatorNewAlignmentCheck.h
1312  DontModifyStdNamespaceCheck.h
1313  FloatLoopCounter.h
1314  LimitedRandomnessCheck.h
1315  MutatingCopyCheck.h
1316  NonTrivialTypesLibcMemoryCallsCheck.h
1317  PostfixOperatorCheck.h
1318  ProperlySeededRandomGeneratorCheck.h
1319  SetLongJmpCheck.h
1320  StaticObjectExceptionCheck.h
1321  StrToNumCheck.h
1322  ThrownExceptionTypeCheck.h
1323  VariadicFunctionDefCheck.h
1324 %%NAMEBASE%%/include/clang-tidy/concurrency/
1325  MtUnsafeCheck.h
1326  ThreadCanceltypeAsynchronousCheck.h
1327 %%NAMEBASE%%/include/clang-tidy/cppcoreguidelines/
1328  AvoidGotoCheck.h
1329  AvoidNonConstGlobalVariablesCheck.h
1330  InitVariablesCheck.h
1331  InterfacesGlobalInitCheck.h
1332  MacroUsageCheck.h
1333  NarrowingConversionsCheck.h
1334  NoMallocCheck.h
1335  OwningMemoryCheck.h
1336  PreferMemberInitializerCheck.h
1337  ProBoundsArrayToPointerDecayCheck.h
1338  ProBoundsConstantArrayIndexCheck.h
1339  ProBoundsPointerArithmeticCheck.h
1340  ProTypeConstCastCheck.h
1341  ProTypeCstyleCastCheck.h
1342  ProTypeMemberInitCheck.h
1343  ProTypeReinterpretCastCheck.h
1344  ProTypeStaticCastDowncastCheck.h
1345  ProTypeUnionAccessCheck.h
1346  ProTypeVarargCheck.h
1347  SlicingCheck.h
1348  SpecialMemberFunctionsCheck.h
1349 %%NAMEBASE%%/include/clang-tidy/darwin/
1350  AvoidSpinlockCheck.h
1351  DispatchOnceNonstaticCheck.h
1352 %%NAMEBASE%%/include/clang-tidy/fuchsia/
1353  DefaultArgumentsCallsCheck.h
1354  DefaultArgumentsDeclarationsCheck.h
1355  MultipleInheritanceCheck.h
1356  OverloadedOperatorCheck.h
1357  StaticallyConstructedObjectsCheck.h
1358  TrailingReturnCheck.h
1359  VirtualInheritanceCheck.h
1360 %%NAMEBASE%%/include/clang-tidy/google/
1361  AvoidCStyleCastsCheck.h
1362  AvoidNSObjectNewCheck.h
1363  AvoidThrowingObjCExceptionCheck.h
1364  AvoidUnderscoreInGoogletestNameCheck.h
1365  DefaultArgumentsCheck.h
1366  ExplicitConstructorCheck.h
1367  ExplicitMakePairCheck.h
1368  FunctionNamingCheck.h
1369  GlobalNamesInHeadersCheck.h
1370  GlobalVariableDeclarationCheck.h
1371  IntegerTypesCheck.h
1372  OverloadedUnaryAndCheck.h
1373  TodoCommentCheck.h
1374  UnnamedNamespaceInHeaderCheck.h
1375  UpgradeGoogletestCaseCheck.h
1376  UsingNamespaceDirectiveCheck.h
1377 %%NAMEBASE%%/include/clang-tidy/hicpp/
1378  ExceptionBaseclassCheck.h
1379  MultiwayPathsCoveredCheck.h
1380  NoAssemblerCheck.h
1381  SignedBitwiseCheck.h
1382 %%NAMEBASE%%/include/clang-tidy/linuxkernel/MustCheckErrsCheck.h
1383 %%NAMEBASE%%/include/clang-tidy/llvm/
1384  HeaderGuardCheck.h
1385  IncludeOrderCheck.h
1386  PreferIsaOrDynCastInConditionalsCheck.h
1387  PreferRegisterOverUnsignedCheck.h
1388  TwineLocalCheck.h
1389 %%NAMEBASE%%/include/clang-tidy/llvmlibc/
1390  CalleeNamespaceCheck.h
1391  ImplementationInNamespaceCheck.h
1392  RestrictSystemLibcHeadersCheck.h
1393 %%NAMEBASE%%/include/clang-tidy/misc/
1394  DefinitionsInHeadersCheck.h
1395  MisplacedConstCheck.h
1396  NewDeleteOverloadsCheck.h
1397  NoRecursionCheck.h
1398  NonCopyableObjects.h
1399  NonPrivateMemberVariablesInClassesCheck.h
1400  RedundantExpressionCheck.h
1401  StaticAssertCheck.h
1402  ThrowByValueCatchByReferenceCheck.h
1403  UnconventionalAssignOperatorCheck.h
1404  UniqueptrResetReleaseCheck.h
1405  UnusedAliasDeclsCheck.h
1406  UnusedParametersCheck.h
1407  UnusedUsingDeclsCheck.h
1408 %%NAMEBASE%%/include/clang-tidy/modernize/
1409  AvoidBindCheck.h
1410  AvoidCArraysCheck.h
1411  ConcatNestedNamespacesCheck.h
1412  DeprecatedHeadersCheck.h
1413  DeprecatedIosBaseAliasesCheck.h
1414  LoopConvertCheck.h
1415  LoopConvertUtils.h
1416  MakeSharedCheck.h
1417  MakeSmartPtrCheck.h
1418  MakeUniqueCheck.h
1419  PassByValueCheck.h
1420  RawStringLiteralCheck.h
1421  RedundantVoidArgCheck.h
1422  ReplaceAutoPtrCheck.h
1423  ReplaceDisallowCopyAndAssignMacroCheck.h
1424  ReplaceRandomShuffleCheck.h
1425  ReturnBracedInitListCheck.h
1426  ShrinkToFitCheck.h
1427  UnaryStaticAssertCheck.h
1428  UseAutoCheck.h
1429  UseBoolLiteralsCheck.h
1430  UseDefaultMemberInitCheck.h
1431  UseEmplaceCheck.h
1432  UseEqualsDefaultCheck.h
1433  UseEqualsDeleteCheck.h
1434  UseNodiscardCheck.h
1435  UseNoexceptCheck.h
1436  UseNullptrCheck.h
1437  UseOverrideCheck.h
1438  UseTrailingReturnTypeCheck.h
1439  UseTransparentFunctorsCheck.h
1440  UseUncaughtExceptionsCheck.h
1441  UseUsingCheck.h
1442 %%NAMEBASE%%/include/clang-tidy/mpi/
1443  BufferDerefCheck.h
1444  TypeMismatchCheck.h
1445 %%NAMEBASE%%/include/clang-tidy/objc/
1446  AvoidNSErrorInitCheck.h
1447  DeallocInCategoryCheck.h
1448  ForbiddenSubclassingCheck.h
1449  MissingHashCheck.h
1450  NSInvocationArgumentLifetimeCheck.h
1451  PropertyDeclarationCheck.h
1452  SuperSelfCheck.h
1453 %%NAMEBASE%%/include/clang-tidy/openmp/
1454  ExceptionEscapeCheck.h
1455  UseDefaultNoneCheck.h
1456 %%NAMEBASE%%/include/clang-tidy/performance/
1457  FasterStringFindCheck.h
1458  ForRangeCopyCheck.h
1459  ImplicitConversionInLoopCheck.h
1460  InefficientAlgorithmCheck.h
1461  InefficientStringConcatenationCheck.h
1462  InefficientVectorOperationCheck.h
1463  MoveConstArgCheck.h
1464  MoveConstructorInitCheck.h
1465  NoAutomaticMoveCheck.h
1466  NoIntToPtrCheck.h
1467  NoexceptMoveConstructorCheck.h
1468  TriviallyDestructibleCheck.h
1469  TypePromotionInMathFnCheck.h
1470  UnnecessaryCopyInitialization.h
1471  UnnecessaryValueParamCheck.h
1472 %%NAMEBASE%%/include/clang-tidy/portability/
1473  RestrictSystemIncludesCheck.h
1474  SIMDIntrinsicsCheck.h
1475 %%NAMEBASE%%/include/clang-tidy/readability/
1476  AvoidConstParamsInDecls.h
1477  BracesAroundStatementsCheck.h
1478  ConstReturnTypeCheck.h
1479  ContainerSizeEmptyCheck.h
1480  ConvertMemberFunctionsToStatic.h
1481  DeleteNullPointerCheck.h
1482  ElseAfterReturnCheck.h
1483  FunctionCognitiveComplexityCheck.h
1484  FunctionSizeCheck.h
1485  IdentifierNamingCheck.h
1486  ImplicitBoolConversionCheck.h
1487  InconsistentDeclarationParameterNameCheck.h
1488  IsolateDeclarationCheck.h
1489  MagicNumbersCheck.h
1490  MakeMemberFunctionConstCheck.h
1491  MisleadingIndentationCheck.h
1492  MisplacedArrayIndexCheck.h
1493  NamedParameterCheck.h
1494  NamespaceCommentCheck.h
1495  NonConstParameterCheck.h
1496  QualifiedAutoCheck.h
1497  RedundantAccessSpecifiersCheck.h
1498  RedundantControlFlowCheck.h
1499  RedundantDeclarationCheck.h
1500  RedundantFunctionPtrDereferenceCheck.h
1501  RedundantMemberInitCheck.h
1502  RedundantPreprocessorCheck.h
1503  RedundantSmartptrGetCheck.h
1504  RedundantStringCStrCheck.h
1505  RedundantStringInitCheck.h
1506  SimplifyBooleanExprCheck.h
1507  SimplifySubscriptExprCheck.h
1508  StaticAccessedThroughInstanceCheck.h
1509  StaticDefinitionInAnonymousNamespaceCheck.h
1510  StringCompareCheck.h
1511  SuspiciousCallArgumentCheck.h
1512  UniqueptrDeleteReleaseCheck.h
1513  UppercaseLiteralSuffixCheck.h
1514  UseAnyOfAllOfCheck.h
1515 %%NAMEBASE%%/include/clang-tidy/tool/ClangTidyMain.h
1516 %%NAMEBASE%%/include/clang-tidy/utils/
1517  ASTUtils.h
1518  Aliasing.h
1519  DeclRefExprUtils.h
1520  ExceptionAnalyzer.h
1521  ExprSequence.h
1522  FileExtensionsUtils.h
1523  FixItHintUtils.h
1524  HeaderGuard.h
1525  IncludeInserter.h
1526  IncludeSorter.h
1527  LexerUtils.h
1528  Matchers.h
1529  NamespaceAliaser.h
1530  OptionsUtils.h
1531  RenamerClangTidyCheck.h
1532  TransformerClangTidyCheck.h
1533  TypeTraits.h
1534  UsingInserter.h
1535 %%NAMEBASE%%/include/clang-tidy/zircon/TemporaryObjectsCheck.h
1536 %%NAMEBASE%%/lib/
1537  libclangApplyReplacements.a
1538  libclangChangeNamespace.a
1539  libclangDoc.a
1540  libclangIncludeFixer.a
1541  libclangIncludeFixerPlugin.a
1542  libclangMove.a
1543  libclangQuery.a
1544  libclangReorderFields.a
1545  libclangTidy.a
1546  libclangTidyAbseilModule.a
1547  libclangTidyAlteraModule.a
1548  libclangTidyAndroidModule.a
1549  libclangTidyBoostModule.a
1550  libclangTidyBugproneModule.a
1551  libclangTidyCERTModule.a
1552  libclangTidyConcurrencyModule.a
1553  libclangTidyCppCoreGuidelinesModule.a
1554  libclangTidyDarwinModule.a
1555  libclangTidyFuchsiaModule.a
1556  libclangTidyGoogleModule.a
1557  libclangTidyHICPPModule.a
1558  libclangTidyLLVMLibcModule.a
1559  libclangTidyLLVMModule.a
1560  libclangTidyLinuxKernelModule.a
1561  libclangTidyMPIModule.a
1562  libclangTidyMain.a
1563  libclangTidyMiscModule.a
1564  libclangTidyModernizeModule.a
1565  libclangTidyObjCModule.a
1566  libclangTidyOpenMPModule.a
1567  libclangTidyPerformanceModule.a
1568  libclangTidyPlugin.a
1569  libclangTidyPortabilityModule.a
1570  libclangTidyReadabilityModule.a
1571  libclangTidyUtils.a
1572  libclangTidyZirconModule.a
1573  libfindAllSymbols.a
1574 %%NAMEBASE%%/lib/libear/
1575  __init__.py
1576  config.h.in
1577  ear.c
1578 %%NAMEBASE%%/lib/libscanbuild/
1579  __init__.py
1580  analyze.py
1581  arguments.py
1582  clang.py
1583  compilation.py
1584  intercept.py
1585  report.py
1586  shell.py
1587 %%NAMEBASE%%/lib/libscanbuild/resources/
1588  scanview.css
1589  selectable.js
1590  sorttable.js
1591 %%NAMEBASE%%/share/clang/
1592  clang-doc-default-stylesheet.css
1593  clang-include-fixer.el
1594  clang-include-fixer.py
1595  clang-tidy-diff.py
1596  index.js
1597  run-find-all-symbols.py
1598
1599
1600 [FILE:138:manifests/plist.dynlibs]
1601 %%NAMEBASE%%/lib/
1602  libclang-cpp.so
1603  libclang-cpp.so.%%LLVM_MAJOR%%
1604  libclang.so
1605  libclang.so.%%LLVM_MAJOR%%
1606  libclang.so.%%LLVM_RELEASE%%
1607
1608
1609 [FILE:2904:patches/patch-lib_Driver_ToolChains_DragonFly.cpp]
1610 --- lib/Driver/ToolChains/DragonFly.cpp.orig    2022-01-20 21:31:59 UTC
1611 +++ lib/Driver/ToolChains/DragonFly.cpp
1612 @@ -71,7 +71,7 @@ void dragonfly::Linker::ConstructJob(Com
1613        CmdArgs.push_back("-Bshareable");
1614      else {
1615        CmdArgs.push_back("-dynamic-linker");
1616 -      CmdArgs.push_back("/usr/libexec/ld-elf.so.2");
1617 +      CmdArgs.push_back("/libexec/ld-elf.so.2");
1618      }
1619      CmdArgs.push_back("--hash-style=gnu");
1620      CmdArgs.push_back("--enable-new-dtags");
1621 @@ -114,19 +114,28 @@ void dragonfly::Linker::ConstructJob(Com
1622            Args.MakeArgString(getToolChain().GetFilePath("crtbegin.o")));
1623    }
1624  
1625 +  if (D.isUsingLTO()) {
1626 +    assert(!Inputs.empty() && "Must have at least one input.");
1627 +    addLTOOptions(getToolChain(), Args, CmdArgs, Output, Inputs[0],
1628 +                  D.getLTOMode() == LTOK_Thin);
1629 +  }
1630 +
1631    Args.AddAllArgs(CmdArgs,
1632                    {options::OPT_L, options::OPT_T_Group, options::OPT_e});
1633  
1634    AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA);
1635  
1636 -  if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) {
1637 -    CmdArgs.push_back("-L/usr/lib/gcc80");
1638 +  CmdArgs.push_back("-L@RAVEN_GCC@");
1639 +  CmdArgs.push_back("-L@LOCALBASE@/lib");
1640  
1641 -    if (!Args.hasArg(options::OPT_static)) {
1642 -      CmdArgs.push_back("-rpath");
1643 -      CmdArgs.push_back("/usr/lib/gcc80");
1644 -    }
1645 +  if (!Args.hasArg(options::OPT_static)) {
1646 +    CmdArgs.push_back("-rpath");
1647 +    CmdArgs.push_back("@RAVEN_GCC@");
1648 +    CmdArgs.push_back("-rpath");
1649 +    CmdArgs.push_back("@LOCALBASE@/lib");
1650 +  }
1651  
1652 +  if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) {
1653      if (D.CCCIsCXX()) {
1654        if (getToolChain().ShouldLinkCXXStdlib(Args))
1655          getToolChain().AddCXXStdlibLibArgs(Args, CmdArgs);
1656 @@ -145,16 +154,7 @@ void dragonfly::Linker::ConstructJob(Com
1657          CmdArgs.push_back("-lgcc");
1658          CmdArgs.push_back("-lgcc_eh");
1659      } else {
1660 -      if (Args.hasArg(options::OPT_shared_libgcc)) {
1661 -          CmdArgs.push_back("-lgcc_pic");
1662 -          if (!Args.hasArg(options::OPT_shared))
1663 -            CmdArgs.push_back("-lgcc");
1664 -      } else {
1665 -          CmdArgs.push_back("-lgcc");
1666 -          CmdArgs.push_back("--as-needed");
1667 -          CmdArgs.push_back("-lgcc_pic");
1668 -          CmdArgs.push_back("--no-as-needed");
1669 -      }
1670 +      CmdArgs.push_back("-lgcc_s");
1671      }
1672    }
1673  
1674 @@ -189,7 +189,8 @@ DragonFly::DragonFly(const Driver &D, co
1675  
1676    getFilePaths().push_back(getDriver().Dir + "/../lib");
1677    getFilePaths().push_back("/usr/lib");
1678 -  getFilePaths().push_back("/usr/lib/gcc80");
1679 +  getFilePaths().push_back("@RAVEN_GCC@");
1680 +  getFilePaths().push_back("@RAVEN_GCC_TARGET@");
1681  }
1682  
1683  Tool *DragonFly::buildAssembler() const {
1684 @@ -199,3 +200,5 @@ Tool *DragonFly::buildAssembler() const
1685  Tool *DragonFly::buildLinker() const {
1686    return new tools::dragonfly::Linker(*this);
1687  }
1688 +
1689 +bool DragonFly::HasNativeLLVMSupport() const { return true; }
1690
1691
1692 [FILE:389:patches/patch-lib_Driver_ToolChains_DragonFly.h]
1693 --- lib/Driver/ToolChains/DragonFly.h.orig      2022-01-20 21:31:59 UTC
1694 +++ lib/Driver/ToolChains/DragonFly.h
1695 @@ -52,6 +52,7 @@ class LLVM_LIBRARY_VISIBILITY DragonFly
1696  public:
1697    DragonFly(const Driver &D, const llvm::Triple &Triple,
1698              const llvm::opt::ArgList &Args);
1699 +  bool HasNativeLLVMSupport() const override;
1700  
1701    bool IsMathErrnoDefault() const override { return false; }
1702  
1703
1704
1705 [FILE:1270:patches/patch-lib_Driver_ToolChains_FreeBSD.cpp]
1706 --- lib/Driver/ToolChains/FreeBSD.cpp.orig      2022-01-20 21:31:59 UTC
1707 +++ lib/Driver/ToolChains/FreeBSD.cpp
1708 @@ -293,6 +293,16 @@ void freebsd::Linker::ConstructJob(Compi
1709    addLinkerCompressDebugSectionsOption(ToolChain, Args, CmdArgs);
1710    AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA);
1711  
1712 +  CmdArgs.push_back("-L@RAVEN_GCC@");
1713 +  CmdArgs.push_back("-L@LOCALBASE@/lib");
1714 +
1715 +  if (!Args.hasArg(options::OPT_static)) {
1716 +    CmdArgs.push_back("-rpath");
1717 +    CmdArgs.push_back("@RAVEN_GCC@");
1718 +    CmdArgs.push_back("-rpath");
1719 +    CmdArgs.push_back("@LOCALBASE@/lib");
1720 +  }
1721 +
1722    bool Profiling = Args.hasArg(options::OPT_pg) &&
1723                     ToolChain.getTriple().getOSMajorVersion() < 14;
1724    if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs)) {
1725 @@ -388,11 +398,11 @@ FreeBSD::FreeBSD(const Driver &D, const
1726      getFilePaths().push_back(getDriver().SysRoot + "/usr/lib32");
1727    else
1728      getFilePaths().push_back(getDriver().SysRoot + "/usr/lib");
1729 +    getFilePaths().push_back("@RAVEN_GCC@");
1730 +    getFilePaths().push_back("@RAVEN_GCC_TARGET@");
1731  }
1732  
1733  ToolChain::CXXStdlibType FreeBSD::GetDefaultCXXStdlibType() const {
1734 -  if (getTriple().getOSMajorVersion() >= 10)
1735 -    return ToolChain::CST_Libcxx;
1736    return ToolChain::CST_Libstdcxx;
1737  }
1738  
1739
1740
1741 [FILE:642:patches/patch-lib_Driver_ToolChains_Gnu.cpp]
1742 --- lib/Driver/ToolChains/Gnu.cpp.orig  2022-01-20 21:31:59 UTC
1743 +++ lib/Driver/ToolChains/Gnu.cpp
1744 @@ -484,6 +484,9 @@ void tools::gnutools::Linker::ConstructJ
1745    }
1746  
1747    if (!IsStatic) {
1748 +    CmdArgs.push_back("-rpath");
1749 +    CmdArgs.push_back("@RAVEN_GCC@");
1750 +
1751      if (Args.hasArg(options::OPT_rdynamic))
1752        CmdArgs.push_back("-export-dynamic");
1753  
1754 @@ -590,6 +593,8 @@ void tools::gnutools::Linker::ConstructJ
1755  
1756    if (!Args.hasArg(options::OPT_nostdlib)) {
1757      if (!Args.hasArg(options::OPT_nodefaultlibs)) {
1758 +      CmdArgs.push_back("-L@RAVEN_GCC@");
1759 +
1760        if (IsStatic || IsStaticPIE)
1761          CmdArgs.push_back("--start-group");
1762  
1763
1764
1765 [FILE:1137:patches/patch-lib_Frontend_InitHeaderSearch.cpp]
1766 --- lib/Frontend/InitHeaderSearch.cpp.orig      2022-01-20 21:31:59 UTC
1767 +++ lib/Frontend/InitHeaderSearch.cpp
1768 @@ -226,7 +226,6 @@ void InitHeaderSearch::AddDefaultCInclud
1769    if (HSOpts.UseStandardSystemIncludes) {
1770      switch (os) {
1771      case llvm::Triple::CloudABI:
1772 -    case llvm::Triple::FreeBSD:
1773      case llvm::Triple::NetBSD:
1774      case llvm::Triple::OpenBSD:
1775      case llvm::Triple::NaCl:
1776 @@ -402,8 +401,15 @@ void InitHeaderSearch::AddDefaultCPlusPl
1777        break;
1778      }
1779      break;
1780 +  case llvm::Triple::FreeBSD:
1781 +    AddPath("@RAVEN_GXX_HEADERS_DIR@", CXXSystem, false);
1782 +    AddPath("@RAVEN_GXX_HEADERS_DIR@/backward", CXXSystem, false);
1783 +    AddPath("@RAVEN_GXX_HEADERS_DIR@/" + triple.getTriple(), CXXSystem, false);
1784 +    break;
1785    case llvm::Triple::DragonFly:
1786 -    AddPath("/usr/include/c++/5.0", CXXSystem, false);
1787 +    AddPath("@RAVEN_GXX_HEADERS_DIR@", CXXSystem, false);
1788 +    AddPath("@RAVEN_GXX_HEADERS_DIR@/backward", CXXSystem, false);
1789 +    AddPath("@RAVEN_GXX_HEADERS_DIR@/" + triple.getTriple(), CXXSystem, false);
1790      break;
1791    case llvm::Triple::Minix:
1792      AddGnuCPlusPlusIncludePaths("/usr/gnu/include/c++/4.4.3",
1793
1794
1795 [FILE:597:patches/patch-lib_Frontend_InitPreprocessor.cpp]
1796 --- lib/Frontend/InitPreprocessor.cpp.orig      2022-01-20 21:31:59 UTC
1797 +++ lib/Frontend/InitPreprocessor.cpp
1798 @@ -661,7 +661,8 @@ static void InitializePredefinedMacros(c
1799      Builder.defineMacro("__GNUC__", Twine(GNUCMajor));
1800      Builder.defineMacro("__GNUC_MINOR__", Twine(GNUCMinor));
1801      Builder.defineMacro("__GNUC_PATCHLEVEL__", Twine(GNUCPatch));
1802 -    Builder.defineMacro("__GXX_ABI_VERSION", "1002");
1803 +    // match ABI of Ravenports GCC compiler
1804 +    Builder.defineMacro("__GXX_ABI_VERSION", "1013");
1805  
1806      if (LangOpts.CPlusPlus) {
1807        Builder.defineMacro("__GNUG__", Twine(GNUCMajor));
1808
1809
1810 [FILE:601:patches/patch-lib_Interpreter_IncrementalParser.cpp]
1811 --- lib/Interpreter/IncrementalParser.cpp.orig  2022-01-20 21:31:59 UTC
1812 +++ lib/Interpreter/IncrementalParser.cpp
1813 @@ -53,7 +53,11 @@ public:
1814            switch (CI.getFrontendOpts().ProgramAction) {
1815            default:
1816              Err = llvm::createStringError(
1817 +#if defined __DragonFly__ || defined __NetBSD__
1818 +                std::errc::operation_not_supported,
1819 +#else
1820                  std::errc::state_not_recoverable,
1821 +#endif
1822                  "Driver initialization failed. "
1823                  "Incremental mode for action %d is not supported",
1824                  CI.getFrontendOpts().ProgramAction);
1825
1826
1827 [FILE:2649:patches/patch-lib_Interpreter_Interpreter.cpp]
1828 --- lib/Interpreter/Interpreter.cpp.orig        2022-01-20 21:31:59 UTC
1829 +++ lib/Interpreter/Interpreter.cpp
1830 @@ -47,14 +47,22 @@ GetCC1Arguments(DiagnosticsEngine *Diagn
1831    // failed. Extract that job from the Compilation.
1832    const driver::JobList &Jobs = Compilation->getJobs();
1833    if (!Jobs.size() || !isa<driver::Command>(*Jobs.begin()))
1834 +#if defined __DragonFly__ || defined __NetBSD__
1835 +    return llvm::createStringError(std::errc::operation_not_supported,
1836 +#else
1837      return llvm::createStringError(std::errc::state_not_recoverable,
1838 +#endif
1839                                     "Driver initialization failed. "
1840                                     "Unable to create a driver job");
1841  
1842    // The one job we find should be to invoke clang again.
1843    const driver::Command *Cmd = cast<driver::Command>(&(*Jobs.begin()));
1844    if (llvm::StringRef(Cmd->getCreator().getName()) != "clang")
1845 +#if defined __DragonFly__ || defined __NetBSD__
1846 +    return llvm::createStringError(std::errc::operation_not_supported,
1847 +#else
1848      return llvm::createStringError(std::errc::state_not_recoverable,
1849 +#endif
1850                                     "Driver initialization failed");
1851  
1852    return &Cmd->getArguments();
1853 @@ -89,13 +97,21 @@ CreateCI(const llvm::opt::ArgStringList
1854    // Create the actual diagnostics engine.
1855    Clang->createDiagnostics();
1856    if (!Clang->hasDiagnostics())
1857 +#if defined __DragonFly__ || defined __NetBSD__
1858 +    return llvm::createStringError(std::errc::operation_not_supported,
1859 +#else
1860      return llvm::createStringError(std::errc::state_not_recoverable,
1861 +#endif
1862                                     "Initialization failed. "
1863                                     "Unable to create diagnostics engine");
1864  
1865    DiagsBuffer->FlushDiagnostics(Clang->getDiagnostics());
1866    if (!Success)
1867 +#if defined __DragonFly__ || defined __NetBSD__
1868 +    return llvm::createStringError(std::errc::operation_not_supported,
1869 +#else
1870      return llvm::createStringError(std::errc::state_not_recoverable,
1871 +#endif
1872                                     "Initialization failed. "
1873                                     "Unable to flush diagnostics");
1874  
1875 @@ -106,7 +122,11 @@ CreateCI(const llvm::opt::ArgStringList
1876    Clang->setTarget(TargetInfo::CreateTargetInfo(
1877        Clang->getDiagnostics(), Clang->getInvocation().TargetOpts));
1878    if (!Clang->hasTarget())
1879 +#if defined __DragonFly__ || defined __NetBSD__
1880 +    return llvm::createStringError(std::errc::operation_not_supported,
1881 +#else
1882      return llvm::createStringError(std::errc::state_not_recoverable,
1883 +#endif
1884                                     "Initialization failed. "
1885                                     "Target is missing");
1886  
1887