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

             Bug #: 11801
           Summary: pretty-printing loses decimal point for double
                    literals
           Product: clang
           Version: 3.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Running "clang -cc1 -ast-print file.cpp" on following source:

int main()
{
    double x = 1/2.;
}


Produces following source:

int main() {
    double x = 1 / 2;
}

Obviously x is not 0.5 anymore.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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