Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp119 bool IsPure = MD->isPure(); 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()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dcharacteristics.h327 bool IsPure() const { return attrs.test(Attr::Pure); } in IsPure() function
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtools.cpp963 } else if (lhsProcedure->IsPure() && !rhsProcedure->IsPure()) { in CheckProcCompatibility()
H A Dintrinsics.cpp2465 if (!procChars->IsPure() || procChars->dummyArguments.size() != 2 || in ApplySpecificChecks()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-call.cpp614 } else if (proc.IsPure()) { in CheckProcedureArg()
H A Dresolve-names.cpp5504 if (interface->IsPure()) { in HandleUnrestrictedSpecificIntrinsicFunction()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclBase.h1606 uint64_t IsPure : 1;
H A DDecl.h2210 bool isPure() const { return FunctionDeclBits.IsPure; } in isPure()
/llvm-project-15.0.7/clang/lib/AST/
H A DDecl.cpp2952 FunctionDeclBits.IsPure = false; in FunctionDecl()
3117 FunctionDeclBits.IsPure = P; in setPure()
H A DExpr.cpp3503 bool IsPure = FD && (FD->hasAttr<ConstAttr>() || FD->hasAttr<PureAttr>()); in HasSideEffects() local
3504 if (IsPure || !IncludePossibleEffects) in HasSideEffects()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNarrowingTest.cpp2012 TEST_P(ASTMatchersTest, IsPure) { in TEST_P() argument
/llvm-project-15.0.7/clang/lib/Sema/
H A DOpenCLBuiltins.td321 bit IsPure = _Attributes[0];
H A DSemaLookup.cpp881 if (OpenCLBuiltin.IsPure) in InsertOCLBuiltinDeclarationsFromTable()