Angel Garcia Gomez
637d1e6694
Roll-back r250822.
...
Summary: It breaks the build for the ASTMatchers
Subscribers: klimek, cfe-commits
Differential Revision: http://reviews.llvm.org/D13893
llvm-svn: 250827
2015-10-20 13:23:58 +00:00
Angel Garcia Gomez
b5250d3448
Apply modernize-use-default to clang.
...
Summary: Replace empty bodies of default constructors and destructors with '= default'.
Reviewers: bkramer, klimek
Subscribers: klimek, alexfh, cfe-commits
Differential Revision: http://reviews.llvm.org/D13890
llvm-svn: 250822
2015-10-20 12:52:55 +00:00
Alexey Bader
9c8453fb4b
[OpenCL] Add new types for OpenCL 2.0.
...
Patch by Pedro Ferreira.
Reviewers: pekka.jaaskelainen
Differential Revision: http://reviews.llvm.org/D12855
llvm-svn: 247676
2015-09-15 11:18:52 +00:00
Craig Topper
8a13c4180e
[C++11] Use 'nullptr'. CodeGen edition.
...
llvm-svn: 209272
2014-05-21 05:09:00 +00:00
Pekka Jaaskelainen
3587b32e1c
The OpenCL specification states that images are allocated
...
from the global address space (6.5.1 of the OpenCL 1.2 specification).
This makes clang construct the image arguments in the global address
space and generate the argument metadata with the correct address space
descriptor.
Patch by Pedro Ferreira!
llvm-svn: 198868
2014-01-09 13:37:30 +00:00
Guy Benyei
610541989a
Add OpenCL samplers as Clang builtin types and check sampler related restrictions.
...
llvm-svn: 174601
2013-02-07 10:55:47 +00:00
Guy Benyei
1b4fb3e08b
Implement OpenCL event_t as Clang builtin type, including event_t related OpenCL restrictions (OpenCL 1.2 spec 6.9)
...
llvm-svn: 172973
2013-01-20 12:31:11 +00:00
Chandler Carruth
ffd5551bc7
Rewrite #includes for llvm/Foo.h to llvm/IR/Foo.h as appropriate to
...
reflect the migration in r171366.
Re-sort the #include lines to reflect the new paths.
llvm-svn: 171369
2013-01-02 11:45:17 +00:00
Chandler Carruth
44eb4f66f4
Re-sort #include lines using the llvm/utils/sort_includes.py script.
...
Removes a duplicate #include as well as cleaning up some sort order
regressions since I last ran the script over Clang.
llvm-svn: 171364
2013-01-02 10:28:36 +00:00
Guy Benyei
d8a08ea98d
Re-commit r170428 changes with Linux style file endings.
...
Add OpenCL images as clang builtin types.
llvm-svn: 170432
2012-12-18 14:38:23 +00:00
Guy Benyei
11169dded0
Revert changes from r170428, as I accidentally changed the line endings of these files to Windows style.
...
llvm-svn: 170431
2012-12-18 14:30:41 +00:00
Guy Benyei
b13abb952a
Add OpenCL images as clang builtin types.
...
llvm-svn: 170428
2012-12-18 12:30:03 +00:00
Peter Collingbourne
2dbb708b8a
OpenCL: introduce support for function scope __local variables
...
llvm-svn: 140068
2011-09-19 21:14:35 +00:00