[llvm-bugs] [Bug 31267] New: Can't reference variable named 'template'
llvm-bugs at lists.llvm.org
Mon Dec 5 08:50:20 PST 2016
Bug ID: 31267
Summary: Can't reference variable named 'template'
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: mth at xmission.com
CC: llvm-bugs at lists.llvm.org
In an Objective-C program, a local variable named 'template' is visible in the
local variables list, but can't be referenced by command lines. For example,
gives a cryptic error message rather than printing the value. I assume the
problem may be related to the fact that 'template' is a reserved word in one of
the other languages supported by lldb (C++), so this may be indicative of a
more general problem of not being able to reference variables which have names
that coincide with reserved words in other supported languages, but I have not
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs