[LLVMbugs] [Bug 22580] New: diagnostics crash on invalid code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 13 10:18:57 PST 2015


            Bug ID: 22580
           Summary: diagnostics crash on invalid code
           Product: clang
           Version: 3.5
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jsanchezsilvera at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

.sh file output
 "C:\Program Files (x86)\LLVM\bin\clang.exe" -cc1 -triple i686-pc-windows-gnu
-emit-obj -mrelax-all -disable-free -main-file-name main.cpp -mrelocation-model
static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases
-target-cpu pentium4 -dwarf-column-info -fdeprecated-macro -ferror-limit 19
-fmessage-length 80 -mstackrealign -fno-use-cxa-atexit -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -x
c++ main-990a42.cpp

Removing the following line in the code makes clang work properly

Player(std::string, int)

It still crashes when the ending colon is properly placed.

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/20150213/fa813cc4/attachment.html>

More information about the llvm-bugs mailing list