CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

void clangcms::support::fixAnonNS ( std::string &  name,
const char *  fname 
)
std::string clangcms::support::getQualifiedName ( const clang::NamedDecl &  d)
bool clangcms::support::isCmsLocalFile ( const char *  file)
bool clangcms::support::isConst ( clang::QualType const &  qt)
inline

Definition at line 28 of file CmsSupport.h.

References DiDispStaMuonMonitor_cfi::pt.

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  }
bool clangcms::support::isDataClass ( const std::string &  d)
bool clangcms::support::isInterestingLocation ( const std::string &  d)
bool clangcms::support::isKnownThrUnsafeFunc ( const std::string &  name)
bool clangcms::support::isSafeClassName ( const std::string &  d)
void clangcms::support::writeLog ( const std::string &  ostring,
const std::string &  tfstring 
)