clang API Documentation
00001 //===--- MigratorOptions.h - MigratorOptions Options ------------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This header contains the structures necessary for a front-end to specify 00011 // various migration analysis. 00012 // 00013 //===----------------------------------------------------------------------===// 00014 00015 #ifndef LLVM_CLANG_FRONTEND_MIGRATOROPTIONS_H 00016 #define LLVM_CLANG_FRONTEND_MIGRATOROPTIONS_H 00017 00018 namespace clang { 00019 00020 class MigratorOptions { 00021 public: 00022 unsigned NoNSAllocReallocError : 1; 00023 unsigned NoFinalizeRemoval : 1; 00024 MigratorOptions() { 00025 NoNSAllocReallocError = 0; 00026 NoFinalizeRemoval = 0; 00027 } 00028 }; 00029 00030 } 00031 #endif