]> granicus.if.org Git - clang/commit
Add support for builtin astype:
authorTanya Lattner <tonic@nondot.org>
Sat, 4 Jun 2011 00:47:47 +0000 (00:47 +0000)
committerTanya Lattner <tonic@nondot.org>
Sat, 4 Jun 2011 00:47:47 +0000 (00:47 +0000)
commit61eee0ca33b29e102f11bab77c8b74cc00e2392b
tree6d15da9dbb7e38437454db0f20493b479bc4eedb
parent9198126067a447f8aaccf9fff09be294c8bcb81e
Add support for builtin astype:
__builtin_astype(): Used to reinterpreted as another data type of the same size using for both scalar and vector data types.
Added test case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132612 91177308-0d34-0410-b5e6-96231b3b80d8
21 files changed:
include/clang/AST/Expr.h
include/clang/AST/RecursiveASTVisitor.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/StmtNodes.td
include/clang/Basic/TokenKinds.def
include/clang/Sema/Sema.h
include/clang/Serialization/ASTBitCodes.h
lib/AST/ExprClassification.cpp
lib/AST/ExprConstant.cpp
lib/AST/ItaniumMangle.cpp
lib/AST/StmtPrinter.cpp
lib/AST/StmtProfile.cpp
lib/CodeGen/CGExprScalar.cpp
lib/Parse/ParseExpr.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/TreeTransform.h
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
lib/StaticAnalyzer/Core/ExprEngine.cpp
test/Parser/opencl-astype.cl [new file with mode: 0644]
tools/libclang/CXCursor.cpp