summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/cxx1z-inline-variables.cpp
Commit message (Collapse)AuthorAgeFilesLines
* PR28394: For compatibility with c++11 and c++14, if a static constexpr dataRichard Smith2016-07-021-0/+20
| | | | | | | | 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. llvm-svn: 274416
* Implement C++17 P0386R2, inline variables. (The 'inline' specifier gives aRichard Smith2016-06-251-0/+63
variable weak discardable linkage and partially-ordered initialization, and is implied for constexpr static data members.) llvm-svn: 273754
OpenPOWER on IntegriCloud