brintos

brintos / llvm-project-archived public Read only

0
0
Text · 853 B · 72a9ba1 Raw
39 lines · c
1//===--- Header for test bugprone-signal-handler.cpp ------------*- C++ -*-===//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-exception6//7//===----------------------------------------------------------------------===//8 9#define SIGINT 110#define SIG_IGN std::_sig_ign11#define SIG_DFL std::_sig_dfl12 13namespace std {14 15void _sig_ign(int);16void _sig_dfl(int);17 18typedef void (*sighandler_t)(int);19sighandler_t signal(int, sighandler_t);20 21void abort();22void _Exit(int);23void quick_exit(int);24 25void other_call();26 27struct SysStruct {28  void operator<<(int);29};30 31} // namespace std32 33namespace system_other {34 35typedef void (*sighandler_t)(int);36sighandler_t signal(int, sighandler_t);37 38} // namespace system_other39