]> granicus.if.org Git - clang/commit
When merging functions across modules (and in particular, instantiations of
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 29 May 2014 03:15:31 +0000 (03:15 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 29 May 2014 03:15:31 +0000 (03:15 +0000)
commit1bb87404d0ed9c92b4e5b1916d3bdce5435e28bb
tree048a23ebef681dda4453d2578aea19f3dded0a29
parent27fd28cbfaa5a6c6b26ed41bf060042e61993122
When merging functions across modules (and in particular, instantiations of
member functions), ensure that the redecl chain never transitions from 'inline'
to 'not inline', since that violates an AST invariant.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209794 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Serialization/ASTReaderDecl.cpp
test/Modules/Inputs/templates-left.h
test/Modules/Inputs/templates-right.h
test/Modules/Inputs/templates-top.h
test/Modules/templates.mm