mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
28 lines
886 B
C++
28 lines
886 B
C++
|
//===-- SourceLanguage-CPlusPlus.cpp - C++ SourceLanguage impl ------------===//
|
||
|
//
|
||
|
// 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.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
//
|
||
|
// 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
|
||
|
}
|