diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2015-02-06 21:38:51 +0000 | 
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2015-02-06 21:38:51 +0000 | 
| commit | 205afe679855a4ce8149cdaa94d3f0868ce796dc (patch) | |
| tree | 09bc83f73246ee3c7a779605cd0122093d2a8a19 /source/API/SBCompileUnit.cpp | |
| parent | 0cac4ca3916ac24ab6139d03cbfd18db9e715bfe (diff) | |
Notes
Diffstat (limited to 'source/API/SBCompileUnit.cpp')
| -rw-r--r-- | source/API/SBCompileUnit.cpp | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/source/API/SBCompileUnit.cpp b/source/API/SBCompileUnit.cpp index 03c25710a9e42..5d904ce563004 100644 --- a/source/API/SBCompileUnit.cpp +++ b/source/API/SBCompileUnit.cpp @@ -228,6 +228,14 @@ SBCompileUnit::FindSupportFileIndex (uint32_t start_idx, const SBFileSpec &sb_fi      return 0;  } +lldb::LanguageType +SBCompileUnit::GetLanguage () +{ +    if (m_opaque_ptr) +        return m_opaque_ptr->GetLanguage(); +    return lldb::eLanguageTypeUnknown; +} +  bool  SBCompileUnit::IsValid () const  {  | 
