[PATCH] D77378: [Clang] Include size and maximum in vector size error message.
Florian Hahn via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 3 03:43:50 PDT 2020
fhahn created this revision.
fhahn added reviewers: hokein, sammccall, rnk.
Herald added a project: clang.
The error message for invalid vector sizes can be a bit more helpful by
including the actual maximum. This should match the recently added
suggestions for error messages in the coding standard.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77378
Files:
clang/include/clang/AST/Type.h
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaType.cpp
clang/test/Sema/types.c
clang/test/SemaCXX/vector.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77378.254738.patch
Type: text/x-patch
Size: 5124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200403/00cd4b2e/attachment-0001.bin>
More information about the cfe-commits
mailing list