diff options
author | Manuel Klimek <klimek@google.com> | 2013-01-21 19:17:52 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2013-01-21 19:17:52 +0000 |
commit | 2cec01916c47a097f8777c85c22e66a88b684949 (patch) | |
tree | 1521b061e709df2846fa790678a8b4bd73703aba /lldb/source/Interpreter/OptionGroupFormat.cpp | |
parent | 085c5450d9f22e48d9440811fe94e627ff3b20df (diff) | |
download | bcm5719-llvm-2cec01916c47a097f8777c85c22e66a88b684949.tar.gz bcm5719-llvm-2cec01916c47a097f8777c85c22e66a88b684949.zip |
Fixes various problems around enum parsing.
Very similar to what we do for record definitions:
- tighten down what is an enum definition, so that we don't mistake a
function for an enum
- allow common idioms around declarations (we'll want to handle that
more centrally in the future)
We now correctly format:
enum X f() {
a();
return 42;
}
llvm-svn: 173075
Diffstat (limited to 'lldb/source/Interpreter/OptionGroupFormat.cpp')
0 files changed, 0 insertions, 0 deletions