[PATCH] D16930: Improve literal operator parameter diagnostics.

Erik Pilkington via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 5 10:32:33 PST 2016


erik.pilkington created this revision.
erik.pilkington added a reviewer: rsmith.
erik.pilkington added a subscriber: cfe-commits.

Previously, invalid parameters in a literal operator function were diagnosed with an uninformative catch all. This commit breaks the catch all into a couple of more informative cases.

http://reviews.llvm.org/D16930

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaDeclCXX.cpp
  test/CXX/over/over.oper/over.literal/p5.cpp
  test/CXX/over/over.oper/over.literal/p8.cpp
  test/SemaCXX/literal-operators.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16930.47025.patch
Type: text/x-patch
Size: 14091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160205/cf469c12/attachment.bin>


More information about the cfe-commits mailing list