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_H 16 #define LLVM_CLANG_FRONTEND_MIGRATOROPTIONS_H 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 32