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 hide_from_abi : public clang::tidy::ClangTidyCheck { 13 public: 14 hide_from_abi(llvm::StringRef, clang::tidy::ClangTidyContext*); 15 void registerMatchers(clang::ast_matchers::MatchFinder*) override; 16 void check(const clang::ast_matchers::MatchFinder::MatchResult&) override; 17 }; 18 } // namespace libcpp 19