Function markOverloadedTemplateInstantiations

Function markOverloadedTemplateInstantiations#

Function Documentation#

void markOverloadedTemplateInstantiations(SgNode *node)#

Mark any template instatiations that are overloaded (we can’t output these since g++ can’t resolve them).

This function marks IR nodes that can’t be output because of a bug in the GNU g++ compile. Member functions that are overloaded can’t be resolved in the template specialization. e.g. template <typename T>

class X {

X(T t){};

template<typename S> X(S s){}

};