Main Page
Namespaces
Classes
Package Documentation
Namespace List
Namespace Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
clangcms
support
Functions
clangcms::support Namespace Reference
Functions
bool
isCmsLocalFile
(const char *file)
bool
isConst
(clang::QualType const &qt)
Function Documentation
bool clangcms::support::isCmsLocalFile
(
const char *
file
)
bool clangcms::support::isConst
(
clang::QualType const &
qt
)
inline
Definition at line
28
of file
CmsSupport.h
.
29
{
30
if
( qt->isReferenceType() )
31
{
32
// remove only the surounding reference type
33
return
qt.getNonReferenceType().isConstQualified();
34
}
35
if
( qt->isPointerType() )
36
{
37
clang::PointerType
const
* pt = qt->getAs<clang::PointerType>();
38
return
pt->getPointeeType().isConstQualified();
39
}
40
41
// regular type
42
return
qt.isConstQualified();
43
}
Generated for CMSSW Reference Manual by
1.8.5