]> granicus.if.org Git - clang/blob - include/clang/Frontend/MigratorOptions.h
arc migrator: Provide infrastructure to add options
[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   MigratorOptions() {
24     NoNSAllocReallocError = 0;
25   }
26 };
27
28 }
29 #endif