1 //===----------------------------------------------------------------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #include "clang-tidy/ClangTidyCheck.h" 10 11 namespace libcpp { 12 class proper_version_checks : public clang::tidy::ClangTidyCheck { 13 public: 14 proper_version_checks(llvm::StringRef, clang::tidy::ClangTidyContext*); 15 void registerPPCallbacks(const clang::SourceManager& source_manager, 16 clang::Preprocessor* preprocessor, 17 clang::Preprocessor* module_expander) override; 18 }; 19 } // namespace libcpp 20