clang 10.0.0git

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 namespace clang {
18
19 class MigratorOptions {
20 public:
21 unsigned NoNSAllocReallocError : 1;
22 unsigned NoFinalizeRemoval : 1;
23 MigratorOptions() {
24 NoNSAllocReallocError = 0;
25 NoFinalizeRemoval = 0;
26 }
27 };
28
29 }
30 #endif
clang::MigratorOptions::NoFinalizeRemoval
unsigned NoFinalizeRemoval
Definition: MigratorOptions.h:22
clang::MigratorOptions::NoNSAllocReallocError
unsigned NoNSAllocReallocError
Definition: MigratorOptions.h:21
clang
Dataflow Directional Tag Classes.
Definition: CFGReachabilityAnalysis.h:21
clang::MigratorOptions::MigratorOptions
MigratorOptions()
Definition: MigratorOptions.h:23
clang::MigratorOptions
Definition: MigratorOptions.h:19