This patch adds the option -l/--language to the expression command, for use when setting the language options or choosing an alternate FE. If not specified, the target.language setting is used. Reviewed by: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11447 llvm-svn: 243187
12 lines
119 B
C++
12 lines
119 B
C++
namespace ns {
|
|
int func(void)
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
extern "C" int foo(void)
|
|
{
|
|
return ns::func();
|
|
}
|