]> granicus.if.org Git - clang/commit
[modules] Ask the canonical decl whether the constructor was defaulted.
authorVassil Vassilev <v.g.vassilev@gmail.com>
Tue, 24 May 2016 12:10:36 +0000 (12:10 +0000)
committerVassil Vassilev <v.g.vassilev@gmail.com>
Tue, 24 May 2016 12:10:36 +0000 (12:10 +0000)
commit1b8778ca2b466953c8efc74b1d2dff11680dc3c5
treeb364040ccc396230f0b039aba2eebeba98813239
parentf7791ad7cd170faddca839a976048d7f65816d03
[modules] Ask the canonical decl whether the constructor was defaulted.

In case of template instantiations query the template instantiation pattern,
which had actually '=default'.

Fixes https://llvm.org/bugs/show_bug.cgi?id=27739

Patch reviewed by Richard Smith.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270553 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/Modules/Inputs/PR27739/DataInputHandler.h [new file with mode: 0644]
test/Modules/Inputs/PR27739/Types.h [new file with mode: 0644]
test/Modules/Inputs/PR27739/map [new file with mode: 0644]
test/Modules/Inputs/PR27739/module.modulemap [new file with mode: 0644]
test/Modules/pr27739.cpp [new file with mode: 0644]