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@lists.llvm.org
          Reporter: m...@xmission.com
                CC: llvm-b...@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 the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to