Home
last modified time | relevance | path

Searched refs:IsPure (Results 1 – 5 of 5) sorted by relevance

/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp119 bool IsPure = MD->isPureVirtual(); in checkPreCall() local
126 if (IsPure) in checkPreCall()
134 if (IsPure) in checkPreCall()
140 IsPure ? C.generateErrorNode() : C.generateNonFatalErrorNode(); in checkPreCall()
144 const std::unique_ptr<BugType> &BT = IsPure ? BT_Pure : BT_Impure; in checkPreCall()
152 if (ShowFixIts && !IsPure) { in checkPreCall()
/src/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3651 bool IsPure = FD && (FD->hasAttr<ConstAttr>() || FD->hasAttr<PureAttr>()); in HasSideEffects() local
3652 if (IsPure || !IncludePossibleEffects) in HasSideEffects()
/src/contrib/llvm-project/clang/lib/Sema/
H A DOpenCLBuiltins.td322 bit IsPure = _Attributes[0];
H A DSemaLookup.cpp898 if (OpenCLBuiltin.IsPure) in InsertOCLBuiltinDeclarationsFromTable()
H A DSemaDecl.cpp11768 bool IsPure = NewFD->hasAttr<PureAttr>(); in CheckConstPureAttributesUsage() local
11772 if (!IsPure && !IsConst) in CheckConstPureAttributesUsage()
11779 if (IsPure && IsConst) { in CheckConstPureAttributesUsage()