7 #ifndef LLVM_CLANG_STATICANALYZER_CMS_SUPPORT_H
8 #define LLVM_CLANG_STATICANALYZER_CMS_SUPPORT_H
10 #include <llvm/Support/Regex.h>
12 #include <clang/AST/Type.h>
28 inline bool isConst( clang::QualType
const& qt )
30 if ( qt->isReferenceType() )
33 return qt.getNonReferenceType().isConstQualified();
35 if ( qt->isPointerType() )
37 clang::PointerType
const* pt = qt->getAs<clang::PointerType>();
38 return pt->getPointeeType().isConstQualified();
42 return qt.isConstQualified();
bool isConst(clang::QualType const &qt)
bool isCmsLocalFile(const char *file)