[modules] Do not report missing definitions of demoted constexpr variable templates.
authorVassil Vassilev <v.g.vassilev@gmail.com>
Wed, 19 Oct 2016 11:19:30 +0000 (11:19 +0000)
committerVassil Vassilev <v.g.vassilev@gmail.com>
Wed, 19 Oct 2016 11:19:30 +0000 (11:19 +0000)
commitc774a23bd9b704d0c114378be0cd3a262e5628ce
tree0f4c47996b40abef13573d4f7d1de6123b7463f6
parent9122ac994b5e69202b294238540f6847512f4824
[modules] Do not report missing definitions of demoted constexpr variable templates.

This is a followup to regression introduced in r284284.

This should fix our libstdc++ modules builds.

https://reviews.llvm.org/D25678

Reviewed by Richard Smith!

llvm-svn: 284577
clang/lib/Sema/SemaDecl.cpp
clang/test/Modules/Inputs/merge-var-template-def/a.h [new file with mode: 0644]
clang/test/Modules/Inputs/merge-var-template-def/b1.h [new file with mode: 0644]
clang/test/Modules/Inputs/merge-var-template-def/b2.h [new file with mode: 0644]
clang/test/Modules/Inputs/merge-var-template-def/module.modulemap [new file with mode: 0644]
clang/test/Modules/merge-var-template-def.cpp [new file with mode: 0644]