LLVM API Documentation
00001 //===-- SourceLanguage-CFamily.cpp - C family SourceLanguage impl ---------===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file was developed by the LLVM research group and is distributed under 00006 // the University of Illinois Open Source License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file implements the SourceLanguage class for the C family of languages 00011 // (K&R C, C89, C99, etc). 00012 // 00013 //===----------------------------------------------------------------------===// 00014 00015 #include "llvm/Debugger/SourceLanguage.h" 00016 using namespace llvm; 00017 00018 #if 0 00019 namespace { 00020 struct CSL : public SourceLanguage { 00021 } TheCSourceLanguageInstance; 00022 } 00023 #endif 00024 00025 const SourceLanguage &SourceLanguage::getCFamilyInstance() { 00026 return get(0); // We don't have an implementation for C yet fall back on 00027 // generic 00028 }