forked from OSchip/llvm-project
Add support for the Dylan language to ClangASTContext
Summary: This change adds eLanguageTypeDylan to the set of languages supported by ClangASTContext. Debug info generated by the Open Dylan compiler's LLVM back-end was designed to be compatible with C debug info. Patch by Peter Housel. Reviewers: clayborg Reviewed By: clayborg Subscribers: brucem, lldb-commits, aprantl Differential Revision: https://reviews.llvm.org/D54886 llvm-svn: 347637
This commit is contained in:
parent
1b553a7472
commit
b8233f8c06
|
@ -119,7 +119,9 @@ ClangASTContextSupportsLanguage(lldb::LanguageType language) {
|
|||
language == eLanguageTypeRust ||
|
||||
language == eLanguageTypeExtRenderScript ||
|
||||
// Use Clang for D until there is a proper language plugin for it
|
||||
language == eLanguageTypeD;
|
||||
language == eLanguageTypeD ||
|
||||
// Open Dylan compiler debug info is designed to be Clang-compatible
|
||||
language == eLanguageTypeDylan;
|
||||
}
|
||||
|
||||
// Checks whether m1 is an overload of m2 (as opposed to an override). This is
|
||||
|
|
Loading…
Reference in New Issue