a4177b5919
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