2004-01-05 13:25:10 +08:00
|
|
|
//===-- SourceLanguage-CFamily.cpp - C family SourceLanguage impl ---------===//
|
2005-04-22 06:36:52 +08:00
|
|
|
//
|
2004-01-05 13:25:10 +08:00
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-30 04:36:04 +08:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2005-04-22 06:36:52 +08:00
|
|
|
//
|
2004-01-05 13:25:10 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
2005-04-22 06:36:52 +08:00
|
|
|
//
|
2004-01-05 13:25:10 +08:00
|
|
|
// This file implements the SourceLanguage class for the C family of languages
|
|
|
|
// (K&R C, C89, C99, etc).
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/Debugger/SourceLanguage.h"
|
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
namespace {
|
|
|
|
struct CSL : public SourceLanguage {
|
|
|
|
} TheCSourceLanguageInstance;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
const SourceLanguage &SourceLanguage::getCFamilyInstance() {
|
|
|
|
return get(0); // We don't have an implementation for C yet fall back on
|
|
|
|
// generic
|
|
|
|
}
|