]> granicus.if.org Git - clang/commit
Implement a new type node, UnaryTransformType, designed to represent a
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Tue, 24 May 2011 22:41:36 +0000 (22:41 +0000)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Tue, 24 May 2011 22:41:36 +0000 (22:41 +0000)
commitca63c200346c0ca9e00194ec6e34a5a7b0ed9321
tree524567d3f4d689a14be1e3df8b9a70bd9cb4ca52
parentcd583ff142121d186b7f6c264ed552607f2aa3a2
Implement a new type node, UnaryTransformType, designed to represent a
type that turns one type into another. This is used as the basis to
implement __underlying_type properly - with TypeSourceInfo and proper
behavior in the face of templates.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132017 91177308-0d34-0410-b5e6-96231b3b80d8
29 files changed:
include/clang/AST/ASTContext.h
include/clang/AST/CanonicalType.h
include/clang/AST/RecursiveASTVisitor.h
include/clang/AST/Type.h
include/clang/AST/TypeLoc.h
include/clang/AST/TypeNodes.def
include/clang/Basic/Specifiers.h
include/clang/Sema/DeclSpec.h
include/clang/Sema/Sema.h
include/clang/Serialization/ASTBitCodes.h
lib/AST/ASTContext.cpp
lib/AST/ASTImporter.cpp
lib/AST/ItaniumMangle.cpp
lib/AST/MicrosoftMangle.cpp
lib/AST/Type.cpp
lib/AST/TypePrinter.cpp
lib/CodeGen/CGDebugInfo.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Sema/DeclSpec.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateDeduction.cpp
lib/Sema/SemaTemplateVariadic.cpp
lib/Sema/SemaType.cpp
lib/Sema/TreeTransform.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/SemaCXX/underlying_type.cpp
tools/libclang/CIndex.cpp