llvm-project/clang/lib
Alexey Bataev 9c82103743 [OPENMP] Allow to use global variables as lcv in loop-based directives.
For proper codegen we need to capture variable in the OpenMP region. In loop-based directives loop control variables are private by default and they must be captured in this region. There was a problem with capturing of globals, used as lcv, as they was not marked as private by default.
Differential Revision: http://reviews.llvm.org/D9336

llvm-svn: 236201
2015-04-30 04:23:23 +00:00
..
ARCMigrate [modules] Stop trying to fake up a linear MacroDirective history. 2015-04-29 23:20:19 +00:00
AST Use a more reliable method to determine whether 2015-04-30 00:44:21 +00:00
ASTMatchers Add conversionDecl matcher for node CXXConversionDecl. 2015-04-20 20:58:50 +00:00
Analysis PR23334: Perform semantic checking of lambda capture initialization in the right context. 2015-04-27 21:27:54 +00:00
Basic Propagate a terrible hack to the sparc target feature handling code 2015-04-29 23:32:17 +00:00
CodeGen [OPENMP] Fixed codegen for 'copyprivate' clause. 2015-04-30 03:47:32 +00:00
Driver Revert r236060, it caused PR23375. 2015-04-29 21:16:40 +00:00
Edit [edit] Don't hit an assert when trying to delete a trailing space at EOF 2015-03-29 18:07:29 +00:00
Format clang-format: Add ability to align assignment operators. 2015-04-29 13:06:49 +00:00
Frontend [modules] Stop trying to fake up a linear MacroDirective history. 2015-04-29 23:20:19 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers AVX-512: added intrinsics for KNL and SKX 2015-04-28 13:28:01 +00:00
Index Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:58:30 +00:00
Lex Remove dead code: a MacroDirective can't be imported or ambiguous any more. 2015-04-30 02:16:23 +00:00
Parse [OPENMP] Allow to use global variables as lcv in loop-based directives. 2015-04-30 04:23:23 +00:00
Rewrite Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:58:30 +00:00
Sema [OPENMP] Allow to use global variables as lcv in loop-based directives. 2015-04-30 04:23:23 +00:00
Serialization Remove dead code: a MacroDirective can't be imported or ambiguous any more. 2015-04-30 02:16:23 +00:00
StaticAnalyzer Add a missing forward def of CheckerManager. NFC. 2015-04-17 17:00:16 +00:00
Tooling Fix bug in Replacement's toString on Windows (missing flush). 2015-04-20 06:58:56 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00