summaryrefslogtreecommitdiffstats
path: root/test/OpenMP/simd_ast_print.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make output of -ast-print a valid C++ code.Serge Pavlov2016-11-101-2/+2
| | | | | | | | | | | | | | | | | | | Output generated by option -ast-print looks like C/C++ code, and it really is for plain C. For C++ the produced output was not valid C++ code, but the differences were small. With this change the output is fixed and can be compiled. Tests are changed so that output produced by -ast-print is compiled again with the same flags and both outputs are compared. Option -ast-print is extensively used in clang tests but it itself was tested poorly, existing tests only checked that compiler did not crash. There are unit tests in file DeclPrinterTest.cpp, but they test only terse output mode. Differential Revision: https://reviews.llvm.org/D26452 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286439 91177308-0d34-0410-b5e6-96231b3b80d8
* [OPENMP 4.5] Allow data members in 'aligned' clause.Alexey Bataev2016-03-291-0/+52
| | | | | | | OpenMP 4.5 allows privatization of data members OpenMP clauses. Patch adds support for data members in 'aligned' clause. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264715 91177308-0d34-0410-b5e6-96231b3b80d8
* [OPENMP 4.1] Add ast-print tests for 'val', 'uval' and 'ref' modifiers.Alexey Bataev2015-08-211-6/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245693 91177308-0d34-0410-b5e6-96231b3b80d8
* [OPENMP 4.1] Initial support for 'simdlen' clause.Alexey Bataev2015-08-211-8/+8
| | | | | | | Add parsing/sema analysis for 'simdlen' clause in simd directives. Also add check that if both 'safelen' and 'simdlen' clauses are specified, the value of 'simdlen' parameter is less than the value of 'safelen' parameter. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245692 91177308-0d34-0410-b5e6-96231b3b80d8
* [OPENMP] -fopenmp enables OpenMP support (fix for http://llvm.org/PR23492)Alexey Bataev2015-05-201-3/+3
| | | | | | | | -fopenmp turns on OpenMP support and links libiomp5 as OpenMP library. Also there is -fopenmp={libiomp5|libgomp} option that allows to override effect of -fopenmp and link libgomp library (if -fopenmp=libgomp is specified). Differential Revision: http://reviews.llvm.org/D9736 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237769 91177308-0d34-0410-b5e6-96231b3b80d8
* [OPENMP] Parsing/Sema for OMPLasprivateClause.Alexander Musman2014-06-041-4/+4
| | | | | | | Parsing this clause, allowing it on directive ‘omp simd’ and semantic checks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210184 91177308-0d34-0410-b5e6-96231b3b80d8
* Parsing/Sema for OMPAlignedClause.Alexander Musman2014-05-291-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209816 91177308-0d34-0410-b5e6-96231b3b80d8
* Parsing/Sema for OMPCollapseClause.Alexander Musman2014-05-271-4/+4
| | | | | | | | Actual usage in Sema for collapsing loops will in some future patch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209660 91177308-0d34-0410-b5e6-96231b3b80d8
* [OPENMP] parsing 'linear' clause (for directive 'omp simd')Alexander Musman2014-04-221-8/+21
| | | | | | | | Differential Revision: http://reviews.llvm.org/D3272 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206891 91177308-0d34-0410-b5e6-96231b3b80d8
* [OPENMP] parsing of clause 'safelen' (for directive 'omp simd')Alexey Bataev2014-03-211-4/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204428 91177308-0d34-0410-b5e6-96231b3b80d8
* [OPENMP] Added option -fopenmp=libiomp5|libgompAlexey Bataev2014-03-061-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203081 91177308-0d34-0410-b5e6-96231b3b80d8
* [OPENMP] allow clause 'private' on directive 'omp simd'Alexey Bataev2014-03-051-10/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202944 91177308-0d34-0410-b5e6-96231b3b80d8
* [OPENMP] First changes for Parsing and Sema for 'omp simd' directive supportAlexey Bataev2014-02-271-0/+75
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202360 91177308-0d34-0410-b5e6-96231b3b80d8