Files
clang-p2996/lldb/test/expression_command/options/foo.cpp
Dawn Perchik 15663c530e Specify a language to use when parsing expressions.
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
2015-07-25 00:19:39 +00:00

12 lines
119 B
C++

namespace ns {
int func(void)
{
return 0;
}
}
extern "C" int foo(void)
{
return ns::func();
}