[clang] Add test for CWG190 "Layout-compatible POD-struct types" (#121668)
[llvm-project.git] / llvm / lib / Support / DebugOptions.h
blobdb727d5a584cb703b14981d77e0ebece7d7f407d
1 //===-- DebugOptions.h - Global Command line opt for libSupport *- 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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file defines the entry point to initialize the options registered on the
10 // command line for libSupport, this is internal to libSupport.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_SUPPORT_DEBUGOPTIONS_H
15 #define LLVM_SUPPORT_DEBUGOPTIONS_H
17 namespace llvm {
19 // These are invoked internally before parsing command line options.
20 // This enables lazy-initialization of all the globals in libSupport, instead
21 // of eagerly loading everything on program startup.
22 void initDebugCounterOptions();
23 void initGraphWriterOptions();
24 void initSignalsOptions();
25 void initStatisticOptions();
26 void initTimerOptions();
27 void initTypeSizeOptions();
28 void initWithColorOptions();
29 void initDebugOptions();
30 void initRandomSeedOptions();
32 } // namespace llvm
34 #endif // LLVM_SUPPORT_DEBUGOPTIONS_H