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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to