[llvm-bugs] [Bug 35244] New: Code completion output is non-deterministic

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 8 04:58:57 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=35244

            Bug ID: 35244
           Summary: Code completion output is non-deterministic
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ibiryukov at google.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Created attachment 19384
  --> https://bugs.llvm.org/attachment.cgi?id=19384&action=edit
Simple test-case

It seems only function name is taken into account when sorting, same overloads
don't get sorted properly and we may get non-deterministic output.

See attached FileCheck test, it fails with LLVM_REVERSE_ITERATION:BOOL=ON and
passes with normal compiles.

-- 
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/20171108/031870d4/attachment.html>


More information about the llvm-bugs mailing list