Missing comma diagnostics patch

2017-04-30 Thread Zaid Alkhishman via cfe-commits
Hello, This patch adds missing comma diagnostics to initializer lists. I'm attaching the .diff (git), an input .c and the compilation output .out Let me know if there are any required changes. Regards, Zaid zaid.al.khish...@gmail.com (Note, I tried subscribing to cfe-commits but it said the

Fwd: Missing comma diagnostics patch

2017-05-01 Thread Zaid Alkhishman via cfe-commits
FYI: Seems like my confirmation string was expired. -- Forwarded message -- From: Zaid Alkhishman Date: Sat, Apr 29, 2017 at 11:44 PM Subject: Missing comma diagnostics patch To: cfe-commits@lists.llvm.org Hello, This patch adds missing comma diagnostics to initializer lists.

First patch (Missing commas diagnostics)

2017-05-02 Thread Zaid Alkhishman via cfe-commits
This is my first patch. It's targeted at the parser/diagnostics. The goal of the patch is to anticipate missing commas in initializer lists and report them appropriately as errors, instead of the current "expected '}' to match '}'" errors. In summary, It detects missing commas only when successfu