Changeset View
Changeset View
Standalone View
Standalone View
clang-tidy/tool/ClangTidyMain.cpp
Show First 20 Lines • Show All 459 Lines • ▼ Show 20 Lines | |||||
static int LLVM_ATTRIBUTE_UNUSED ModernizeModuleAnchorDestination = | static int LLVM_ATTRIBUTE_UNUSED ModernizeModuleAnchorDestination = | ||||
ModernizeModuleAnchorSource; | ModernizeModuleAnchorSource; | ||||
// This anchor is used to force the linker to link the MPIModule. | // This anchor is used to force the linker to link the MPIModule. | ||||
extern volatile int MPIModuleAnchorSource; | extern volatile int MPIModuleAnchorSource; | ||||
static int LLVM_ATTRIBUTE_UNUSED MPIModuleAnchorDestination = | static int LLVM_ATTRIBUTE_UNUSED MPIModuleAnchorDestination = | ||||
MPIModuleAnchorSource; | MPIModuleAnchorSource; | ||||
// This anchor is used to force the linker to link the ObviousModule. | |||||
extern volatile int ObviousModuleAnchorSource; | |||||
static int LLVM_ATTRIBUTE_UNUSED ObviousModuleAnchorDestination = | |||||
ObviousModuleAnchorSource; | |||||
// This anchor is used to force the linker to link the PerformanceModule. | // This anchor is used to force the linker to link the PerformanceModule. | ||||
extern volatile int PerformanceModuleAnchorSource; | extern volatile int PerformanceModuleAnchorSource; | ||||
static int LLVM_ATTRIBUTE_UNUSED PerformanceModuleAnchorDestination = | static int LLVM_ATTRIBUTE_UNUSED PerformanceModuleAnchorDestination = | ||||
PerformanceModuleAnchorSource; | PerformanceModuleAnchorSource; | ||||
// This anchor is used to force the linker to link the ReadabilityModule. | // This anchor is used to force the linker to link the ReadabilityModule. | ||||
extern volatile int ReadabilityModuleAnchorSource; | extern volatile int ReadabilityModuleAnchorSource; | ||||
static int LLVM_ATTRIBUTE_UNUSED ReadabilityModuleAnchorDestination = | static int LLVM_ATTRIBUTE_UNUSED ReadabilityModuleAnchorDestination = | ||||
ReadabilityModuleAnchorSource; | ReadabilityModuleAnchorSource; | ||||
} // namespace tidy | } // namespace tidy | ||||
} // namespace clang | } // namespace clang | ||||
int main(int argc, const char **argv) { | int main(int argc, const char **argv) { | ||||
return clang::tidy::clangTidyMain(argc, argv); | return clang::tidy::clangTidyMain(argc, argv); | ||||
} | } |