summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/parallel_ast_print.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [OPENMP] Fix for PR31428: variable named like directive name modifierAlexey Bataev2016-12-201-3/+3
| | | | | | | | Directive name modifiers in 'if' clause are allowed only for OpenMP 4.5 and higher + in OpenMP 4.5 parsing procedure emits error message if ':' is not found after directive name modifier. llvm-svn: 290175
* Make output of -ast-print a valid C++ code.Serge Pavlov2016-11-101-23/+23
| | | | | | | | | | | | | | | | | | 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 llvm-svn: 286439
* Warn if function or variable cannot be implicitly instantiatedSerge Pavlov2016-04-191-0/+3
| | | | | | | | | | | | With this patch compiler emits warning if it tries to make implicit instantiation of a template but cannot find the template definition. The warning can be suppressed by explicit instantiation declaration or by command line options -Wundefined-var-template and -Wundefined-func-template. The implementation follows the discussion of http://reviews.llvm.org/D12326. Differential Revision: http://reviews.llvm.org/D16396 llvm-svn: 266719
* [OPENMP 4.5] Initial support for data members in 'reduction' clauses.Alexey Bataev2016-02-291-0/+22
| | | | | | | | OpenMP 4.5 allows to privatize non-static data members of current class in non-static member functions. Patch adds initial parsing/semantic analysis for data members support in 'reduction' clauses. llvm-svn: 262199
* [OPENMP 4.5] Support fielddecls in 'shared' clause.Alexey Bataev2016-02-251-2/+19
| | | | | | | | OpenMP 4.5 allows to use non-static data members of current class in non-static member functions in different kind of clauses. Patch adds support for data members in 'shared' clause. llvm-svn: 261820
* [OPENMP 4.5] Initial support for data members in 'firstprivate' clause.Alexey Bataev2016-02-101-0/+17
| | | | | | | OpenMP 4.5 allows privatization of non-static data members of current class in non-static member functions. llvm-svn: 260374
* [OPENMP 4.5] Allow to use non-static data members in non-static member ↵Alexey Bataev2016-01-201-0/+51
| | | | | | | | functions in 'private' clause. OpenMP 4.5 allows to use non-static members of current class in non-static member functions in 'private' clause. Patch adds initial support for privatizing data members. llvm-svn: 258299
* [OPENMP] Fix for http://llvm.org/PR25142: openmp: Assertion failed: DD && ↵Alexey Bataev2015-12-171-0/+18
| | | | | | | | "queried property of class with no definition", file AST/DeclCXX.h Added processing for template specialization during data-sharing attributes analysis llvm-svn: 255879
* [OPENMP 4.1] Sema analysis for array sections in 'reduction' clause.Alexey Bataev2015-09-301-12/+17
| | | | | | OpenMP 4.1 allows to use array sections|subscript expressions in 'reduction' clauses. Added sema analysis, updated tests. llvm-svn: 248880
* [OPENMP 4.1] Codegen for extended format of 'if' clause.Alexey Bataev2015-09-031-6/+10
| | | | | | Fixed codegen for extended format of 'if' clauses with special 'directive-name-modifier' + ast-print tests for extended format of 'if' clause. llvm-svn: 246748
* [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 llvm-svn: 237769
* [OPENMP] Initial support of 'reduction' clauseAlexey Bataev2014-06-161-10/+10
| | | | llvm-svn: 211007
* [OPENMP] 'proc_bind' clause support - Parsing and sema analysis for OpenMP ↵Alexey Bataev2014-05-061-10/+10
| | | | | | clause 'proc_bind' llvm-svn: 208060
* [OPENMP] Implemented 'copyin' clauseAlexey Bataev2014-03-311-6/+23
| | | | llvm-svn: 205164
* [OPENMP] Clause 'num_threads'Alexey Bataev2014-03-061-17/+28
| | | | llvm-svn: 203087
* [OPENMP] Added option -fopenmp=libiomp5|libgompAlexey Bataev2014-03-061-3/+3
| | | | llvm-svn: 203081
* [OPNEMP] Fixed instantiation of 'if' clauseAlexey Bataev2014-03-051-5/+13
| | | | llvm-svn: 202940
* [OPENMP] 'if' clause support (no CodeGen support)Alexey Bataev2014-02-131-6/+6
| | | | llvm-svn: 201297
* [OpenMP] Added parsing and semantic analysis for firstprivate clauseAlexey Bataev2013-10-011-3/+37
| | | | llvm-svn: 191730
* OpenMP: basic support for #pragma omp parallelAlexey Bataev2013-07-191-0/+26
llvm-svn: 186647
OpenPOWER on IntegriCloud