clang API Documentation
00001 //===--- Phases.h - Transformations on Driver Types -------------*- 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 #ifndef CLANG_DRIVER_PHASES_H_ 00011 #define CLANG_DRIVER_PHASES_H_ 00012 00013 namespace clang { 00014 namespace driver { 00015 namespace phases { 00016 /// ID - Ordered values for successive stages in the 00017 /// compilation process which interact with user options. 00018 enum ID { 00019 Preprocess, 00020 Precompile, 00021 Compile, 00022 Assemble, 00023 Link 00024 }; 00025 00026 const char *getPhaseName(ID Id); 00027 00028 } // end namespace phases 00029 } // end namespace driver 00030 } // end namespace clang 00031 00032 #endif