llvm-project/clang/lib/Serialization
Alexey Bataev 6b8046addf [OPENMP 4.1] Parsing/sema analysis for extended format of 'if' clause.
OpenMP 4.1 added special 'directive-name-modifier' to the 'if' clause.
Format of 'if' clause is as follows:
```
if([ directive-name-modifier :] scalar-logical-expression)
```

The restriction rules are also changed.
1. If any 'if' clause on the directive includes a 'directive-name-modifier' then all 'if' clauses on the directive must include a 'directive-name-modifier'.
2. At most one 'if' clause without a 'directive-name-modifier' can appear on the directive.
3. At most one 'if' clause with some particular 'directive-name-modifier' can appear on the directive.

'directive-name-modifier' is important for combined directives and allows to separate conditions in 'if' clause for simple sub-directives in combined directive. This 'directive-name-modifier' identifies the sub-directive to which this 'if' clause must be applied.

llvm-svn: 246747
2015-09-03 07:23:48 +00:00
..
ASTCommon.cpp [OPENMP 4.0] Initial support for array sections. 2015-08-25 14:24:04 +00:00
ASTCommon.h [modules] Add an assert for redeclarations that we never added to their redecl 2015-07-27 05:40:23 +00:00
ASTReader.cpp [modules] Don't waste time reading in the names the module file writer gave to blocks. We don't need these names, and decoding the corresponding bitcode has a significant cost. 2015-09-02 17:45:54 +00:00
ASTReaderDecl.cpp Re-commit r246497 (and dependent changes r246524 and r246521), reverted in 2015-09-01 20:35:42 +00:00
ASTReaderInternals.h Re-commit r246497 (and dependent changes r246524 and r246521), reverted in 2015-09-01 20:35:42 +00:00
ASTReaderStmt.cpp [OPENMP 4.1] Parsing/sema analysis for extended format of 'if' clause. 2015-09-03 07:23:48 +00:00
ASTWriter.cpp Re-commit r246497 (and dependent changes r246524 and r246521), reverted in 2015-09-01 20:35:42 +00:00
ASTWriterDecl.cpp Re-commit r246497 (and dependent changes r246524 and r246521), reverted in 2015-09-01 20:35:42 +00:00
ASTWriterStmt.cpp [OPENMP 4.1] Parsing/sema analysis for extended format of 'if' clause. 2015-09-03 07:23:48 +00:00
CMakeLists.txt Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
GeneratePCH.cpp [modules] When explicitly building a module file, don't include timestamps in 2015-08-17 07:13:32 +00:00
GlobalModuleIndex.cpp Make the clang module container format selectable from the command line. 2015-07-17 01:19:54 +00:00
Makefile
Module.cpp Re-commit r246497 (and dependent changes r246524 and r246521), reverted in 2015-09-01 20:35:42 +00:00
ModuleManager.cpp [modules] Remove now-dead code for lazy loading of files specified by -fmodule-file=. 2015-08-09 08:58:36 +00:00
MultiOnDiskHashTable.h Silence a -Wsign-compare warning; NFC. 2015-09-02 12:50:12 +00:00