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)
commitf501759a85882e076f5e6a6b3e04651038e0348c
tree2028ae16d77bb85a62bbfacf450441baca4db939
parent8f6d944721a0881b9fcebf5f1d52339c483c7c63
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.

llvm-svn: 317147
clang/lib/Serialization/ASTReaderDecl.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/test/Modules/cxx17-inline-variables.cpp [new file with mode: 0644]