Skip to content

Commit

Permalink
Skip for the moment the templated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dpiparo authored and ktf committed Mar 25, 2015
1 parent 4a43e23 commit 34f53cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/metautils/src/SelectionRules.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ const ClassSelectionRule *SelectionRules::IsDeclSelected(clang::NamespaceDecl *D
}

const BaseSelectionRule *SelectionRules::IsDeclSelected(clang::EnumDecl *D) const
{
{
// Currently rootcling does not need any information on enums, except
// for the PCM / proto classes that register them to build TEnums without
// parsing. This can be removed once (real) PCMs are available.
Expand Down Expand Up @@ -866,7 +866,9 @@ const BaseSelectionRule *SelectionRules::IsVarSelected(clang::VarDecl* D, const

const BaseSelectionRule *SelectionRules::IsFunSelected(clang::FunctionDecl *D, const std::string &qual_name) const
{

if (fFunctionSelectionRules.size() == 0 ||
D->getPrimaryTemplate() != nullptr ||
llvm::isa<clang::CXXMethodDecl>(D)) return nullptr;

std::string prototype;
Expand Down Expand Up @@ -974,6 +976,7 @@ const BaseSelectionRule *SelectionRules::IsLinkdefFunSelected(clang::FunctionDec
{

if (fFunctionSelectionRules.size() == 0 ||
D->getPrimaryTemplate() != nullptr ||
llvm::isa<clang::CXXMethodDecl>(D)) return nullptr;

std::string prototype;
Expand Down

0 comments on commit 34f53cc

Please sign in to comment.