aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAnastasia Stulova <anastasia.stulova@arm.com>2016-01-05 14:39:27 +0000
committerAnastasia Stulova <anastasia.stulova@arm.com>2016-01-05 14:39:27 +0000
commitcf04d04ccf6879aa943e09ca8066105e692ab2df (patch)
tree9cbbe5d106ea95522f5d11b5ae5d60996979aeac /clang/lib/CodeGen/CodeGenModule.cpp
parente09fcfb1085dc7c64b6ba4ba078757e1d93b4089 (diff)
downloadllvm-cf04d04ccf6879aa943e09ca8066105e692ab2df.zip
llvm-cf04d04ccf6879aa943e09ca8066105e692ab2df.tar.gz
llvm-cf04d04ccf6879aa943e09ca8066105e692ab2df.tar.bz2
[OpenCL] Disallow taking an address of a function.
An undecorated function designator implies taking the address of a function, which is illegal in OpenCL. Implementing a check for this earlier to allow the error to be reported even in the presence of other more obvious errors. Patch by Neil Hickey! http://reviews.llvm.org/D15691 llvm-svn: 256838
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions