1 //===--- MigratorOptions.h - MigratorOptions Options ------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This header contains the structures necessary for a front-end to specify
10 // various migration analysis.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_CLANG_FRONTEND_MIGRATOROPTIONS_H
15 #define LLVM_CLANG_FRONTEND_MIGRATOROPTIONS_H
19 class MigratorOptions {
21 unsigned NoNSAllocReallocError : 1;
22 unsigned NoFinalizeRemoval : 1;
24 NoNSAllocReallocError = 0;
25 NoFinalizeRemoval = 0;