xref: /freebsd/lib/clang/libclang/Makefile (revision f5f40dd63bc7acbb5312b26ac1ea1103c12352a6)
1
2.include <bsd.init.mk>
3.include "../clang.pre.mk"
4
5LIB=		clang
6
7CFLAGS+=	-I${.OBJDIR}
8CFLAGS+=	-I${OBJTOP}/lib/clang/libllvm
9CFLAGS+=	-I${CLANG_SRCS}/lib/Basic
10CFLAGS+=	-I${CLANG_SRCS}/lib/Driver
11CFLAGS+=	-I${CLANG_SRCS}/lib/CodeGen
12
13# Ensure FREEBSD_CC_VERSION is defined for Basic/Targets.cpp
14CFLAGS.Targets.cpp+= -include ../freebsd_cc_version.h
15
16# Work around GCC bug 67888
17.if ${COMPILER_TYPE} == "gcc"
18CXXFLAGS.Module.cpp+= -fpermissive
19.endif
20
21SRCDIR=		clang/lib
22
23# Explanation of different SRCS variants below:
24# SRCS_MIN:	always required, even for bootstrap
25# SRCS_EXT:	required for MK_CLANG_EXTRAS || MK_CLANG_FORMAT
26# SRCS_FUL:	required for MK_CLANG_FULL
27# SRCS_LDB:	required for MK_LLDB
28
29SRCS_MIN+=	APINotes/APINotesManager.cpp
30SRCS_MIN+=	APINotes/APINotesReader.cpp
31SRCS_MIN+=	APINotes/APINotesWriter.cpp
32SRCS_MIN+=	APINotes/APINotesYAMLCompiler.cpp
33SRCS_FUL+=	ARCMigrate/ARCMT.cpp
34SRCS_FUL+=	ARCMigrate/ARCMTActions.cpp
35SRCS_FUL+=	ARCMigrate/FileRemapper.cpp
36SRCS_FUL+=	ARCMigrate/ObjCMT.cpp
37SRCS_FUL+=	ARCMigrate/PlistReporter.cpp
38SRCS_FUL+=	ARCMigrate/TransAPIUses.cpp
39SRCS_FUL+=	ARCMigrate/TransARCAssign.cpp
40SRCS_FUL+=	ARCMigrate/TransAutoreleasePool.cpp
41SRCS_FUL+=	ARCMigrate/TransBlockObjCVariable.cpp
42SRCS_FUL+=	ARCMigrate/TransEmptyStatementsAndDealloc.cpp
43SRCS_FUL+=	ARCMigrate/TransGCAttrs.cpp
44SRCS_FUL+=	ARCMigrate/TransGCCalls.cpp
45SRCS_FUL+=	ARCMigrate/TransProperties.cpp
46SRCS_FUL+=	ARCMigrate/TransProtectedScope.cpp
47SRCS_FUL+=	ARCMigrate/TransRetainReleaseDealloc.cpp
48SRCS_FUL+=	ARCMigrate/TransUnbridgedCasts.cpp
49SRCS_FUL+=	ARCMigrate/TransUnusedInitDelegate.cpp
50SRCS_FUL+=	ARCMigrate/TransZeroOutPropsInDealloc.cpp
51SRCS_FUL+=	ARCMigrate/TransformActions.cpp
52SRCS_FUL+=	ARCMigrate/Transforms.cpp
53SRCS_MIN+=	AST/APValue.cpp
54SRCS_MIN+=	AST/ASTConcept.cpp
55SRCS_MIN+=	AST/ASTConsumer.cpp
56SRCS_MIN+=	AST/ASTContext.cpp
57SRCS_MIN+=	AST/ASTDiagnostic.cpp
58SRCS_MIN+=	AST/ASTDumper.cpp
59SRCS_MIN+=	AST/ASTImporter.cpp
60SRCS_MIN+=	AST/ASTImporterLookupTable.cpp
61SRCS_MIN+=	AST/ASTStructuralEquivalence.cpp
62SRCS_MIN+=	AST/ASTTypeTraits.cpp
63SRCS_MIN+=	AST/AttrImpl.cpp
64SRCS_MIN+=	AST/CXXInheritance.cpp
65SRCS_MIN+=	AST/Comment.cpp
66SRCS_MIN+=	AST/CommentBriefParser.cpp
67SRCS_MIN+=	AST/CommentCommandTraits.cpp
68SRCS_MIN+=	AST/CommentLexer.cpp
69SRCS_MIN+=	AST/CommentParser.cpp
70SRCS_MIN+=	AST/CommentSema.cpp
71SRCS_MIN+=	AST/ComparisonCategories.cpp
72SRCS_MIN+=	AST/ComputeDependence.cpp
73SRCS_FUL+=	AST/DataCollection.cpp
74SRCS_MIN+=	AST/Decl.cpp
75SRCS_MIN+=	AST/DeclBase.cpp
76SRCS_MIN+=	AST/DeclCXX.cpp
77SRCS_MIN+=	AST/DeclFriend.cpp
78SRCS_MIN+=	AST/DeclGroup.cpp
79SRCS_MIN+=	AST/DeclObjC.cpp
80SRCS_MIN+=	AST/DeclOpenMP.cpp
81SRCS_MIN+=	AST/DeclPrinter.cpp
82SRCS_MIN+=	AST/DeclTemplate.cpp
83SRCS_MIN+=	AST/DeclarationName.cpp
84SRCS_MIN+=	AST/Expr.cpp
85SRCS_MIN+=	AST/ExprCXX.cpp
86SRCS_MIN+=	AST/ExprClassification.cpp
87SRCS_MIN+=	AST/ExprConcepts.cpp
88SRCS_MIN+=	AST/ExprConstant.cpp
89SRCS_MIN+=	AST/ExprObjC.cpp
90SRCS_LDB+=	AST/ExternalASTMerger.cpp
91SRCS_MIN+=	AST/ExternalASTSource.cpp
92SRCS_MIN+=	AST/FormatString.cpp
93SRCS_MIN+=	AST/InheritViz.cpp
94SRCS_MIN+=	AST/Interp/ByteCodeEmitter.cpp
95SRCS_MIN+=	AST/Interp/ByteCodeExprGen.cpp
96SRCS_MIN+=	AST/Interp/ByteCodeGenError.cpp
97SRCS_MIN+=	AST/Interp/ByteCodeStmtGen.cpp
98SRCS_MIN+=	AST/Interp/Context.cpp
99SRCS_MIN+=	AST/Interp/Descriptor.cpp
100SRCS_MIN+=	AST/Interp/EvalEmitter.cpp
101SRCS_MIN+=	AST/Interp/EvaluationResult.cpp
102SRCS_MIN+=	AST/Interp/Floating.cpp
103SRCS_MIN+=	AST/Interp/Frame.cpp
104SRCS_MIN+=	AST/Interp/Function.cpp
105SRCS_MIN+=	AST/Interp/Interp.cpp
106SRCS_MIN+=	AST/Interp/InterpBlock.cpp
107SRCS_MIN+=	AST/Interp/InterpBuiltin.cpp
108SRCS_MIN+=	AST/Interp/InterpFrame.cpp
109SRCS_MIN+=	AST/Interp/InterpStack.cpp
110SRCS_MIN+=	AST/Interp/InterpState.cpp
111SRCS_MIN+=	AST/Interp/Pointer.cpp
112SRCS_MIN+=	AST/Interp/PrimType.cpp
113SRCS_MIN+=	AST/Interp/Program.cpp
114SRCS_MIN+=	AST/Interp/Record.cpp
115SRCS_MIN+=	AST/Interp/Source.cpp
116SRCS_MIN+=	AST/Interp/State.cpp
117SRCS_MIN+=	AST/ItaniumCXXABI.cpp
118SRCS_MIN+=	AST/ItaniumMangle.cpp
119SRCS_MIN+=	AST/JSONNodeDumper.cpp
120SRCS_MIN+=	AST/Mangle.cpp
121SRCS_MIN+=	AST/MicrosoftCXXABI.cpp
122SRCS_MIN+=	AST/MicrosoftMangle.cpp
123SRCS_MIN+=	AST/NSAPI.cpp
124SRCS_MIN+=	AST/NestedNameSpecifier.cpp
125SRCS_MIN+=	AST/ODRDiagsEmitter.cpp
126SRCS_MIN+=	AST/ODRHash.cpp
127SRCS_MIN+=	AST/OSLog.cpp
128SRCS_MIN+=	AST/OpenMPClause.cpp
129SRCS_MIN+=	AST/ParentMap.cpp
130SRCS_MIN+=	AST/ParentMapContext.cpp
131SRCS_MIN+=	AST/PrintfFormatString.cpp
132SRCS_MIN+=	AST/QualTypeNames.cpp
133SRCS_MIN+=	AST/Randstruct.cpp
134SRCS_MIN+=	AST/RawCommentList.cpp
135SRCS_MIN+=	AST/RecordLayout.cpp
136SRCS_MIN+=	AST/RecordLayoutBuilder.cpp
137SRCS_MIN+=	AST/ScanfFormatString.cpp
138SRCS_MIN+=	AST/SelectorLocationsKind.cpp
139SRCS_MIN+=	AST/Stmt.cpp
140SRCS_MIN+=	AST/StmtCXX.cpp
141SRCS_MIN+=	AST/StmtIterator.cpp
142SRCS_MIN+=	AST/StmtObjC.cpp
143SRCS_MIN+=	AST/StmtOpenMP.cpp
144SRCS_MIN+=	AST/StmtPrinter.cpp
145SRCS_MIN+=	AST/StmtProfile.cpp
146SRCS_MIN+=	AST/StmtViz.cpp
147SRCS_MIN+=	AST/TemplateBase.cpp
148SRCS_MIN+=	AST/TemplateName.cpp
149SRCS_MIN+=	AST/TextNodeDumper.cpp
150SRCS_MIN+=	AST/Type.cpp
151SRCS_MIN+=	AST/TypeLoc.cpp
152SRCS_MIN+=	AST/TypePrinter.cpp
153SRCS_MIN+=	AST/VTTBuilder.cpp
154SRCS_MIN+=	AST/VTableBuilder.cpp
155SRCS_MIN+=	ASTMatchers/ASTMatchFinder.cpp
156SRCS_MIN+=	ASTMatchers/ASTMatchersInternal.cpp
157SRCS_MIN+=	ASTMatchers/Dynamic/Diagnostics.cpp
158SRCS_MIN+=	ASTMatchers/Dynamic/Registry.cpp
159SRCS_MIN+=	Analysis/AnalysisDeclContext.cpp
160SRCS_MIN+=	Analysis/BodyFarm.cpp
161SRCS_MIN+=	Analysis/CFG.cpp
162SRCS_MIN+=	Analysis/CFGReachabilityAnalysis.cpp
163SRCS_MIN+=	Analysis/CFGStmtMap.cpp
164SRCS_FUL+=	Analysis/CallGraph.cpp
165SRCS_MIN+=	Analysis/CalledOnceCheck.cpp
166SRCS_MIN+=	Analysis/CloneDetection.cpp
167SRCS_MIN+=	Analysis/CocoaConventions.cpp
168SRCS_FUL+=	Analysis/CodeInjector.cpp
169SRCS_MIN+=	Analysis/ConstructionContext.cpp
170SRCS_MIN+=	Analysis/Consumed.cpp
171SRCS_FUL+=	Analysis/Dominators.cpp
172SRCS_MIN+=	Analysis/ExprMutationAnalyzer.cpp
173SRCS_FUL+=	Analysis/IssueHash.cpp
174SRCS_MIN+=	Analysis/LiveVariables.cpp
175SRCS_FUL+=	Analysis/MacroExpansionContext.cpp
176SRCS_MIN+=	Analysis/ObjCNoReturn.cpp
177SRCS_FUL+=	Analysis/PathDiagnostic.cpp
178SRCS_MIN+=	Analysis/PostOrderCFGView.cpp
179SRCS_FUL+=	Analysis/ProgramPoint.cpp
180SRCS_MIN+=	Analysis/ReachableCode.cpp
181SRCS_FUL+=	Analysis/RetainSummaryManager.cpp
182SRCS_MIN+=	Analysis/ThreadSafety.cpp
183SRCS_MIN+=	Analysis/ThreadSafetyCommon.cpp
184SRCS_MIN+=	Analysis/ThreadSafetyTIL.cpp
185SRCS_MIN+=	Analysis/UninitializedValues.cpp
186SRCS_MIN+=	Analysis/UnsafeBufferUsage.cpp
187SRCS_MIN+=	Basic/Attributes.cpp
188SRCS_MIN+=	Basic/Builtins.cpp
189SRCS_MIN+=	Basic/CLWarnings.cpp
190SRCS_MIN+=	Basic/CharInfo.cpp
191SRCS_MIN+=	Basic/CodeGenOptions.cpp
192SRCS_MIN+=	Basic/Cuda.cpp
193SRCS_MIN+=	Basic/DarwinSDKInfo.cpp
194SRCS_MIN+=	Basic/Diagnostic.cpp
195SRCS_MIN+=	Basic/DiagnosticIDs.cpp
196SRCS_MIN+=	Basic/DiagnosticOptions.cpp
197SRCS_MIN+=	Basic/ExpressionTraits.cpp
198SRCS_MIN+=	Basic/FileEntry.cpp
199SRCS_MIN+=	Basic/FileManager.cpp
200SRCS_MIN+=	Basic/FileSystemStatCache.cpp
201SRCS_MIN+=	Basic/IdentifierTable.cpp
202SRCS_MIN+=	Basic/LangOptions.cpp
203SRCS_MIN+=	Basic/LangStandards.cpp
204SRCS_MIN+=	Basic/MakeSupport.cpp
205SRCS_MIN+=	Basic/Module.cpp
206SRCS_MIN+=	Basic/NoSanitizeList.cpp
207SRCS_MIN+=	Basic/ObjCRuntime.cpp
208SRCS_MIN+=	Basic/OpenCLOptions.cpp
209SRCS_MIN+=	Basic/OpenMPKinds.cpp
210SRCS_MIN+=	Basic/OperatorPrecedence.cpp
211SRCS_MIN+=	Basic/ParsedAttrInfo.cpp
212SRCS_MIN+=	Basic/ProfileList.cpp
213SRCS_MIN+=	Basic/SanitizerSpecialCaseList.cpp
214SRCS_MIN+=	Basic/Sanitizers.cpp
215SRCS_MIN+=	Basic/Sarif.cpp
216SRCS_MIN+=	Basic/SourceLocation.cpp
217SRCS_MIN+=	Basic/SourceManager.cpp
218SRCS_MIN+=	Basic/SourceMgrAdapter.cpp
219SRCS_MIN+=	Basic/Stack.cpp
220SRCS_MIN+=	Basic/TargetID.cpp
221SRCS_MIN+=	Basic/TargetInfo.cpp
222SRCS_MIN+=	Basic/Targets.cpp
223SRCS_MIN+=	Basic/Targets/AArch64.cpp
224SRCS_MIN+=	Basic/Targets/AMDGPU.cpp
225SRCS_MIN+=	Basic/Targets/ARC.cpp
226SRCS_MIN+=	Basic/Targets/ARM.cpp
227SRCS_MIN+=	Basic/Targets/AVR.cpp
228SRCS_MIN+=	Basic/Targets/BPF.cpp
229SRCS_MIN+=	Basic/Targets/CSKY.cpp
230SRCS_MIN+=	Basic/Targets/DirectX.cpp
231SRCS_MIN+=	Basic/Targets/Hexagon.cpp
232SRCS_MIN+=	Basic/Targets/Lanai.cpp
233SRCS_MIN+=	Basic/Targets/Le64.cpp
234SRCS_MIN+=	Basic/Targets/LoongArch.cpp
235SRCS_MIN+=	Basic/Targets/M68k.cpp
236SRCS_MIN+=	Basic/Targets/MSP430.cpp
237SRCS_MIN+=	Basic/Targets/Mips.cpp
238SRCS_MIN+=	Basic/Targets/NVPTX.cpp
239SRCS_MIN+=	Basic/Targets/OSTargets.cpp
240SRCS_MIN+=	Basic/Targets/PNaCl.cpp
241SRCS_MIN+=	Basic/Targets/PPC.cpp
242SRCS_MIN+=	Basic/Targets/RISCV.cpp
243SRCS_MIN+=	Basic/Targets/SPIR.cpp
244SRCS_MIN+=	Basic/Targets/Sparc.cpp
245SRCS_MIN+=	Basic/Targets/SystemZ.cpp
246SRCS_MIN+=	Basic/Targets/TCE.cpp
247SRCS_MIN+=	Basic/Targets/VE.cpp
248SRCS_MIN+=	Basic/Targets/WebAssembly.cpp
249SRCS_MIN+=	Basic/Targets/X86.cpp
250SRCS_MIN+=	Basic/Targets/XCore.cpp
251SRCS_MIN+=	Basic/TokenKinds.cpp
252SRCS_MIN+=	Basic/TypeTraits.cpp
253SRCS_MIN+=	Basic/Version.cpp
254SRCS_MIN+=	Basic/Warnings.cpp
255SRCS_MIN+=	Basic/XRayInstr.cpp
256SRCS_MIN+=	Basic/XRayLists.cpp
257SRCS_MIN+=	CodeGen/ABIInfo.cpp
258SRCS_MIN+=	CodeGen/ABIInfoImpl.cpp
259SRCS_MIN+=	CodeGen/BackendUtil.cpp
260SRCS_MIN+=	CodeGen/CGAtomic.cpp
261SRCS_MIN+=	CodeGen/CGBlocks.cpp
262SRCS_MIN+=	CodeGen/CGBuiltin.cpp
263SRCS_MIN+=	CodeGen/CGCUDANV.cpp
264SRCS_MIN+=	CodeGen/CGCUDARuntime.cpp
265SRCS_MIN+=	CodeGen/CGCXX.cpp
266SRCS_MIN+=	CodeGen/CGCXXABI.cpp
267SRCS_MIN+=	CodeGen/CGCall.cpp
268SRCS_MIN+=	CodeGen/CGClass.cpp
269SRCS_MIN+=	CodeGen/CGCleanup.cpp
270SRCS_MIN+=	CodeGen/CGCoroutine.cpp
271SRCS_MIN+=	CodeGen/CGDebugInfo.cpp
272SRCS_MIN+=	CodeGen/CGDecl.cpp
273SRCS_MIN+=	CodeGen/CGDeclCXX.cpp
274SRCS_MIN+=	CodeGen/CGException.cpp
275SRCS_MIN+=	CodeGen/CGExpr.cpp
276SRCS_MIN+=	CodeGen/CGExprAgg.cpp
277SRCS_MIN+=	CodeGen/CGExprCXX.cpp
278SRCS_MIN+=	CodeGen/CGExprComplex.cpp
279SRCS_MIN+=	CodeGen/CGExprConstant.cpp
280SRCS_MIN+=	CodeGen/CGExprScalar.cpp
281SRCS_MIN+=	CodeGen/CGGPUBuiltin.cpp
282SRCS_MIN+=	CodeGen/CGHLSLRuntime.cpp
283SRCS_MIN+=	CodeGen/CGLoopInfo.cpp
284SRCS_MIN+=	CodeGen/CGNonTrivialStruct.cpp
285SRCS_MIN+=	CodeGen/CGObjC.cpp
286SRCS_MIN+=	CodeGen/CGObjCGNU.cpp
287SRCS_MIN+=	CodeGen/CGObjCMac.cpp
288SRCS_MIN+=	CodeGen/CGObjCRuntime.cpp
289SRCS_MIN+=	CodeGen/CGOpenCLRuntime.cpp
290SRCS_MIN+=	CodeGen/CGOpenMPRuntime.cpp
291SRCS_MIN+=	CodeGen/CGOpenMPRuntimeGPU.cpp
292SRCS_MIN+=	CodeGen/CGRecordLayoutBuilder.cpp
293SRCS_MIN+=	CodeGen/CGStmt.cpp
294SRCS_MIN+=	CodeGen/CGStmtOpenMP.cpp
295SRCS_MIN+=	CodeGen/CGVTT.cpp
296SRCS_MIN+=	CodeGen/CGVTables.cpp
297SRCS_MIN+=	CodeGen/CodeGenAction.cpp
298SRCS_MIN+=	CodeGen/CodeGenFunction.cpp
299SRCS_MIN+=	CodeGen/CodeGenModule.cpp
300SRCS_MIN+=	CodeGen/CodeGenPGO.cpp
301SRCS_MIN+=	CodeGen/CodeGenTBAA.cpp
302SRCS_MIN+=	CodeGen/CodeGenTypes.cpp
303SRCS_MIN+=	CodeGen/ConstantInitBuilder.cpp
304SRCS_MIN+=	CodeGen/CoverageMappingGen.cpp
305SRCS_MIN+=	CodeGen/ItaniumCXXABI.cpp
306SRCS_MIN+=	CodeGen/LinkInModulesPass.cpp
307SRCS_MIN+=	CodeGen/MacroPPCallbacks.cpp
308SRCS_MIN+=	CodeGen/MicrosoftCXXABI.cpp
309SRCS_MIN+=	CodeGen/ModuleBuilder.cpp
310SRCS_MIN+=	CodeGen/ObjectFilePCHContainerOperations.cpp
311SRCS_MIN+=	CodeGen/PatternInit.cpp
312SRCS_MIN+=	CodeGen/SanitizerMetadata.cpp
313SRCS_MIN+=	CodeGen/SwiftCallingConv.cpp
314SRCS_MIN+=	CodeGen/TargetInfo.cpp
315SRCS_MIN+=	CodeGen/Targets/AArch64.cpp
316SRCS_MIN+=	CodeGen/Targets/AMDGPU.cpp
317SRCS_MIN+=	CodeGen/Targets/ARC.cpp
318SRCS_MIN+=	CodeGen/Targets/ARM.cpp
319SRCS_MIN+=	CodeGen/Targets/AVR.cpp
320SRCS_MIN+=	CodeGen/Targets/BPF.cpp
321SRCS_MIN+=	CodeGen/Targets/CSKY.cpp
322SRCS_MIN+=	CodeGen/Targets/Hexagon.cpp
323SRCS_MIN+=	CodeGen/Targets/Lanai.cpp
324SRCS_MIN+=	CodeGen/Targets/LoongArch.cpp
325SRCS_MIN+=	CodeGen/Targets/M68k.cpp
326SRCS_MIN+=	CodeGen/Targets/MSP430.cpp
327SRCS_MIN+=	CodeGen/Targets/Mips.cpp
328SRCS_MIN+=	CodeGen/Targets/NVPTX.cpp
329SRCS_MIN+=	CodeGen/Targets/PNaCl.cpp
330SRCS_MIN+=	CodeGen/Targets/PPC.cpp
331SRCS_MIN+=	CodeGen/Targets/RISCV.cpp
332SRCS_MIN+=	CodeGen/Targets/SPIR.cpp
333SRCS_MIN+=	CodeGen/Targets/Sparc.cpp
334SRCS_MIN+=	CodeGen/Targets/SystemZ.cpp
335SRCS_MIN+=	CodeGen/Targets/TCE.cpp
336SRCS_MIN+=	CodeGen/Targets/VE.cpp
337SRCS_MIN+=	CodeGen/Targets/WebAssembly.cpp
338SRCS_MIN+=	CodeGen/Targets/X86.cpp
339SRCS_MIN+=	CodeGen/Targets/XCore.cpp
340SRCS_MIN+=	CodeGen/VarBypassDetector.cpp
341SRCS_FUL+=	CrossTU/CrossTranslationUnit.cpp
342SRCS_MIN+=	Driver/Action.cpp
343SRCS_MIN+=	Driver/Compilation.cpp
344SRCS_MIN+=	Driver/Distro.cpp
345SRCS_MIN+=	Driver/Driver.cpp
346SRCS_MIN+=	Driver/DriverOptions.cpp
347SRCS_MIN+=	Driver/Job.cpp
348SRCS_MIN+=	Driver/Multilib.cpp
349SRCS_MIN+=	Driver/MultilibBuilder.cpp
350SRCS_MIN+=	Driver/OptionUtils.cpp
351SRCS_MIN+=	Driver/Phases.cpp
352SRCS_MIN+=	Driver/SanitizerArgs.cpp
353SRCS_MIN+=	Driver/Tool.cpp
354SRCS_MIN+=	Driver/ToolChain.cpp
355SRCS_MIN+=	Driver/ToolChains/AIX.cpp
356SRCS_MIN+=	Driver/ToolChains/AMDGPU.cpp
357SRCS_MIN+=	Driver/ToolChains/AMDGPUOpenMP.cpp
358SRCS_MIN+=	Driver/ToolChains/AVR.cpp
359SRCS_MIN+=	Driver/ToolChains/Arch/AArch64.cpp
360SRCS_MIN+=	Driver/ToolChains/Arch/ARM.cpp
361SRCS_MIN+=	Driver/ToolChains/Arch/CSKY.cpp
362SRCS_MIN+=	Driver/ToolChains/Arch/LoongArch.cpp
363SRCS_MIN+=	Driver/ToolChains/Arch/M68k.cpp
364SRCS_MIN+=	Driver/ToolChains/Arch/Mips.cpp
365SRCS_MIN+=	Driver/ToolChains/Arch/PPC.cpp
366SRCS_MIN+=	Driver/ToolChains/Arch/RISCV.cpp
367SRCS_MIN+=	Driver/ToolChains/Arch/Sparc.cpp
368SRCS_MIN+=	Driver/ToolChains/Arch/SystemZ.cpp
369SRCS_MIN+=	Driver/ToolChains/Arch/VE.cpp
370SRCS_MIN+=	Driver/ToolChains/Arch/X86.cpp
371SRCS_MIN+=	Driver/ToolChains/BareMetal.cpp
372SRCS_MIN+=	Driver/ToolChains/CSKYToolChain.cpp
373SRCS_MIN+=	Driver/ToolChains/Clang.cpp
374SRCS_MIN+=	Driver/ToolChains/CommonArgs.cpp
375SRCS_MIN+=	Driver/ToolChains/CrossWindows.cpp
376SRCS_MIN+=	Driver/ToolChains/Cuda.cpp
377SRCS_MIN+=	Driver/ToolChains/Darwin.cpp
378SRCS_MIN+=	Driver/ToolChains/DragonFly.cpp
379SRCS_MIN+=	Driver/ToolChains/Flang.cpp
380SRCS_MIN+=	Driver/ToolChains/FreeBSD.cpp
381SRCS_MIN+=	Driver/ToolChains/Fuchsia.cpp
382SRCS_MIN+=	Driver/ToolChains/Gnu.cpp
383SRCS_MIN+=	Driver/ToolChains/HIPAMD.cpp
384SRCS_MIN+=	Driver/ToolChains/HIPSPV.cpp
385SRCS_MIN+=	Driver/ToolChains/HIPUtility.cpp
386SRCS_MIN+=	Driver/ToolChains/HLSL.cpp
387SRCS_MIN+=	Driver/ToolChains/Haiku.cpp
388SRCS_MIN+=	Driver/ToolChains/Hexagon.cpp
389SRCS_MIN+=	Driver/ToolChains/Hurd.cpp
390SRCS_MIN+=	Driver/ToolChains/InterfaceStubs.cpp
391SRCS_MIN+=	Driver/ToolChains/Linux.cpp
392SRCS_MIN+=	Driver/ToolChains/MSP430.cpp
393SRCS_MIN+=	Driver/ToolChains/MSVC.cpp
394SRCS_MIN+=	Driver/ToolChains/MinGW.cpp
395SRCS_MIN+=	Driver/ToolChains/MipsLinux.cpp
396SRCS_MIN+=	Driver/ToolChains/NaCl.cpp
397SRCS_MIN+=	Driver/ToolChains/NetBSD.cpp
398SRCS_MIN+=	Driver/ToolChains/OHOS.cpp
399SRCS_MIN+=	Driver/ToolChains/OpenBSD.cpp
400SRCS_MIN+=	Driver/ToolChains/PPCFreeBSD.cpp
401SRCS_MIN+=	Driver/ToolChains/PPCLinux.cpp
402SRCS_MIN+=	Driver/ToolChains/PS4CPU.cpp
403SRCS_MIN+=	Driver/ToolChains/RISCVToolchain.cpp
404SRCS_MIN+=	Driver/ToolChains/SPIRV.cpp
405SRCS_MIN+=	Driver/ToolChains/Solaris.cpp
406SRCS_MIN+=	Driver/ToolChains/TCE.cpp
407SRCS_MIN+=	Driver/ToolChains/VEToolchain.cpp
408SRCS_MIN+=	Driver/ToolChains/WebAssembly.cpp
409SRCS_MIN+=	Driver/ToolChains/XCore.cpp
410SRCS_MIN+=	Driver/ToolChains/ZOS.cpp
411SRCS_MIN+=	Driver/Types.cpp
412SRCS_MIN+=	Driver/XRayArgs.cpp
413SRCS_MIN+=	Edit/Commit.cpp
414SRCS_MIN+=	Edit/EditedSource.cpp
415SRCS_MIN+=	Edit/RewriteObjCFoundationAPI.cpp
416SRCS_MIN+=	ExtractAPI/API.cpp
417SRCS_MIN+=	ExtractAPI/APIIgnoresList.cpp
418SRCS_MIN+=	ExtractAPI/AvailabilityInfo.cpp
419SRCS_MIN+=	ExtractAPI/DeclarationFragments.cpp
420SRCS_MIN+=	ExtractAPI/ExtractAPIConsumer.cpp
421SRCS_MIN+=	ExtractAPI/Serialization/SymbolGraphSerializer.cpp
422SRCS_MIN+=	ExtractAPI/TypedefUnderlyingTypeResolver.cpp
423SRCS_EXT+=	Format/AffectedRangeManager.cpp
424SRCS_EXT+=	Format/BreakableToken.cpp
425SRCS_EXT+=	Format/ContinuationIndenter.cpp
426SRCS_EXT+=	Format/DefinitionBlockSeparator.cpp
427SRCS_EXT+=	Format/Format.cpp
428SRCS_EXT+=	Format/FormatToken.cpp
429SRCS_EXT+=	Format/FormatTokenLexer.cpp
430SRCS_EXT+=	Format/IntegerLiteralSeparatorFixer.cpp
431SRCS_EXT+=	Format/MacroCallReconstructor.cpp
432SRCS_EXT+=	Format/MacroExpander.cpp
433SRCS_EXT+=	Format/MatchFilePath.cpp
434SRCS_EXT+=	Format/NamespaceEndCommentsFixer.cpp
435SRCS_EXT+=	Format/ObjCPropertyAttributeOrderFixer.cpp
436SRCS_EXT+=	Format/QualifierAlignmentFixer.cpp
437SRCS_EXT+=	Format/SortJavaScriptImports.cpp
438SRCS_EXT+=	Format/TokenAnalyzer.cpp
439SRCS_EXT+=	Format/TokenAnnotator.cpp
440SRCS_EXT+=	Format/UnwrappedLineFormatter.cpp
441SRCS_EXT+=	Format/UnwrappedLineParser.cpp
442SRCS_EXT+=	Format/UsingDeclarationsSorter.cpp
443SRCS_EXT+=	Format/WhitespaceManager.cpp
444SRCS_MIN+=	Frontend/ASTConsumers.cpp
445SRCS_MIN+=	Frontend/ASTMerge.cpp
446SRCS_MIN+=	Frontend/ASTUnit.cpp
447SRCS_MIN+=	Frontend/ChainedDiagnosticConsumer.cpp
448SRCS_MIN+=	Frontend/ChainedIncludesSource.cpp
449SRCS_MIN+=	Frontend/CompilerInstance.cpp
450SRCS_MIN+=	Frontend/CompilerInvocation.cpp
451SRCS_MIN+=	Frontend/CreateInvocationFromCommandLine.cpp
452SRCS_MIN+=	Frontend/DependencyFile.cpp
453SRCS_MIN+=	Frontend/DependencyGraph.cpp
454SRCS_MIN+=	Frontend/DiagnosticRenderer.cpp
455SRCS_MIN+=	Frontend/FrontendAction.cpp
456SRCS_MIN+=	Frontend/FrontendActions.cpp
457SRCS_MIN+=	Frontend/FrontendOptions.cpp
458SRCS_MIN+=	Frontend/HeaderIncludeGen.cpp
459SRCS_MIN+=	Frontend/InitPreprocessor.cpp
460SRCS_MIN+=	Frontend/InterfaceStubFunctionsConsumer.cpp
461SRCS_MIN+=	Frontend/LayoutOverrideSource.cpp
462SRCS_MIN+=	Frontend/LogDiagnosticPrinter.cpp
463SRCS_MIN+=	Frontend/ModuleDependencyCollector.cpp
464SRCS_MIN+=	Frontend/MultiplexConsumer.cpp
465SRCS_MIN+=	Frontend/PrecompiledPreamble.cpp
466SRCS_MIN+=	Frontend/PrintPreprocessedOutput.cpp
467SRCS_MIN+=	Frontend/Rewrite/FixItRewriter.cpp
468SRCS_MIN+=	Frontend/Rewrite/FrontendActions.cpp
469SRCS_MIN+=	Frontend/Rewrite/HTMLPrint.cpp
470SRCS_MIN+=	Frontend/Rewrite/InclusionRewriter.cpp
471SRCS_MIN+=	Frontend/Rewrite/RewriteMacros.cpp
472SRCS_MIN+=	Frontend/Rewrite/RewriteTest.cpp
473SRCS_MIN+=	Frontend/SARIFDiagnostic.cpp
474SRCS_MIN+=	Frontend/SARIFDiagnosticPrinter.cpp
475SRCS_MIN+=	Frontend/SerializedDiagnosticPrinter.cpp
476SRCS_MIN+=	Frontend/SerializedDiagnosticReader.cpp
477SRCS_MIN+=	Frontend/TestModuleFileExtension.cpp
478SRCS_MIN+=	Frontend/TextDiagnostic.cpp
479SRCS_MIN+=	Frontend/TextDiagnosticBuffer.cpp
480SRCS_MIN+=	Frontend/TextDiagnosticPrinter.cpp
481SRCS_MIN+=	Frontend/VerifyDiagnosticConsumer.cpp
482SRCS_MIN+=	FrontendTool/ExecuteCompilerInvocation.cpp
483SRCS_MIN+=	Index/CommentToXML.cpp
484SRCS_MIN+=	Index/IndexBody.cpp
485SRCS_MIN+=	Index/IndexDecl.cpp
486SRCS_MIN+=	Index/IndexSymbol.cpp
487SRCS_MIN+=	Index/IndexTypeSourceInfo.cpp
488SRCS_MIN+=	Index/IndexingAction.cpp
489SRCS_MIN+=	Index/IndexingContext.cpp
490SRCS_MIN+=	Index/USRGeneration.cpp
491SRCS_MIN+=	Lex/DependencyDirectivesScanner.cpp
492SRCS_MIN+=	Lex/HeaderMap.cpp
493SRCS_MIN+=	Lex/HeaderSearch.cpp
494SRCS_MIN+=	Lex/InitHeaderSearch.cpp
495SRCS_MIN+=	Lex/Lexer.cpp
496SRCS_MIN+=	Lex/LiteralSupport.cpp
497SRCS_MIN+=	Lex/MacroArgs.cpp
498SRCS_MIN+=	Lex/MacroInfo.cpp
499SRCS_MIN+=	Lex/ModuleMap.cpp
500SRCS_MIN+=	Lex/PPCaching.cpp
501SRCS_MIN+=	Lex/PPCallbacks.cpp
502SRCS_MIN+=	Lex/PPConditionalDirectiveRecord.cpp
503SRCS_MIN+=	Lex/PPDirectives.cpp
504SRCS_MIN+=	Lex/PPExpressions.cpp
505SRCS_MIN+=	Lex/PPLexerChange.cpp
506SRCS_MIN+=	Lex/PPMacroExpansion.cpp
507SRCS_MIN+=	Lex/Pragma.cpp
508SRCS_MIN+=	Lex/PreprocessingRecord.cpp
509SRCS_MIN+=	Lex/Preprocessor.cpp
510SRCS_MIN+=	Lex/PreprocessorLexer.cpp
511SRCS_MIN+=	Lex/ScratchBuffer.cpp
512SRCS_MIN+=	Lex/TokenConcatenation.cpp
513SRCS_MIN+=	Lex/TokenLexer.cpp
514SRCS_MIN+=	Parse/ParseAST.cpp
515SRCS_MIN+=	Parse/ParseCXXInlineMethods.cpp
516SRCS_MIN+=	Parse/ParseDecl.cpp
517SRCS_MIN+=	Parse/ParseDeclCXX.cpp
518SRCS_MIN+=	Parse/ParseExpr.cpp
519SRCS_MIN+=	Parse/ParseExprCXX.cpp
520SRCS_MIN+=	Parse/ParseHLSL.cpp
521SRCS_MIN+=	Parse/ParseInit.cpp
522SRCS_MIN+=	Parse/ParseObjc.cpp
523SRCS_MIN+=	Parse/ParseOpenACC.cpp
524SRCS_MIN+=	Parse/ParseOpenMP.cpp
525SRCS_MIN+=	Parse/ParsePragma.cpp
526SRCS_MIN+=	Parse/ParseStmt.cpp
527SRCS_MIN+=	Parse/ParseStmtAsm.cpp
528SRCS_MIN+=	Parse/ParseTemplate.cpp
529SRCS_MIN+=	Parse/ParseTentative.cpp
530SRCS_MIN+=	Parse/Parser.cpp
531SRCS_MIN+=	Rewrite/DeltaTree.cpp
532SRCS_MIN+=	Rewrite/HTMLRewrite.cpp
533SRCS_MIN+=	Rewrite/RewriteRope.cpp
534SRCS_MIN+=	Rewrite/Rewriter.cpp
535SRCS_MIN+=	Rewrite/TokenRewriter.cpp
536SRCS_MIN+=	Sema/AnalysisBasedWarnings.cpp
537SRCS_MIN+=	Sema/CodeCompleteConsumer.cpp
538SRCS_MIN+=	Sema/DeclSpec.cpp
539SRCS_MIN+=	Sema/DelayedDiagnostic.cpp
540SRCS_MIN+=	Sema/HLSLExternalSemaSource.cpp
541SRCS_MIN+=	Sema/IdentifierResolver.cpp
542SRCS_MIN+=	Sema/JumpDiagnostics.cpp
543SRCS_MIN+=	Sema/MultiplexExternalSemaSource.cpp
544SRCS_MIN+=	Sema/ParsedAttr.cpp
545SRCS_MIN+=	Sema/Scope.cpp
546SRCS_MIN+=	Sema/ScopeInfo.cpp
547SRCS_MIN+=	Sema/Sema.cpp
548SRCS_MIN+=	Sema/SemaAccess.cpp
549SRCS_MIN+=	Sema/SemaAttr.cpp
550SRCS_MIN+=	Sema/SemaAvailability.cpp
551SRCS_MIN+=	Sema/SemaCUDA.cpp
552SRCS_MIN+=	Sema/SemaCXXScopeSpec.cpp
553SRCS_MIN+=	Sema/SemaCast.cpp
554SRCS_MIN+=	Sema/SemaChecking.cpp
555SRCS_MIN+=	Sema/SemaCodeComplete.cpp
556SRCS_MIN+=	Sema/SemaConcept.cpp
557SRCS_MIN+=	Sema/SemaConsumer.cpp
558SRCS_MIN+=	Sema/SemaCoroutine.cpp
559SRCS_MIN+=	Sema/SemaDecl.cpp
560SRCS_MIN+=	Sema/SemaDeclAttr.cpp
561SRCS_MIN+=	Sema/SemaDeclCXX.cpp
562SRCS_MIN+=	Sema/SemaDeclObjC.cpp
563SRCS_MIN+=	Sema/SemaExceptionSpec.cpp
564SRCS_MIN+=	Sema/SemaExpr.cpp
565SRCS_MIN+=	Sema/SemaExprCXX.cpp
566SRCS_MIN+=	Sema/SemaExprMember.cpp
567SRCS_MIN+=	Sema/SemaExprObjC.cpp
568SRCS_MIN+=	Sema/SemaFixItUtils.cpp
569SRCS_MIN+=	Sema/SemaHLSL.cpp
570SRCS_MIN+=	Sema/SemaInit.cpp
571SRCS_MIN+=	Sema/SemaLambda.cpp
572SRCS_MIN+=	Sema/SemaLookup.cpp
573SRCS_MIN+=	Sema/SemaModule.cpp
574SRCS_MIN+=	Sema/SemaObjCProperty.cpp
575SRCS_MIN+=	Sema/SemaOpenMP.cpp
576SRCS_MIN+=	Sema/SemaOverload.cpp
577SRCS_MIN+=	Sema/SemaPseudoObject.cpp
578SRCS_MIN+=	Sema/SemaRISCVVectorLookup.cpp
579SRCS_MIN+=	Sema/SemaSYCL.cpp
580SRCS_MIN+=	Sema/SemaStmt.cpp
581SRCS_MIN+=	Sema/SemaStmtAsm.cpp
582SRCS_MIN+=	Sema/SemaStmtAttr.cpp
583SRCS_MIN+=	Sema/SemaTemplate.cpp
584SRCS_MIN+=	Sema/SemaTemplateDeduction.cpp
585SRCS_MIN+=	Sema/SemaTemplateInstantiate.cpp
586SRCS_MIN+=	Sema/SemaTemplateInstantiateDecl.cpp
587SRCS_MIN+=	Sema/SemaTemplateVariadic.cpp
588SRCS_MIN+=	Sema/SemaType.cpp
589SRCS_MIN+=	Sema/TypeLocBuilder.cpp
590SRCS_MIN+=	Serialization/ASTCommon.cpp
591SRCS_MIN+=	Serialization/ASTReader.cpp
592SRCS_MIN+=	Serialization/ASTReaderDecl.cpp
593SRCS_MIN+=	Serialization/ASTReaderStmt.cpp
594SRCS_MIN+=	Serialization/ASTWriter.cpp
595SRCS_MIN+=	Serialization/ASTWriterDecl.cpp
596SRCS_MIN+=	Serialization/ASTWriterStmt.cpp
597SRCS_MIN+=	Serialization/GeneratePCH.cpp
598SRCS_MIN+=	Serialization/GlobalModuleIndex.cpp
599SRCS_MIN+=	Serialization/InMemoryModuleCache.cpp
600SRCS_MIN+=	Serialization/ModuleFile.cpp
601SRCS_MIN+=	Serialization/ModuleFileExtension.cpp
602SRCS_MIN+=	Serialization/ModuleManager.cpp
603SRCS_MIN+=	Serialization/PCHContainerOperations.cpp
604SRCS_FUL+=	StaticAnalyzer/Checkers/AnalysisOrderChecker.cpp
605SRCS_FUL+=	StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp
606SRCS_FUL+=	StaticAnalyzer/Checkers/ArrayBoundChecker.cpp
607SRCS_FUL+=	StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
608SRCS_FUL+=	StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
609SRCS_FUL+=	StaticAnalyzer/Checkers/BitwiseShiftChecker.cpp
610SRCS_FUL+=	StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
611SRCS_FUL+=	StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp
612SRCS_FUL+=	StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp
613SRCS_FUL+=	StaticAnalyzer/Checkers/CStringChecker.cpp
614SRCS_FUL+=	StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp
615SRCS_FUL+=	StaticAnalyzer/Checkers/CXXDeleteChecker.cpp
616SRCS_FUL+=	StaticAnalyzer/Checkers/CXXSelfAssignmentChecker.cpp
617SRCS_FUL+=	StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
618SRCS_FUL+=	StaticAnalyzer/Checkers/CastSizeChecker.cpp
619SRCS_FUL+=	StaticAnalyzer/Checkers/CastToStructChecker.cpp
620SRCS_FUL+=	StaticAnalyzer/Checkers/CastValueChecker.cpp
621SRCS_FUL+=	StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
622SRCS_FUL+=	StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
623SRCS_FUL+=	StaticAnalyzer/Checkers/CheckPlacementNew.cpp
624SRCS_FUL+=	StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
625SRCS_FUL+=	StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
626SRCS_FUL+=	StaticAnalyzer/Checkers/ChrootChecker.cpp
627SRCS_FUL+=	StaticAnalyzer/Checkers/CloneChecker.cpp
628SRCS_FUL+=	StaticAnalyzer/Checkers/ContainerModeling.cpp
629SRCS_FUL+=	StaticAnalyzer/Checkers/ConversionChecker.cpp
630SRCS_FUL+=	StaticAnalyzer/Checkers/DeadStoresChecker.cpp
631SRCS_FUL+=	StaticAnalyzer/Checkers/DebugCheckers.cpp
632SRCS_FUL+=	StaticAnalyzer/Checkers/DebugContainerModeling.cpp
633SRCS_FUL+=	StaticAnalyzer/Checkers/DebugIteratorModeling.cpp
634SRCS_FUL+=	StaticAnalyzer/Checkers/DereferenceChecker.cpp
635SRCS_FUL+=	StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
636SRCS_FUL+=	StaticAnalyzer/Checkers/DivZeroChecker.cpp
637SRCS_FUL+=	StaticAnalyzer/Checkers/DynamicTypeChecker.cpp
638SRCS_FUL+=	StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
639SRCS_FUL+=	StaticAnalyzer/Checkers/EnumCastOutOfRangeChecker.cpp
640SRCS_FUL+=	StaticAnalyzer/Checkers/ErrnoChecker.cpp
641SRCS_FUL+=	StaticAnalyzer/Checkers/ErrnoModeling.cpp
642SRCS_FUL+=	StaticAnalyzer/Checkers/ErrnoTesterChecker.cpp
643SRCS_FUL+=	StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
644SRCS_FUL+=	StaticAnalyzer/Checkers/FixedAddressChecker.cpp
645SRCS_FUL+=	StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp
646SRCS_FUL+=	StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp
647SRCS_FUL+=	StaticAnalyzer/Checkers/GTestChecker.cpp
648SRCS_FUL+=	StaticAnalyzer/Checkers/GenericTaintChecker.cpp
649SRCS_FUL+=	StaticAnalyzer/Checkers/IdenticalExprChecker.cpp
650SRCS_FUL+=	StaticAnalyzer/Checkers/InnerPointerChecker.cpp
651SRCS_FUL+=	StaticAnalyzer/Checkers/InvalidatedIteratorChecker.cpp
652SRCS_FUL+=	StaticAnalyzer/Checkers/Iterator.cpp
653SRCS_FUL+=	StaticAnalyzer/Checkers/IteratorModeling.cpp
654SRCS_FUL+=	StaticAnalyzer/Checkers/IteratorRangeChecker.cpp
655SRCS_FUL+=	StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
656SRCS_FUL+=	StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
657SRCS_FUL+=	StaticAnalyzer/Checkers/LocalizationChecker.cpp
658SRCS_FUL+=	StaticAnalyzer/Checkers/MIGChecker.cpp
659SRCS_FUL+=	StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.cpp
660SRCS_FUL+=	StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp
661SRCS_FUL+=	StaticAnalyzer/Checkers/MPI-Checker/MPIFunctionClassifier.cpp
662SRCS_FUL+=	StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
663SRCS_FUL+=	StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp
664SRCS_FUL+=	StaticAnalyzer/Checkers/MallocChecker.cpp
665SRCS_FUL+=	StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
666SRCS_FUL+=	StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
667SRCS_FUL+=	StaticAnalyzer/Checkers/MismatchedIteratorChecker.cpp
668SRCS_FUL+=	StaticAnalyzer/Checkers/MmapWriteExecChecker.cpp
669SRCS_FUL+=	StaticAnalyzer/Checkers/MoveChecker.cpp
670SRCS_FUL+=	StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp
671SRCS_FUL+=	StaticAnalyzer/Checkers/NSErrorChecker.cpp
672SRCS_FUL+=	StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp
673SRCS_FUL+=	StaticAnalyzer/Checkers/NonNullParamChecker.cpp
674SRCS_FUL+=	StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp
675SRCS_FUL+=	StaticAnalyzer/Checkers/NullabilityChecker.cpp
676SRCS_FUL+=	StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
677SRCS_FUL+=	StaticAnalyzer/Checkers/OSObjectCStyleCast.cpp
678SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp
679SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp
680SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
681SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
682SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp
683SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCPropertyChecker.cpp
684SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
685SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp
686SRCS_FUL+=	StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp
687SRCS_FUL+=	StaticAnalyzer/Checkers/PaddingChecker.cpp
688SRCS_FUL+=	StaticAnalyzer/Checkers/PointerArithChecker.cpp
689SRCS_FUL+=	StaticAnalyzer/Checkers/PointerIterationChecker.cpp
690SRCS_FUL+=	StaticAnalyzer/Checkers/PointerSortingChecker.cpp
691SRCS_FUL+=	StaticAnalyzer/Checkers/PointerSubChecker.cpp
692SRCS_FUL+=	StaticAnalyzer/Checkers/PthreadLockChecker.cpp
693SRCS_FUL+=	StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
694SRCS_FUL+=	StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
695SRCS_FUL+=	StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp
696SRCS_FUL+=	StaticAnalyzer/Checkers/ReturnUndefChecker.cpp
697SRCS_FUL+=	StaticAnalyzer/Checkers/ReturnValueChecker.cpp
698SRCS_FUL+=	StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp
699SRCS_FUL+=	StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp
700SRCS_FUL+=	StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
701SRCS_FUL+=	StaticAnalyzer/Checkers/SmartPtrChecker.cpp
702SRCS_FUL+=	StaticAnalyzer/Checkers/SmartPtrModeling.cpp
703SRCS_FUL+=	StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
704SRCS_FUL+=	StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
705SRCS_FUL+=	StaticAnalyzer/Checkers/StdVariantChecker.cpp
706SRCS_FUL+=	StaticAnalyzer/Checkers/StreamChecker.cpp
707SRCS_FUL+=	StaticAnalyzer/Checkers/StringChecker.cpp
708SRCS_FUL+=	StaticAnalyzer/Checkers/Taint.cpp
709SRCS_FUL+=	StaticAnalyzer/Checkers/TaintTesterChecker.cpp
710SRCS_FUL+=	StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp
711SRCS_FUL+=	StaticAnalyzer/Checkers/TraversalChecker.cpp
712SRCS_FUL+=	StaticAnalyzer/Checkers/TrustNonnullChecker.cpp
713SRCS_FUL+=	StaticAnalyzer/Checkers/TrustReturnsNonnullChecker.cpp
714SRCS_FUL+=	StaticAnalyzer/Checkers/UndefBranchChecker.cpp
715SRCS_FUL+=	StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp
716SRCS_FUL+=	StaticAnalyzer/Checkers/UndefResultChecker.cpp
717SRCS_FUL+=	StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp
718SRCS_FUL+=	StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp
719SRCS_FUL+=	StaticAnalyzer/Checkers/UndefinedNewArraySizeChecker.cpp
720SRCS_FUL+=	StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
721SRCS_FUL+=	StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp
722SRCS_FUL+=	StaticAnalyzer/Checkers/UnixAPIChecker.cpp
723SRCS_FUL+=	StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
724SRCS_FUL+=	StaticAnalyzer/Checkers/VLASizeChecker.cpp
725SRCS_FUL+=	StaticAnalyzer/Checkers/ValistChecker.cpp
726SRCS_FUL+=	StaticAnalyzer/Checkers/VforkChecker.cpp
727SRCS_FUL+=	StaticAnalyzer/Checkers/VirtualCallChecker.cpp
728SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
729SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp
730SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
731SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp
732SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
733SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp
734SRCS_FUL+=	StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp
735SRCS_FUL+=	StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp
736SRCS_FUL+=	StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.cpp
737SRCS_FUL+=	StaticAnalyzer/Core/APSIntType.cpp
738SRCS_FUL+=	StaticAnalyzer/Core/AnalysisManager.cpp
739SRCS_FUL+=	StaticAnalyzer/Core/AnalyzerOptions.cpp
740SRCS_FUL+=	StaticAnalyzer/Core/BasicValueFactory.cpp
741SRCS_FUL+=	StaticAnalyzer/Core/BlockCounter.cpp
742SRCS_FUL+=	StaticAnalyzer/Core/BugReporter.cpp
743SRCS_FUL+=	StaticAnalyzer/Core/BugReporterVisitors.cpp
744SRCS_FUL+=	StaticAnalyzer/Core/BugSuppression.cpp
745SRCS_FUL+=	StaticAnalyzer/Core/CallDescription.cpp
746SRCS_FUL+=	StaticAnalyzer/Core/CallEvent.cpp
747SRCS_FUL+=	StaticAnalyzer/Core/Checker.cpp
748SRCS_FUL+=	StaticAnalyzer/Core/CheckerContext.cpp
749SRCS_FUL+=	StaticAnalyzer/Core/CheckerHelpers.cpp
750SRCS_FUL+=	StaticAnalyzer/Core/CheckerManager.cpp
751SRCS_FUL+=	StaticAnalyzer/Core/CheckerRegistryData.cpp
752SRCS_FUL+=	StaticAnalyzer/Core/CommonBugCategories.cpp
753SRCS_FUL+=	StaticAnalyzer/Core/ConstraintManager.cpp
754SRCS_FUL+=	StaticAnalyzer/Core/CoreEngine.cpp
755SRCS_FUL+=	StaticAnalyzer/Core/DynamicExtent.cpp
756SRCS_FUL+=	StaticAnalyzer/Core/DynamicType.cpp
757SRCS_FUL+=	StaticAnalyzer/Core/Environment.cpp
758SRCS_FUL+=	StaticAnalyzer/Core/ExplodedGraph.cpp
759SRCS_FUL+=	StaticAnalyzer/Core/ExprEngine.cpp
760SRCS_FUL+=	StaticAnalyzer/Core/ExprEngineC.cpp
761SRCS_FUL+=	StaticAnalyzer/Core/ExprEngineCXX.cpp
762SRCS_FUL+=	StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
763SRCS_FUL+=	StaticAnalyzer/Core/ExprEngineObjC.cpp
764SRCS_FUL+=	StaticAnalyzer/Core/FunctionSummary.cpp
765SRCS_FUL+=	StaticAnalyzer/Core/HTMLDiagnostics.cpp
766SRCS_FUL+=	StaticAnalyzer/Core/LoopUnrolling.cpp
767SRCS_FUL+=	StaticAnalyzer/Core/LoopWidening.cpp
768SRCS_FUL+=	StaticAnalyzer/Core/MemRegion.cpp
769SRCS_FUL+=	StaticAnalyzer/Core/PlistDiagnostics.cpp
770SRCS_FUL+=	StaticAnalyzer/Core/ProgramState.cpp
771SRCS_FUL+=	StaticAnalyzer/Core/RangeConstraintManager.cpp
772SRCS_FUL+=	StaticAnalyzer/Core/RangedConstraintManager.cpp
773SRCS_FUL+=	StaticAnalyzer/Core/RegionStore.cpp
774SRCS_FUL+=	StaticAnalyzer/Core/SMTConstraintManager.cpp
775SRCS_FUL+=	StaticAnalyzer/Core/SValBuilder.cpp
776SRCS_FUL+=	StaticAnalyzer/Core/SVals.cpp
777SRCS_FUL+=	StaticAnalyzer/Core/SarifDiagnostics.cpp
778SRCS_FUL+=	StaticAnalyzer/Core/SimpleConstraintManager.cpp
779SRCS_FUL+=	StaticAnalyzer/Core/SimpleSValBuilder.cpp
780SRCS_FUL+=	StaticAnalyzer/Core/Store.cpp
781SRCS_FUL+=	StaticAnalyzer/Core/SymbolManager.cpp
782SRCS_FUL+=	StaticAnalyzer/Core/TextDiagnostics.cpp
783SRCS_FUL+=	StaticAnalyzer/Core/WorkList.cpp
784SRCS_FUL+=	StaticAnalyzer/Frontend/AnalysisConsumer.cpp
785SRCS_FUL+=	StaticAnalyzer/Frontend/AnalyzerHelpFlags.cpp
786SRCS_FUL+=	StaticAnalyzer/Frontend/CheckerRegistry.cpp
787SRCS_FUL+=	StaticAnalyzer/Frontend/CreateCheckerManager.cpp
788SRCS_FUL+=	StaticAnalyzer/Frontend/FrontendActions.cpp
789SRCS_FUL+=	StaticAnalyzer/Frontend/ModelConsumer.cpp
790SRCS_FUL+=	StaticAnalyzer/Frontend/ModelInjector.cpp
791SRCS_MIN+=	Support/RISCVVIntrinsicUtils.cpp
792SRCS_MIN+=	Tooling/ArgumentsAdjusters.cpp
793SRCS_MIN+=	Tooling/CommonOptionsParser.cpp
794SRCS_MIN+=	Tooling/CompilationDatabase.cpp
795SRCS_MIN+=	Tooling/Core/Replacement.cpp
796SRCS_MIN+=	Tooling/FileMatchTrie.cpp
797SRCS_EXT+=	Tooling/Inclusions/HeaderIncludes.cpp
798SRCS_EXT+=	Tooling/Inclusions/IncludeStyle.cpp
799SRCS_MIN+=	Tooling/JSONCompilationDatabase.cpp
800SRCS_MIN+=	Tooling/Refactoring.cpp
801SRCS_MIN+=	Tooling/RefactoringCallbacks.cpp
802SRCS_MIN+=	Tooling/Tooling.cpp
803
804SRCS_ALL+=	${SRCS_MIN}
805.if ${MK_CLANG_EXTRAS} != "no" || ${MK_CLANG_FORMAT} != "no"
806SRCS_ALL+=	${SRCS_EXT}
807.endif
808.if ${MK_CLANG_FULL} != "no"
809SRCS_ALL+=	${SRCS_FUL}
810.endif
811.if ${MK_LLDB} != "no"
812SRCS_ALL+=	${SRCS_LDB}
813.endif
814SRCS+=		${SRCS_ALL:O}
815
816clang/AST/AbstractBasicReader.inc: \
817	${CLANG_SRCS}/include/clang/AST/PropertiesBase.td
818	${CLANG_TBLGEN} -gen-clang-basic-reader \
819	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
820	    ${CLANG_SRCS}/include/clang/AST/PropertiesBase.td
821TGHDRS+=	clang/AST/AbstractBasicReader.inc
822
823clang/AST/AbstractBasicWriter.inc: \
824	${CLANG_SRCS}/include/clang/AST/PropertiesBase.td
825	${CLANG_TBLGEN} -gen-clang-basic-writer \
826	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
827	    ${CLANG_SRCS}/include/clang/AST/PropertiesBase.td
828TGHDRS+=	clang/AST/AbstractBasicWriter.inc
829
830clang/AST/AbstractTypeReader.inc: \
831	${CLANG_SRCS}/include/clang/AST/TypeProperties.td
832	${CLANG_TBLGEN} -gen-clang-type-reader \
833	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
834	    ${CLANG_SRCS}/include/clang/AST/TypeProperties.td
835TGHDRS+=	clang/AST/AbstractTypeReader.inc
836
837clang/AST/AbstractTypeWriter.inc: \
838	${CLANG_SRCS}/include/clang/AST/TypeProperties.td
839	${CLANG_TBLGEN} -gen-clang-type-writer \
840	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
841	    ${CLANG_SRCS}/include/clang/AST/TypeProperties.td
842TGHDRS+=	clang/AST/AbstractTypeWriter.inc
843
844clang/AST/AttrImpl.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
845	${CLANG_TBLGEN} -gen-clang-attr-impl \
846	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
847	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
848TGHDRS+=	clang/AST/AttrImpl.inc
849
850clang/AST/AttrNodeTraverse.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
851	${CLANG_TBLGEN} -gen-clang-attr-node-traverse \
852	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
853	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
854TGHDRS+=	clang/AST/AttrNodeTraverse.inc
855
856clang/AST/AttrTextNodeDump.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
857	${CLANG_TBLGEN} -gen-clang-attr-text-node-dump \
858	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
859	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
860TGHDRS+=	clang/AST/AttrTextNodeDump.inc
861
862clang/AST/AttrVisitor.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
863	${CLANG_TBLGEN} -gen-clang-attr-ast-visitor \
864	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
865	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
866TGHDRS+=	clang/AST/AttrVisitor.inc
867
868clang/AST/Attrs.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
869	${CLANG_TBLGEN} -gen-clang-attr-classes \
870	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
871	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
872TGHDRS+=	clang/AST/Attrs.inc
873
874clang/AST/CommentCommandInfo.inc: \
875	${CLANG_SRCS}/include/clang/AST/CommentCommands.td
876	${CLANG_TBLGEN} -gen-clang-comment-command-info \
877	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
878	    ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
879TGHDRS+=	clang/AST/CommentCommandInfo.inc
880
881clang/AST/CommentCommandList.inc: \
882	${CLANG_SRCS}/include/clang/AST/CommentCommands.td
883	${CLANG_TBLGEN} -gen-clang-comment-command-list \
884	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
885	    ${CLANG_SRCS}/include/clang/AST/CommentCommands.td
886TGHDRS+=	clang/AST/CommentCommandList.inc
887
888clang/AST/CommentHTMLNamedCharacterReferences.inc: \
889	${CLANG_SRCS}/include/clang/AST/CommentHTMLNamedCharacterReferences.td
890	${CLANG_TBLGEN} -gen-clang-comment-html-named-character-references \
891	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
892	    ${CLANG_SRCS}/include/clang/AST/CommentHTMLNamedCharacterReferences.td
893TGHDRS+=	clang/AST/CommentHTMLNamedCharacterReferences.inc
894
895clang/AST/CommentHTMLTags.inc: \
896	${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
897	${CLANG_TBLGEN} -gen-clang-comment-html-tags \
898	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
899	    ${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
900TGHDRS+=	clang/AST/CommentHTMLTags.inc
901
902clang/AST/CommentHTMLTagsProperties.inc: \
903	${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
904	${CLANG_TBLGEN} -gen-clang-comment-html-tags-properties \
905	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
906	    ${CLANG_SRCS}/include/clang/AST/CommentHTMLTags.td
907TGHDRS+=	clang/AST/CommentHTMLTagsProperties.inc
908
909clang/AST/CommentNodes.inc: ${CLANG_SRCS}/include/clang/Basic/CommentNodes.td
910	${CLANG_TBLGEN} -gen-clang-comment-nodes \
911	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
912	    ${CLANG_SRCS}/include/clang/Basic/CommentNodes.td
913TGHDRS+=	clang/AST/CommentNodes.inc
914
915clang/AST/DeclNodes.inc: ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td
916	${CLANG_TBLGEN} -gen-clang-decl-nodes \
917	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
918	    ${CLANG_SRCS}/include/clang/Basic/DeclNodes.td
919TGHDRS+=	clang/AST/DeclNodes.inc
920
921clang/AST/StmtDataCollectors.inc: \
922	${CLANG_SRCS}/include/clang/AST/StmtDataCollectors.td
923	${CLANG_TBLGEN} -gen-clang-data-collectors \
924	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
925	    ${CLANG_SRCS}/include/clang/AST/StmtDataCollectors.td
926TGHDRS+=	clang/AST/StmtDataCollectors.inc
927
928clang/AST/StmtNodes.inc: ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td
929	${CLANG_TBLGEN} -gen-clang-stmt-nodes \
930	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
931	    ${CLANG_SRCS}/include/clang/Basic/StmtNodes.td
932TGHDRS+=	clang/AST/StmtNodes.inc
933
934clang/AST/TypeNodes.inc: ${CLANG_SRCS}/include/clang/Basic/TypeNodes.td
935	${CLANG_TBLGEN} -gen-clang-type-nodes \
936	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
937	    ${CLANG_SRCS}/include/clang/Basic/TypeNodes.td
938TGHDRS+=	clang/AST/TypeNodes.inc
939
940clang/Basic/AttrHasAttributeImpl.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
941	${CLANG_TBLGEN} -gen-clang-attr-has-attribute-impl \
942	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
943	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
944TGHDRS+=	clang/Basic/AttrHasAttributeImpl.inc
945
946clang/Basic/AttrLeftSideCanPrintList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
947	${CLANG_TBLGEN} -gen-clang-attr-can-print-left-list \
948	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
949	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
950TGHDRS+=	clang/Basic/AttrLeftSideCanPrintList.inc
951
952clang/Basic/AttrLeftSideMustPrintList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
953	${CLANG_TBLGEN} -gen-clang-attr-must-print-left-list \
954	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
955	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
956TGHDRS+=	clang/Basic/AttrLeftSideMustPrintList.inc
957
958clang/Basic/AttrList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
959	${CLANG_TBLGEN} -gen-clang-attr-list \
960	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
961	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
962TGHDRS+=	clang/Basic/AttrList.inc
963
964clang/Basic/AttrSubMatchRulesList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
965	${CLANG_TBLGEN} -gen-clang-attr-subject-match-rule-list \
966	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
967	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
968TGHDRS+=	clang/Basic/AttrSubMatchRulesList.inc
969
970clang/Basic/RegularKeywordAttrInfo.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
971	${CLANG_TBLGEN} -gen-clang-regular-keyword-attr-info \
972	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
973	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
974TGHDRS+=	clang/Basic/RegularKeywordAttrInfo.inc
975
976.for hdr in \
977	AST Analysis Comment Common CrossTU Driver Frontend Lex Parse \
978	Refactoring Sema Serialization SemaSerialization
979clang/Basic/Diagnostic${hdr}Kinds.inc: \
980	${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
981	${CLANG_TBLGEN} -gen-clang-diags-defs -clang-component=${hdr} \
982	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
983	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
984TGHDRS+=	clang/Basic/Diagnostic${hdr}Kinds.inc
985.endfor
986
987clang/Basic/DiagnosticGroups.inc: \
988	${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
989	${CLANG_TBLGEN} -gen-clang-diag-groups \
990	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
991	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
992TGHDRS+=	clang/Basic/DiagnosticGroups.inc
993
994clang/Basic/DiagnosticIndexName.inc: \
995	${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
996	${CLANG_TBLGEN} -gen-clang-diags-index-name \
997	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
998	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/Diagnostic.td
999TGHDRS+=	clang/Basic/DiagnosticIndexName.inc
1000
1001clang/Basic/arm_cde_builtin_aliases.inc: \
1002	${CLANG_SRCS}/include/clang/Basic/arm_cde.td
1003	${CLANG_TBLGEN} -gen-arm-cde-builtin-aliases \
1004	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1005	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td
1006TGHDRS+=	clang/Basic/arm_cde_builtin_aliases.inc
1007
1008clang/Basic/arm_cde_builtin_cg.inc: ${CLANG_SRCS}/include/clang/Basic/arm_cde.td
1009	${CLANG_TBLGEN} -gen-arm-cde-builtin-codegen \
1010	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1011	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td
1012TGHDRS+=	clang/Basic/arm_cde_builtin_cg.inc
1013
1014clang/Basic/arm_cde_builtin_sema.inc: \
1015	${CLANG_SRCS}/include/clang/Basic/arm_cde.td
1016	${CLANG_TBLGEN} -gen-arm-cde-builtin-sema \
1017	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1018	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td
1019TGHDRS+=	clang/Basic/arm_cde_builtin_sema.inc
1020
1021clang/Basic/arm_cde_builtins.inc: ${CLANG_SRCS}/include/clang/Basic/arm_cde.td
1022	${CLANG_TBLGEN} -gen-arm-cde-builtin-def \
1023	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1024	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_cde.td
1025TGHDRS+=	clang/Basic/arm_cde_builtins.inc
1026
1027clang/Basic/arm_fp16.inc: ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td
1028	${CLANG_TBLGEN} -gen-arm-neon-sema \
1029	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1030	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td
1031TGHDRS+=	clang/Basic/arm_fp16.inc
1032
1033clang/Basic/arm_mve_builtin_aliases.inc: \
1034	${CLANG_SRCS}/include/clang/Basic/arm_mve.td
1035	${CLANG_TBLGEN} -gen-arm-mve-builtin-aliases \
1036	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1037	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
1038TGHDRS+=	clang/Basic/arm_mve_builtin_aliases.inc
1039
1040clang/Basic/arm_mve_builtin_cg.inc: ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
1041	${CLANG_TBLGEN} -gen-arm-mve-builtin-codegen \
1042	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1043	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
1044TGHDRS+=	clang/Basic/arm_mve_builtin_cg.inc
1045
1046clang/Basic/arm_mve_builtin_sema.inc: \
1047	${CLANG_SRCS}/include/clang/Basic/arm_mve.td
1048	${CLANG_TBLGEN} -gen-arm-mve-builtin-sema \
1049	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1050	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
1051TGHDRS+=	clang/Basic/arm_mve_builtin_sema.inc
1052
1053clang/Basic/arm_mve_builtins.inc: ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
1054	${CLANG_TBLGEN} -gen-arm-mve-builtin-def \
1055	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1056	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
1057TGHDRS+=	clang/Basic/arm_mve_builtins.inc
1058
1059clang/Basic/arm_neon.inc: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
1060	${CLANG_TBLGEN} -gen-arm-neon-sema \
1061	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1062	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
1063TGHDRS+=	clang/Basic/arm_neon.inc
1064
1065clang/Basic/arm_sme_builtin_cg.inc: \
1066	${CLANG_SRCS}/include/clang/Basic/arm_sme.td
1067	${CLANG_TBLGEN} -gen-arm-sme-builtin-codegen \
1068	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1069	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sme.td
1070TGHDRS+=	clang/Basic/arm_sme_builtin_cg.inc
1071
1072clang/Basic/arm_sme_builtins.inc: \
1073	${CLANG_SRCS}/include/clang/Basic/arm_sme.td
1074	${CLANG_TBLGEN} -gen-arm-sme-builtins \
1075	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1076	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sme.td
1077TGHDRS+=	clang/Basic/arm_sme_builtins.inc
1078
1079clang/Basic/arm_sme_builtins_za_state.inc: \
1080	${CLANG_SRCS}/include/clang/Basic/arm_sme.td
1081	${CLANG_TBLGEN} -gen-arm-sme-builtin-za-state \
1082	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1083	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sme.td
1084TGHDRS+=	clang/Basic/arm_sme_builtins_za_state.inc
1085
1086clang/Basic/arm_sme_sema_rangechecks.inc: \
1087	${CLANG_SRCS}/include/clang/Basic/arm_sme.td
1088	${CLANG_TBLGEN} -gen-arm-sme-sema-rangechecks \
1089	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1090	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sme.td
1091TGHDRS+=	clang/Basic/arm_sme_sema_rangechecks.inc
1092
1093clang/Basic/arm_sme_streaming_attrs.inc: \
1094	${CLANG_SRCS}/include/clang/Basic/arm_sme.td
1095	${CLANG_TBLGEN} -gen-arm-sme-streaming-attrs \
1096	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1097	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sme.td
1098TGHDRS+=	clang/Basic/arm_sme_streaming_attrs.inc
1099
1100clang/Basic/arm_sve_builtin_cg.inc: ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1101	${CLANG_TBLGEN} -gen-arm-sve-builtin-codegen \
1102	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1103	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1104TGHDRS+=	clang/Basic/arm_sve_builtin_cg.inc
1105
1106clang/Basic/arm_sve_builtins.inc: ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1107	${CLANG_TBLGEN} -gen-arm-sve-builtins \
1108	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1109	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1110TGHDRS+=	clang/Basic/arm_sve_builtins.inc
1111
1112clang/Basic/arm_sve_sema_rangechecks.inc: \
1113	${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1114	${CLANG_TBLGEN} -gen-arm-sve-sema-rangechecks \
1115	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1116	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1117TGHDRS+=	clang/Basic/arm_sve_sema_rangechecks.inc
1118
1119clang/Basic/arm_sve_streaming_attrs.inc: \
1120	${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1121	${CLANG_TBLGEN} -gen-arm-sve-streaming-attrs \
1122	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1123	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1124TGHDRS+=	clang/Basic/arm_sve_streaming_attrs.inc
1125
1126clang/Basic/arm_sve_typeflags.inc: \
1127	${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1128	${CLANG_TBLGEN} -gen-arm-sve-typeflags \
1129	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1130	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sve.td
1131TGHDRS+=	clang/Basic/arm_sve_typeflags.inc
1132
1133clang/Basic/riscv_sifive_vector_builtin_cg.inc: \
1134	${CLANG_SRCS}/include/clang/Basic/riscv_sifive_vector.td
1135	${CLANG_TBLGEN} -gen-riscv-sifive-vector-builtin-codegen \
1136	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1137	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/riscv_sifive_vector.td
1138TGHDRS+=	clang/Basic/riscv_sifive_vector_builtin_cg.inc
1139
1140clang/Basic/riscv_sifive_vector_builtin_sema.inc: \
1141	${CLANG_SRCS}/include/clang/Basic/riscv_sifive_vector.td
1142	${CLANG_TBLGEN} -gen-riscv-sifive-vector-builtin-sema \
1143	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1144	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/riscv_sifive_vector.td
1145TGHDRS+=	clang/Basic/riscv_sifive_vector_builtin_sema.inc
1146
1147clang/Basic/riscv_sifive_vector_builtins.inc: \
1148	${CLANG_SRCS}/include/clang/Basic/riscv_sifive_vector.td
1149	${CLANG_TBLGEN} -gen-riscv-sifive-vector-builtins \
1150	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1151	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/riscv_sifive_vector.td
1152TGHDRS+=	clang/Basic/riscv_sifive_vector_builtins.inc
1153
1154clang/Basic/riscv_vector_builtin_cg.inc: \
1155	${CLANG_SRCS}/include/clang/Basic/riscv_vector.td
1156	${CLANG_TBLGEN} -gen-riscv-vector-builtin-codegen \
1157	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1158	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/riscv_vector.td
1159TGHDRS+=	clang/Basic/riscv_vector_builtin_cg.inc
1160
1161clang/Basic/riscv_vector_builtin_sema.inc: \
1162	${CLANG_SRCS}/include/clang/Basic/riscv_vector.td
1163	${CLANG_TBLGEN} -gen-riscv-vector-builtin-sema \
1164	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1165	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/riscv_vector.td
1166TGHDRS+=	clang/Basic/riscv_vector_builtin_sema.inc
1167
1168clang/Basic/riscv_vector_builtins.inc: \
1169	${CLANG_SRCS}/include/clang/Basic/riscv_vector.td
1170	${CLANG_TBLGEN} -gen-riscv-vector-builtins \
1171	    -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
1172	    -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/riscv_vector.td
1173TGHDRS+=	clang/Basic/riscv_vector_builtins.inc
1174
1175clang/Driver/Options.inc: ${CLANG_SRCS}/include/clang/Driver/Options.td
1176	${LLVM_TBLGEN} -gen-opt-parser-defs \
1177	    -I ${LLVM_SRCS}/include -I ${CLANG_SRCS}/include/clang/Driver \
1178	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1179	    ${CLANG_SRCS}/include/clang/Driver/Options.td
1180TGHDRS+=	clang/Driver/Options.inc
1181
1182clang/Parse/AttrParserStringSwitches.inc: \
1183	${CLANG_SRCS}/include/clang/Basic/Attr.td
1184	${CLANG_TBLGEN} -gen-clang-attr-parser-string-switches \
1185	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1186	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1187TGHDRS+=	clang/Parse/AttrParserStringSwitches.inc
1188
1189clang/Parse/AttrSubMatchRulesParserStringSwitches.inc: \
1190	${CLANG_SRCS}/include/clang/Basic/Attr.td
1191	${CLANG_TBLGEN} -gen-clang-attr-subject-match-rules-parser-string-switches \
1192	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1193	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1194TGHDRS+=	clang/Parse/AttrSubMatchRulesParserStringSwitches.inc
1195
1196clang/Sema/AttrParsedAttrImpl.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1197	${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-impl \
1198	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1199	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1200TGHDRS+=	clang/Sema/AttrParsedAttrImpl.inc
1201
1202clang/Sema/AttrParsedAttrKinds.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1203	${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-kinds \
1204	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1205	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1206TGHDRS+=	clang/Sema/AttrParsedAttrKinds.inc
1207
1208clang/Sema/AttrParsedAttrList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1209	${CLANG_TBLGEN} -gen-clang-attr-parsed-attr-list \
1210	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1211	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1212TGHDRS+=	clang/Sema/AttrParsedAttrList.inc
1213
1214clang/Sema/AttrSpellingListIndex.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1215	${CLANG_TBLGEN} -gen-clang-attr-spelling-index \
1216	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1217	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1218TGHDRS+=	clang/Sema/AttrSpellingListIndex.inc
1219
1220clang/Sema/AttrTemplateInstantiate.inc: \
1221	${CLANG_SRCS}/include/clang/Basic/Attr.td
1222	${CLANG_TBLGEN} -gen-clang-attr-template-instantiate \
1223	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1224	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1225TGHDRS+=	clang/Sema/AttrTemplateInstantiate.inc
1226
1227clang/Serialization/AttrPCHRead.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1228	${CLANG_TBLGEN} -gen-clang-attr-pch-read \
1229	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1230	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1231TGHDRS+=	clang/Serialization/AttrPCHRead.inc
1232
1233clang/Serialization/AttrPCHWrite.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td
1234	${CLANG_TBLGEN} -gen-clang-attr-pch-write \
1235	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1236	    ${CLANG_SRCS}/include/clang/Basic/Attr.td
1237TGHDRS+=	clang/Serialization/AttrPCHWrite.inc
1238
1239clang/StaticAnalyzer/Checkers/Checkers.inc: \
1240	${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/Checkers.td
1241	${CLANG_TBLGEN} -gen-clang-sa-checkers \
1242	    -I ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers \
1243	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1244	    ${CLANG_SRCS}/include/clang/StaticAnalyzer/Checkers/Checkers.td
1245TGHDRS+=	clang/StaticAnalyzer/Checkers/Checkers.inc
1246
1247Opcodes.inc: ${CLANG_SRCS}/lib/AST/Interp/Opcodes.td
1248	${CLANG_TBLGEN} -gen-clang-opcodes \
1249	    -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1250	    ${CLANG_SRCS}/lib/AST/Interp/Opcodes.td
1251TGHDRS+=	Opcodes.inc
1252
1253OpenCLBuiltins.inc: ${CLANG_SRCS}/lib/Sema/OpenCLBuiltins.td
1254	${CLANG_TBLGEN} -gen-clang-opencl-builtins \
1255	    -d ${.TARGET:C/$/.d/} -o ${.TARGET} \
1256	    ${CLANG_SRCS}/lib/Sema/OpenCLBuiltins.td
1257TGHDRS+=	OpenCLBuiltins.inc
1258
1259DEPENDFILES+=	${TGHDRS:C/$/.d/}
1260DPSRCS+=	${TGHDRS}
1261CLEANFILES+=	${TGHDRS} ${TGHDRS:C/$/.d/}
1262
1263.include "../clang.build.mk"
1264
1265INTERNALLIB=
1266
1267.include <bsd.lib.mk>
1268