File indexing completed on 2026-05-10 08:36:23
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYFORCELINKER_H
0010 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYFORCELINKER_H
0011
0012 #include "clang-tidy-config.h"
0013 #include "llvm/Support/Compiler.h"
0014
0015 namespace clang::tidy {
0016
0017
0018 extern volatile int AbseilModuleAnchorSource;
0019 static int LLVM_ATTRIBUTE_UNUSED AbseilModuleAnchorDestination =
0020 AbseilModuleAnchorSource;
0021
0022
0023 extern volatile int AlteraModuleAnchorSource;
0024 static int LLVM_ATTRIBUTE_UNUSED AlteraModuleAnchorDestination =
0025 AlteraModuleAnchorSource;
0026
0027
0028 extern volatile int AndroidModuleAnchorSource;
0029 static int LLVM_ATTRIBUTE_UNUSED AndroidModuleAnchorDestination =
0030 AndroidModuleAnchorSource;
0031
0032
0033 extern volatile int BoostModuleAnchorSource;
0034 static int LLVM_ATTRIBUTE_UNUSED BoostModuleAnchorDestination =
0035 BoostModuleAnchorSource;
0036
0037
0038 extern volatile int BugproneModuleAnchorSource;
0039 static int LLVM_ATTRIBUTE_UNUSED BugproneModuleAnchorDestination =
0040 BugproneModuleAnchorSource;
0041
0042
0043 extern volatile int CERTModuleAnchorSource;
0044 static int LLVM_ATTRIBUTE_UNUSED CERTModuleAnchorDestination =
0045 CERTModuleAnchorSource;
0046
0047
0048 extern volatile int ConcurrencyModuleAnchorSource;
0049 static int LLVM_ATTRIBUTE_UNUSED ConcurrencyModuleAnchorDestination =
0050 ConcurrencyModuleAnchorSource;
0051
0052
0053 extern volatile int CppCoreGuidelinesModuleAnchorSource;
0054 static int LLVM_ATTRIBUTE_UNUSED CppCoreGuidelinesModuleAnchorDestination =
0055 CppCoreGuidelinesModuleAnchorSource;
0056
0057
0058 extern volatile int DarwinModuleAnchorSource;
0059 static int LLVM_ATTRIBUTE_UNUSED DarwinModuleAnchorDestination =
0060 DarwinModuleAnchorSource;
0061
0062
0063 extern volatile int FuchsiaModuleAnchorSource;
0064 static int LLVM_ATTRIBUTE_UNUSED FuchsiaModuleAnchorDestination =
0065 FuchsiaModuleAnchorSource;
0066
0067
0068 extern volatile int GoogleModuleAnchorSource;
0069 static int LLVM_ATTRIBUTE_UNUSED GoogleModuleAnchorDestination =
0070 GoogleModuleAnchorSource;
0071
0072
0073 extern volatile int HICPPModuleAnchorSource;
0074 static int LLVM_ATTRIBUTE_UNUSED HICPPModuleAnchorDestination =
0075 HICPPModuleAnchorSource;
0076
0077
0078 extern volatile int LinuxKernelModuleAnchorSource;
0079 static int LLVM_ATTRIBUTE_UNUSED LinuxKernelModuleAnchorDestination =
0080 LinuxKernelModuleAnchorSource;
0081
0082
0083 extern volatile int LLVMModuleAnchorSource;
0084 static int LLVM_ATTRIBUTE_UNUSED LLVMModuleAnchorDestination =
0085 LLVMModuleAnchorSource;
0086
0087
0088 extern volatile int LLVMLibcModuleAnchorSource;
0089 static int LLVM_ATTRIBUTE_UNUSED LLVMLibcModuleAnchorDestination =
0090 LLVMLibcModuleAnchorSource;
0091
0092
0093 extern volatile int MiscModuleAnchorSource;
0094 static int LLVM_ATTRIBUTE_UNUSED MiscModuleAnchorDestination =
0095 MiscModuleAnchorSource;
0096
0097
0098 extern volatile int ModernizeModuleAnchorSource;
0099 static int LLVM_ATTRIBUTE_UNUSED ModernizeModuleAnchorDestination =
0100 ModernizeModuleAnchorSource;
0101
0102 #if CLANG_TIDY_ENABLE_STATIC_ANALYZER && \
0103 !defined(CLANG_TIDY_DISABLE_STATIC_ANALYZER_CHECKS)
0104
0105 extern volatile int MPIModuleAnchorSource;
0106 static int LLVM_ATTRIBUTE_UNUSED MPIModuleAnchorDestination =
0107 MPIModuleAnchorSource;
0108 #endif
0109
0110
0111 extern volatile int ObjCModuleAnchorSource;
0112 static int LLVM_ATTRIBUTE_UNUSED ObjCModuleAnchorDestination =
0113 ObjCModuleAnchorSource;
0114
0115
0116 extern volatile int OpenMPModuleAnchorSource;
0117 static int LLVM_ATTRIBUTE_UNUSED OpenMPModuleAnchorDestination =
0118 OpenMPModuleAnchorSource;
0119
0120
0121 extern volatile int PerformanceModuleAnchorSource;
0122 static int LLVM_ATTRIBUTE_UNUSED PerformanceModuleAnchorDestination =
0123 PerformanceModuleAnchorSource;
0124
0125
0126 extern volatile int PortabilityModuleAnchorSource;
0127 static int LLVM_ATTRIBUTE_UNUSED PortabilityModuleAnchorDestination =
0128 PortabilityModuleAnchorSource;
0129
0130
0131 extern volatile int ReadabilityModuleAnchorSource;
0132 static int LLVM_ATTRIBUTE_UNUSED ReadabilityModuleAnchorDestination =
0133 ReadabilityModuleAnchorSource;
0134
0135
0136 extern volatile int ZirconModuleAnchorSource;
0137 static int LLVM_ATTRIBUTE_UNUSED ZirconModuleAnchorDestination =
0138 ZirconModuleAnchorSource;
0139
0140 }
0141
0142 #endif