2004-01-05 05:25:10 +00:00
|
|
|
//===-- SourceLanguage-CPlusPlus.cpp - C++ SourceLanguage impl ------------===//
|
2005-04-21 22:36:52 +00:00
|
|
|
//
|
2004-01-05 05:25:10 +00:00
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file was developed by the LLVM research group and is distributed under
|
|
|
|
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
2005-04-21 22:36:52 +00:00
|
|
|
//
|
2004-01-05 05:25:10 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
2005-04-21 22:36:52 +00:00
|
|
|
//
|
2004-01-05 05:25:10 +00:00
|
|
|
// This file implements the SourceLanguage class for the C++ language.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/Debugger/SourceLanguage.h"
|
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
namespace {
|
|
|
|
struct CPPSL : public SourceLanguage {
|
|
|
|
} TheCPlusPlusLanguageInstance;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
const SourceLanguage &SourceLanguage::getCPlusPlusInstance() {
|
|
|
|
return get(0); // We don't have an implementation for C yet fall back on
|
|
|
|
// generic
|
|
|
|
}
|