]> granicus.if.org Git - clang/commit
PR33746: Store the 'inline'ness of a static data member with the update record
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 2 Nov 2017 01:06:00 +0000 (01:06 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 2 Nov 2017 01:06:00 +0000 (01:06 +0000)
commit549aaf11afe537d779888d05324759c2f3ef83b5
tree6ac7e98afa1109a2190c0a8855cd2f212060c797
parent0b8a53d586539d53a6060a0b2c13fd4c9fecfd95
PR33746: Store the 'inline'ness of a static data member with the update record
for instantiating its definition.

We model the 'inline'ness as being instantiated with the static data member in
order to track whether the declaration has become a definition yet.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317147 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
test/Modules/cxx17-inline-variables.cpp [new file with mode: 0644]