[llvm-bugs] [Bug 31267] New: Can't reference variable named 'template'
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Dec 5 08:50:20 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=31267
Bug ID: 31267
Summary: Can't reference variable named 'template'
Product: lldb
Version: unspecified
Hardware: Macintosh
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: mth at xmission.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
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,
po template
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
verified this.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161205/956f599c/attachment.html>
More information about the llvm-bugs
mailing list