![]() |
![]() |
Functions | |
bool | isCmsLocalFile (const char *file) |
bool | isConst (clang::QualType const &qt) |
bool clangcms::support::isCmsLocalFile | ( | const char * | file | ) |
bool clangcms::support::isConst | ( | clang::QualType const & | qt | ) | [inline] |
Definition at line 28 of file CmsSupport.h.
{ if ( qt->isReferenceType() ) { // remove only the surounding reference type return qt.getNonReferenceType().isConstQualified(); } if ( qt->isPointerType() ) { clang::PointerType const* pt = qt->getAs<clang::PointerType>(); return pt->getPointeeType().isConstQualified(); } // regular type return qt.isConstQualified(); }