[PATCH] D55544: Warning: objc-encodings-larger-than=
Dave MacLachlan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 10 20:01:51 PST 2018
dmaclach created this revision.
dmaclach added a project: clang.
Herald added a subscriber: cfe-commits.
Issue a warning when the Objective C runtime encoding generated for an iVar, method, or block exceeds a user configurable value.
Off by default.
Note that handling iVars and methods will also get us properties.
Objective C runtime information can get very large (several K) and most of it is unused. Having the warning allows us to diagnose where the problem exists in our code.
Repository:
rC Clang
https://reviews.llvm.org/D55544
Files:
docs/ReleaseNotes.rst
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/LangOptions.def
include/clang/Driver/Options.td
include/clang/Sema/Sema.h
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExpr.cpp
test/SemaObjC/objc-large-encoding-warn.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55544.177652.patch
Type: text/x-patch
Size: 9866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181211/0ee35f8a/attachment.bin>
More information about the cfe-commits
mailing list