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

Commit

Permalink
Committing patch from <Michael Woerister <[email protected]>
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jasonmolenda committed Apr 27, 2016
1 parent 8384f15 commit 513adbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/Symbol/ClangASTContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 513adbd

Please sign in to comment.