Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 513adbd

Browse files
committed
Committing patch from <Michael Woerister <[email protected]>
to use the default clang C/C++ expression parser when debugging Rust programs. Ideally there would be a rust language plugin to support their language natively, but until then this will get simple variable display to work. http://reviews.llvm.org/D19545 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@267667 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 8384f15 commit 513adbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/Symbol/ClangASTContext.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ namespace
110110
Language::LanguageIsC (language) ||
111111
Language::LanguageIsCPlusPlus (language) ||
112112
Language::LanguageIsObjC (language) ||
113+
// Use Clang for Rust until there is a proper language plugin for it
114+
language == eLanguageTypeRust ||
113115
language == eLanguageTypeExtRenderScript;
114116
}
115117
}

0 commit comments

Comments
 (0)