aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-10-19 13:04:20 +0000
committerDavid Greene <greened@obbligato.org>2011-10-19 13:04:20 +0000
commitd4263a6ad007aa538e180ed559fac125eed520a2 (patch)
treec13a6c6aa7e6af69caa26694d162d76cab9534d2 /lldb/source/Commands/CommandObjectThread.cpp
parentd699161a997082c4cc8e57ddd712eb8bdb68722c (diff)
downloadllvm-d4263a6ad007aa538e180ed559fac125eed520a2.zip
llvm-d4263a6ad007aa538e180ed559fac125eed520a2.tar.gz
llvm-d4263a6ad007aa538e180ed559fac125eed520a2.tar.bz2
Make ID Parsing More Flexible
Add a mode control to value and ID parsers. The two modes are: - Parse a value. Expect the parsed ID to map to an existing object. - Parse a name. Expect the parsed ID to not map to any existing object. The first is used when parsing an identifier to be looked up, for example a record field or template argument. The second is used for parsing declarations. Paste functionality implies that declarations can contain arbitrary expressions so we need to be able to call into the general value parser to parse declarations with paste operators. So we need a way to parse a value-like thing without expecting that the result will map to some existing object. This parse mode provides that. llvm-svn: 142519
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions