[PATCH] Add an AdjustedType sugar node for adjusting calling conventions
Reid Kleckner
rnk at google.com
Wed Dec 4 12:47:46 PST 2013
Hi rsmith, rafael,
In general, this type node can be used to represent any type adjustment
that occurs implicitly without losing type sugar. The immediate use of
this is to adjust the calling conventions of member function pointer
types without breaking template instantiation.
Fixes PR17996.
http://llvm-reviews.chandlerc.com/D2332
Files:
include/clang/AST/ASTContext.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/ASTDiagnostic.cpp
lib/AST/ASTImporter.cpp
lib/AST/Comment.cpp
lib/AST/Decl.cpp
lib/AST/DeclPrinter.cpp
lib/AST/ItaniumMangle.cpp
lib/AST/Type.cpp
lib/AST/TypePrinter.cpp
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/Sema/SemaType.cpp
lib/Sema/TreeTransform.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/SemaCXX/calling-conv-compat.cpp
test/SemaCXX/decl-microsoft-call-conv.cpp
tools/libclang/CIndex.cpp
tools/libclang/RecursiveASTVisitor.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2332.1.patch
Type: text/x-patch
Size: 26777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131204/35901513/attachment.bin>
More information about the cfe-commits
mailing list