[PATCH] Patch to implement a fix for PR20000

Richard Trieu rtrieu at google.com
Tue Mar 31 22:35:12 PDT 2015


As noted in https://llvm.org/bugs/show_bug.cgi?id=20000 Clang lacks "a necessary feature for any real compiler" and this patch attempts to fix that oversight.  Although the content is a little light a the moment and the code could be cleaned up a bit and integration with the diagnostics systems could be better, it shows real promise in extending Clang into this feature space.  With that said, I give you the first draft of --tell-me-a-story mode for Clang.

http://reviews.llvm.org/D8759

Files:
  include/clang/Basic/Diagnostic.h
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticIDs.h
  include/clang/Basic/DiagnosticOptions.def
  include/clang/Basic/DiagnosticParseKinds.td
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Driver/Options.td
  lib/Basic/Diagnostic.cpp
  lib/Basic/DiagnosticIDs.cpp
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Sema/SemaChecking.cpp
  lib/Sema/SemaExprCXX.cpp
  test/Misc/story/12345.cpp
  test/Misc/story/else.cpp
  test/Misc/story/hunter2.cpp
  test/Misc/story/nightmare.cpp
  test/Misc/story/return.cpp
  test/Misc/story/throw.cpp
  test/Misc/story/wish.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8759.23028.patch
Type: text/x-patch
Size: 25542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150401/ec1fedf3/attachment.bin>


More information about the cfe-commits mailing list