http://llvm.org/bugs/show_bug.cgi?id=22580
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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs