[PATCH] [AST] Introduce a new DecayedType sugar node

Reid Kleckner rnk at google.com
Thu Jun 20 08:17:49 PDT 2013


Hi rsmith,

The goal of this sugar node is to be able to look at an arbitrary
FunctionType and tell if any of the parameters was decayed from an array
or function type.  Ultimately this is necessary to implement Microsoft's
C++ name mangling scheme, which mangles decayed arrays differently from
normal pointers.

http://llvm-reviews.chandlerc.com/D1014

Files:
  include/clang/AST/ASTContext.h
  include/clang/AST/Decl.h
  include/clang/AST/RecursiveASTVisitor.h
  include/clang/AST/Type.h
  include/clang/AST/TypeLoc.h
  include/clang/AST/TypeNodes.def
  include/clang/Serialization/ASTBitCodes.h
  lib/AST/ASTContext.cpp
  lib/AST/ASTImporter.cpp
  lib/AST/Decl.cpp
  lib/AST/ItaniumMangle.cpp
  lib/AST/TypePrinter.cpp
  lib/CodeGen/CGDebugInfo.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaType.cpp
  lib/Sema/TreeTransform.h
  lib/Serialization/ASTReader.cpp
  lib/Serialization/ASTWriter.cpp
  lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
  test/CodeGenCXX/debug-info.cpp
  test/Index/print-type.c
  test/Sema/function.c
  test/SemaCXX/function-type-qual.cpp
  tools/libclang/CIndex.cpp
  tools/libclang/RecursiveASTVisitor.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1014.1.patch
Type: text/x-patch
Size: 23549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130620/4f8ca80f/attachment.bin>


More information about the cfe-commits mailing list