P4 to Git Change 1288281 by jsjodin@jsjodin-git2p4-clang on 2016/07/06 22:18:46

SWDEV-3 - PR28394: For compatibility with c++11 and c++14, if a static constexpr data
	member is redundantly redeclared outside the class definition in code built in
	c++17 mode, ensure we emit a non-discardable definition of the data member for
	c++11 and c++14 compilations to use.

	git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274416 91177308-0d34-0410-b5e6-96231b3b80d8

	GitHash: f82fb5beb88e841f7a00cfb2a2ceabe46bcb2a9b

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/clang.git/include/clang/AST/ASTContext.h#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/clang.git/lib/AST/ASTContext.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/compiler/clang.git/lib/CodeGen/CodeGenModule.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/compiler/clang.git/test/CodeGenCXX/cxx1z-inline-variables.cpp#2 edit
This commit is contained in:
foreman
2016-07-07 08:01:09 -04:00
parent ac7ee9853a
commit a4177b5919
+1 -1
View File
@@ -12,7 +12,7 @@
#endif // AMD_PLATFORM_NAME
#ifndef AMD_PLATFORM_BUILD_NUMBER
# define AMD_PLATFORM_BUILD_NUMBER 2158
# define AMD_PLATFORM_BUILD_NUMBER 2157
#endif // AMD_PLATFORM_BUILD_NUMBER
#ifndef AMD_PLATFORM_REVISION_NUMBER