[PATCH] D61788: Make getObjCEncodingForTypeImpl() take a bitmask instead of 8 bools

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 10 08:17:45 PDT 2019


thakis created this revision.
thakis added a reviewer: rjmccall.

Slightly less code, uses slightly less stack space, and makes it
impossible to mix up the order of all those bools.

No behavior change.


https://reviews.llvm.org/D61788

Files:
  clang/include/clang/AST/ASTContext.h
  clang/lib/AST/ASTContext.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61788.199021.patch
Type: text/x-patch
Size: 16254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190510/8d7ceabd/attachment-0001.bin>


More information about the cfe-commits mailing list