]> granicus.if.org Git - clang/commit
[OpenCL] Fix pipe type dump.
authorXiuli Pan <xiulipan@outlook.com>
Tue, 3 May 2016 05:37:07 +0000 (05:37 +0000)
committerXiuli Pan <xiulipan@outlook.com>
Tue, 3 May 2016 05:37:07 +0000 (05:37 +0000)
commit5d99149b4624512b5d13de86fbd764565601109e
treea95697f4c3eb805f0a55636a25c2f82d9a58273f
parentf0413f80c8330e9495069bc2d1358908bba19914
[OpenCL] Fix pipe type dump.

Summary:
Fix the dump of PipeType.
Now we will have "pipe int" and element type.

Reviewers: yaxunl, Anastasia

Subscribers: cfe-commits, bader

Differential Revision: http://reviews.llvm.org/D19524

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268364 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTDumper.cpp
lib/AST/TypePrinter.cpp
test/Misc/ast-dump-pipe.cl [new file with mode: 0644]
test/SemaOpenCL/invalid-access-qualifier.cl
test/SemaOpenCL/invalid-pipes-cl2.0.cl