clang
20.0.0git
include
clang
Frontend
MigratorOptions.h
Go to the documentation of this file.
1
//===--- MigratorOptions.h - MigratorOptions Options ------------*- 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 header contains the structures necessary for a front-end to specify
10
// various migration analysis.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_CLANG_FRONTEND_MIGRATOROPTIONS_H
15
#define LLVM_CLANG_FRONTEND_MIGRATOROPTIONS_H
16
17
#include "llvm/Support/Compiler.h"
18
19
namespace
clang
{
20
21
class
MigratorOptions
{
22
public
:
23
LLVM_PREFERRED_TYPE(
bool
)
24
unsigned
NoNSAllocReallocError
: 1;
25
LLVM_PREFERRED_TYPE(
bool
)
26
unsigned
NoFinalizeRemoval
: 1;
27
MigratorOptions
() {
28
NoNSAllocReallocError
= 0;
29
NoFinalizeRemoval
= 0;
30
}
31
};
32
33
}
34
#endif
clang::MigratorOptions
Definition:
MigratorOptions.h:21
clang::MigratorOptions::NoNSAllocReallocError
unsigned NoNSAllocReallocError
Definition:
MigratorOptions.h:24
clang::MigratorOptions::NoFinalizeRemoval
unsigned NoFinalizeRemoval
Definition:
MigratorOptions.h:26
unsigned
clang
The JSON file list parser is used to communicate input to InstallAPI.
Definition:
CalledOnceCheck.h:17
Generated on Fri Nov 22 2024 09:47:16 for clang by
1.9.6