test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 29 of file CmsSupport.h.

References EnergyCorrector::pt.

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