]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/llvm/tools/clang/include/clang/Frontend/MigratorOptions.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / llvm / tools / clang / include / clang / Frontend / MigratorOptions.h
1 //===--- MigratorOptions.h - MigratorOptions Options ------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This header contains the structures necessary for a front-end to specify
11 // various migration analysis.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef LLVM_CLANG_FRONTEND_MIGRATOROPTIONS
16 #define LLVM_CLANG_FRONTEND_MIGRATOROPTIONS
17
18 namespace clang {
19
20 class MigratorOptions {
21 public:
22   unsigned NoNSAllocReallocError : 1;
23   unsigned NoFinalizeRemoval : 1;
24   MigratorOptions() {
25     NoNSAllocReallocError = 0;
26     NoFinalizeRemoval = 0;
27   }
28 };
29
30 }
31 #endif