summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCUDA/kernel-call.cu
Commit message (Collapse)AuthorAgeFilesLines
* Fix some handling of AST nodes with diagnostics.Richard Trieu2018-03-281-2/+2
| | | | | | | | | The diagnostic system for Clang can already handle many AST nodes. Instead of converting them to strings first, just hand the AST node directly to the diagnostic system and let it handle the output. Minor changes in some diagnostic output. llvm-svn: 328688
* [CUDA] Warn undeclared identifiers in CUDA kernel callsJustin Lebar2016-01-141-0/+2
| | | | | | | | | | | | | | | | | | Value, type, and instantiation dependence were not being handled correctly for CUDAKernelCallExpr AST nodes. As a result, if an undeclared identifier was used in the triple-angle-bracket kernel call configuration, there would be no error during parsing, and there would be a crash during code gen. This patch makes sure that an error will be issued during parsing in this case, just as there would be for any other use of an undeclared identifier in C++. Patch by Jason Henline. Reviewers: jlebar, rsmith Differential Revision: http://reviews.llvm.org/D15858 llvm-svn: 257839
* Move all CUDA testing inputs to Inputs/ subdirectory inside the tests.Eli Bendersky2014-04-281-1/+1
| | | | llvm-svn: 207453
* CUDA: add separate diagnostics for too few/many exec config argsPeter Collingbourne2011-10-021-0/+2
| | | | llvm-svn: 140977
* CUDA: diagnose unconfigured calls to global functionsPeter Collingbourne2011-10-021-0/+1
| | | | llvm-svn: 140975
* Sema: diagnose kernel calls to non-global functionsPeter Collingbourne2011-02-231-0/+8
| | | | llvm-svn: 126292
* Parse: add support for parsing CUDA kernel callsPeter Collingbourne2011-02-091-0/+15
llvm-svn: 125219
OpenPOWER on IntegriCloud