[LLVMbugs] [Bug 22649] New: clang_isConstQualifiedType returns false for a LVALUEREFERENCE type

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 20 13:15:14 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22649

            Bug ID: 22649
           Summary: clang_isConstQualifiedType returns false for a
                    LVALUEREFERENCE type
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: SOldn1976 at einrot.com
                CC: klimek at google.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13918
  --> http://llvm.org/bugs/attachment.cgi?id=13918&action=edit
Source files for recreation

clang_isConstQualifiedType returns false for a LVALUEREFERENCE type.
The Attached zip file: a simple C++ class with a method that has a const
reference type as an argument and a Python script that uses libclang to find
the method and said argument then uses is_const_qualified() to ask if the
argument is indeed const but receives a false result.

-- 
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/20150220/b0114d2f/attachment.html>


More information about the llvm-bugs mailing list