Logo ROOT  
Reference Guide
SelectionRules.cxx File Reference
#include <iostream>
#include <sstream>
#include <algorithm>
#include <fnmatch.h>
#include "RtypesCore.h"
#include "SelectionRules.h"
#include "llvm/Support/raw_ostream.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclTemplate.h"
#include "cling/Interpreter/Interpreter.h"
Include dependency graph for SelectionRules.cxx:

Functions

template<class RULESCOLLECTION , class RULE = typename RULESCOLLECTION::value_type>
static int CheckDuplicatesImp (RULESCOLLECTION &rules)
 
template<class RULE >
static bool HasDuplicate (RULE *rule, std::unordered_map< std::string, RULE * > &storedRules, const std::string &attrName)
 
static bool Implies (const ClassSelectionRule &patternRule, const ClassSelectionRule &nameRule)
 
const clang::CXXRecordDecl * R__ScopeSearch (const char *name, const clang::Type **resultType=0)
 

Function Documentation

◆ CheckDuplicatesImp()

template<class RULESCOLLECTION , class RULE = typename RULESCOLLECTION::value_type>
static int CheckDuplicatesImp ( RULESCOLLECTION &  rules)
static

Definition at line 196 of file SelectionRules.cxx.

◆ HasDuplicate()

template<class RULE >
static bool HasDuplicate ( RULE *  rule,
std::unordered_map< std::string, RULE * > &  storedRules,
const std::string &  attrName 
)
static

Definition at line 174 of file SelectionRules.cxx.

◆ Implies()

static bool Implies ( const ClassSelectionRule patternRule,
const ClassSelectionRule nameRule 
)
static

Definition at line 220 of file SelectionRules.cxx.

◆ R__ScopeSearch()

const clang::CXXRecordDecl * R__ScopeSearch ( const char *  name,
const clang::Type **  resultType = 0 
)