summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseOpenMP.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Basic: Clean up malformed pragma diagnosticsDavid Majnemer2014-02-101-1/+1
| | | | | | | Create a new diagnostic, -Wignored-pragmas and use it to handle any case where a pragma would have a side effect but is ignored. llvm-svn: 201102
* Sort all the #include lines with LLVM's utils/sort_includes.py whichChandler Carruth2014-01-071-1/+1
| | | | | | | encodes the canonical rules for LLVM's style. I noticed this had drifted quite a bit when cleaning up LLVM, so wanted to clean up Clang as well. llvm-svn: 198686
* Support and use token kinds as diagnostic argumentsAlp Toker2013-12-241-3/+4
| | | | | | | | | | | | | | | | | | | Introduce proper facilities to render token spellings using the diagnostic formatter. Replaces most of the hard-coded diagnostic messages related to expected tokens, which all shared the same semantics but had to be multiply defined due to variations in token order or quote marks. The associated parser changes are largely mechanical but they expose commonality in whole chunks of the parser that can now be factored away. This commit uses C++11 typed enums along with a speculative legacy fallback until the transition is complete. Requires corresponding changes in LLVM r197895. llvm-svn: 197972
* Revert "[OPENMP] Fix for parsing OpenMP directives with extra braces, ↵Alp Toker2013-12-181-18/+15
| | | | | | | | | | | brackets and parens" These parser changes were redundant. The same or better recovery can be achieved with a one-line fix to SkipUntil() due to land in the next commit. This reverts commit r197553. llvm-svn: 197597
* [OPENMP] Fix for parsing OpenMP directives with extra braces, brackets and ↵Alexey Bataev2013-12-181-15/+18
| | | | | | parens llvm-svn: 197553
* Replaced bool parameters in SkipUntil function with single bit-based parameter.Alexey Bataev2013-11-181-12/+14
| | | | llvm-svn: 194994
* [OpenMP] Added parsing and semantic analysis for firstprivate clauseAlexey Bataev2013-10-011-1/+4
| | | | llvm-svn: 191730
* OpenMP: Data-sharing attributes analysis and clause 'shared' (fixed test ↵Alexey Bataev2013-09-061-3/+13
| | | | | | threadprivate_messages.cpp) llvm-svn: 190183
* Revert "OpenMP: Data-sharing attributes analysis and clause 'shared'"Rafael Espindola2013-09-031-13/+3
| | | | | | | | This reverts commit r189795. threadprivate_messages.cpp is faling on windows. llvm-svn: 189811
* OpenMP: Data-sharing attributes analysis and clause 'shared'Alexey Bataev2013-09-031-3/+13
| | | | llvm-svn: 189795
* Silence GCC warning for using both enum and unsigned in a ternary expr.Benjamin Kramer2013-07-201-1/+1
| | | | llvm-svn: 186762
* OpenMP: basic support for #pragma omp parallelAlexey Bataev2013-07-191-6/+237
| | | | llvm-svn: 186647
* OpenMP threadprivate with qualified names.Alexey Bataev2013-05-131-38/+55
| | | | llvm-svn: 181683
* OpenMP threadprivate directive parsing and semantic analysisAlexey Bataev2013-03-221-0/+118
llvm-svn: 177705
OpenPOWER on IntegriCloud