CMS 3D CMS Logo

Functions
clangcms::support Namespace Reference

Functions

void fixAnonNS (std::string &name, const char *fname)
 
std::string getQualifiedName (const clang::NamedDecl &d)
 
bool isCmsLocalFile (const char *file)
 
bool isConst (clang::QualType const &qt)
 
bool isDataClass (const std::string &d)
 
bool isInterestingLocation (const std::string &d)
 
bool isKnownThrUnsafeFunc (const std::string &name)
 
bool isSafeClassName (const std::string &d)
 
void writeLog (const std::string &ostring, const std::string &tfstring)
 

Function Documentation

◆ fixAnonNS()

void clangcms::support::fixAnonNS ( std::string &  name,
const char *  fname 
)

◆ getQualifiedName()

std::string clangcms::support::getQualifiedName ( const clang::NamedDecl &  d)

◆ isCmsLocalFile()

bool clangcms::support::isCmsLocalFile ( const char *  file)

◆ isConst()

bool clangcms::support::isConst ( clang::QualType const &  qt)
inline

Definition at line 28 of file CmsSupport.h.

28  {
29  if (qt->isReferenceType()) {
30  // remove only the surounding reference type
31  return qt.getNonReferenceType().isConstQualified();
32  }
33  if (qt->isPointerType()) {
34  clang::PointerType const *pt = qt->getAs<clang::PointerType>();
35  return pt->getPointeeType().isConstQualified();
36  }
37 
38  // regular type
39  return qt.isConstQualified();
40  }

References DiDispStaMuonMonitor_cfi::pt.

◆ isDataClass()

bool clangcms::support::isDataClass ( const std::string &  d)

◆ isInterestingLocation()

bool clangcms::support::isInterestingLocation ( const std::string &  d)

◆ isKnownThrUnsafeFunc()

bool clangcms::support::isKnownThrUnsafeFunc ( const std::string &  name)

◆ isSafeClassName()

bool clangcms::support::isSafeClassName ( const std::string &  d)

◆ writeLog()

void clangcms::support::writeLog ( const std::string &  ostring,
const std::string &  tfstring 
)
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39