llvm-project/clang/lib
David Majnemer 68bf7d8c2a [CodeGen] Do not run initializers for imported variables
The export side is responsible for running any initializers, they are
run when the module is first loaded.  Attempting to run an initializer
for the import side is not possible.

This fixes PR28216.

llvm-svn: 273237
2016-06-21 03:40:16 +00:00
..
ARCMigrate Apply clang-tidy's misc-move-constructor-init throughout Clang. 2016-05-27 14:27:13 +00:00
AST Apply some suggestions from clang-tidy's performance-unnecessary-value-param. 2016-06-15 14:20:56 +00:00
ASTMatchers Apply some suggestions from clang-tidy's performance-unnecessary-value-param. 2016-06-15 14:20:56 +00:00
Analysis Revert "[Temporary] Add an ExprWithCleanups for each C++ MaterializeTemporaryExpr." 2016-06-09 21:13:39 +00:00
Basic NVPTX: Add supported CL features 2016-06-17 19:02:14 +00:00
CodeGen [CodeGen] Do not run initializers for imported variables 2016-06-21 03:40:16 +00:00
Driver Add a ENABLE_X86_RELAX_RELOCATIONS cmake option. 2016-06-20 23:54:44 +00:00
Edit Remove autoconf support 2016-01-26 21:30:40 +00:00
Format clang-format: [Proto] Fix "import public" after r273179. 2016-06-20 20:39:53 +00:00
Frontend [OpenCL] Include opencl-c.h by default as a clang module 2016-06-20 19:26:00 +00:00
FrontendTool Make it possible for AST plugins to enable themselves by default 2016-03-15 12:51:40 +00:00
Headers [OpenCL] Include opencl-c.h by default as a clang module 2016-06-20 19:26:00 +00:00
Index Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
Lex [Lex] Try to fix a 'comparison is always false' warning. NFC. 2016-06-16 02:30:33 +00:00
Parse Fix a few issues while skipping function bodies 2016-06-16 21:40:06 +00:00
Rewrite Remove use of builtin comma operator. 2016-02-18 22:34:54 +00:00
Sema [Sema] Only define function as move assignment when needed 2016-06-20 20:04:15 +00:00
Serialization [modules] Allow emission of update records for predefined __va_list_tag. 2016-06-20 15:10:40 +00:00
StaticAnalyzer Revert accidential "[MSVC] Late parsing of in-class defined member functions in template" 2016-06-15 11:24:54 +00:00
Tooling Apply some suggestions from clang-tidy's performance-unnecessary-value-param. 2016-06-15 14:20:56 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00