Committing patch from <Michael Woerister <michaelwoerister@posteo.net>

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

llvm-svn: 267667
This commit is contained in:
Jason Molenda 2016-04-27 04:50:51 +00:00
parent 0e2f14fa83
commit d8f24a9c4f
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,8 @@ namespace
Language::LanguageIsC (language) ||
Language::LanguageIsCPlusPlus (language) ||
Language::LanguageIsObjC (language) ||
// Use Clang for Rust until there is a proper language plugin for it
language == eLanguageTypeRust ||
language == eLanguageTypeExtRenderScript;
}
}