[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / mlir / include / mlir-c / Debug.h
blob2502f2fa23bf0af021a1388690e4446218010d42
1 //===-- mlir-c/Debug.h - C API for MLIR/LLVM debugging functions --*- C -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM
4 // Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
10 #include "mlir-c/Support.h"
12 #include <stdbool.h>
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
18 /// Sets the global debugging flag.
19 MLIR_CAPI_EXPORTED void mlirEnableGlobalDebug(bool enable);
21 /// Retuns `true` if the global debugging flag is set, false otherwise.
22 MLIR_CAPI_EXPORTED bool mlirIsGlobalDebugEnabled();
24 #ifdef __cplusplus
26 #endif
28 #ifndef MLIR_C_DEBUG_H
29 #define MLIR_C_DEBUG_H
30 #endif // MLIR_C_DEBUG_H