Vassil Vassilev 8ffe3be8be [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.

llvm-svn: 270553
2016-05-24 12:10:36 +00:00

20 lines
341 B
C++

template < typename > struct vector {};
#include <map>
#include "Types.h"
struct TString {
TString (char *);
};
struct TreeInfo {};
class DataInputHandler {
void AddTree ();
void SignalTreeInfo () {
fInputTrees[(char*)""];
}
map <TString, vector <TreeInfo> >fInputTrees;
map <string, bool> fExplicitTrainTest;
};