]> granicus.if.org Git - clang/commit
Implement the sizeof...(pack) expression to compute the length of a
authorDouglas Gregor <dgregor@apple.com>
Tue, 4 Jan 2011 17:33:58 +0000 (17:33 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 4 Jan 2011 17:33:58 +0000 (17:33 +0000)
commitee8aff06f6a96214731de17b2cb6df407c6c1820
treeb3ceca1e1f5b668c492de0c8ddec937e78b228fa
parentbb03f5dbc23fb9aa1dfdf6a1dfdb192aa56b6b1c
Implement the sizeof...(pack) expression to compute the length of a
parameter pack.

Note that we're missing proper libclang support for the new
SizeOfPackExpr expression node.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122813 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
include/clang/AST/ExprCXX.h
include/clang/AST/RecursiveASTVisitor.h
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/StmtNodes.td
include/clang/Sema/Sema.h
include/clang/Serialization/ASTBitCodes.h
lib/AST/ExprCXX.cpp
lib/AST/ExprClassification.cpp
lib/AST/ExprConstant.cpp
lib/AST/StmtPrinter.cpp
lib/AST/StmtProfile.cpp
lib/Parse/ParseExpr.cpp
lib/Sema/SemaTemplateVariadic.cpp
lib/Sema/TreeTransform.h
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
test/CXX/expr/expr.unary/expr.sizeof/p5-0x.cpp [new file with mode: 0644]
tools/libclang/CIndex.cpp
tools/libclang/CXCursor.cpp