[PATCH] D46307: [PATCH 1/3] [RFC only] Hack to add some sizeless built-in types

Richard Sandiford via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 1 04:55:46 PDT 2018


rsandifo-arm created this revision.
Herald added subscribers: cfe-commits, rengolin.

[ Not intended for commit.  I'm just posting it to back up an

  RFC on cfe-dev. ]

This patch is a hack to add two new "sizeless builtin" types __SVInt8_t
and __SVInt16_t.  The real SVE implementation looks nothing like this;
the patch is just the most direct way of adding two distinct sizeless
types to the type system, so that a follow-on patch can add and test
support for sizeless types in a meaningful way.


Repository:
  rC Clang

https://reviews.llvm.org/D46307

Files:
  include/clang/AST/ASTContext.h
  include/clang/AST/BuiltinTypes.def
  include/clang/AST/CanonicalType.h
  include/clang/AST/Type.h
  include/clang/Serialization/ASTBitCodes.h
  lib/AST/ASTContext.cpp
  lib/AST/ExprConstant.cpp
  lib/AST/ItaniumMangle.cpp
  lib/AST/MicrosoftMangle.cpp
  lib/AST/NSAPI.cpp
  lib/AST/Type.cpp
  lib/AST/TypeLoc.cpp
  lib/CodeGen/CGDebugInfo.cpp
  lib/CodeGen/CodeGenTypes.cpp
  lib/CodeGen/ItaniumCXXABI.cpp
  lib/Index/USRGeneration.cpp
  lib/Sema/Sema.cpp
  lib/Serialization/ASTCommon.cpp
  lib/Serialization/ASTReader.cpp
  tools/libclang/CIndex.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46307.144693.patch
Type: text/x-patch
Size: 14767 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180501/83418012/attachment.bin>


More information about the cfe-commits mailing list