clang API Documentation
00001 //===--- Util.h - Common Driver Utilities -----------------------*- 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 LLVM_CLANG_DRIVER_UTIL_H 00011 #define LLVM_CLANG_DRIVER_UTIL_H 00012 00013 #include "clang/Basic/LLVM.h" 00014 #include "llvm/ADT/DenseMap.h" 00015 00016 namespace clang { 00017 class DiagnosticsEngine; 00018 00019 namespace driver { 00020 class Action; 00021 class JobAction; 00022 00023 /// ArgStringMap - Type used to map a JobAction to its result file. 00024 typedef llvm::DenseMap<const JobAction*, const char*> ArgStringMap; 00025 00026 /// ActionList - Type used for lists of actions. 00027 typedef SmallVector<Action*, 3> ActionList; 00028 00029 } // end namespace driver 00030 } // end namespace clang 00031 00032 #endif