Go to file
Alexey Bataev 15413ea02b [MSVC] Handle out-of-line definition of static data member correctly (fix for http://llvm.org/PR21164), by Alexey Frolov
There are 3 cases of defining static const member:

initialized inside the class, not defined outside the class.
initialized inside the class, defined outside the class.
not initialized inside the class, defined outside the class.
Revision r213304 was supposed to fix the linkage problem of case (1), but mistakenly it made case (2) behave the same.
As a result, out-of-line definition of static data member is not handled correctly.
Proposed patch distinguishes between cases (1) and (2) and allows to properly emit static const members under –fms-compatibility option.

This fixes http://llvm.org/PR21164.
Differential Revision: http://reviews.llvm.org/D9850

llvm-svn: 237787
2015-05-20 11:57:02 +00:00
clang [MSVC] Handle out-of-line definition of static data member correctly (fix for http://llvm.org/PR21164), by Alexey Frolov 2015-05-20 11:57:02 +00:00
clang-tools-extra docs: Spell a couple of cmake options with =ON in the docs 2015-05-18 05:05:49 +00:00
compiler-rt Factor out LTO detection to common configuration. 2015-05-19 23:50:13 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Use a more accurate implementation for exp 2015-05-13 03:55:09 +00:00
libcxx Fix building and testing libc++ with GCC. 2015-05-20 03:15:01 +00:00
libcxxabi LIBCXXABI_LIBUNWIND_INCLUDES is already set before calling find_path, and find_path will not update it. 2015-05-09 21:03:01 +00:00
libunwind Code cleanup: Remove duplicated line. 2015-05-17 13:49:18 +00:00
lld [LLD] Make sure MachO FDEs read their augmentation data strings from the right 2015-05-16 00:08:02 +00:00
lldb Fix handling of hijacked events in synchronous mode 2015-05-20 10:15:47 +00:00
llgo benchcomp: Add macho_symsizes mode for comparing Mach-O object symbol sizes. 2015-05-12 22:14:26 +00:00
llvm [StatepointLowering] Support of the gc.relocates for invoke statepoints. 2015-05-20 11:37:25 +00:00
openmp Makefile fix for testsuite -- Follow up to r237618 2015-05-19 21:28:33 +00:00
polly Use base-pointer address space when creating new access functions 2015-05-20 11:02:12 +00:00