Home
last modified time | relevance | path

Searched refs:isSet (Results 1 – 25 of 41) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dredundant-branch-condition.cpp1108 static RetT Test(bool isSet); in positive_expr_with_cleanups()
1114 bool isSet = false; in positive_expr_with_cleanups() local
1115 if (RetT::Test(isSet).Ok() && isSet) { in positive_expr_with_cleanups()
1116 if (RetT::Test(isSet).Ok() && isSet) { in positive_expr_with_cleanups()
1121 if (isSet) { in positive_expr_with_cleanups()
1122 if ((RetT::Test(isSet).Ok() && isSet)) { in positive_expr_with_cleanups()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp76 if (!SS.isSet() || SS.isInvalid()) in computeDeclContext()
168 if (!SS.isSet() || SS.isInvalid()) in isDependentScopeSpecifier()
409 assert(!SS.isSet() && "ObjectType and scope specifier cannot coexist"); in isNonTypeNestedNameSpecifier()
412 } else if (SS.isSet()) { in isNonTypeNestedNameSpecifier()
518 assert(!SS.isSet() && "ObjectType and scope specifier cannot coexist"); in BuildCXXNestedNameSpecifier()
521 } else if (SS.isSet()) { in BuildCXXNestedNameSpecifier()
845 } else if (SS.isSet()) in BuildCXXNestedNameSpecifier()
1043 assert(SS.isSet() && "Parser passed invalid CXXScopeSpec."); in ShouldEnterDeclaratorScope()
1092 assert(SS.isSet() && "Parser passed invalid CXXScopeSpec."); in ActOnCXXEnterDeclaratorScope()
1119 assert(SS.isSet() && "Parser passed invalid CXXScopeSpec."); in ActOnCXXExitDeclaratorScope()
H A DSemaExprMember.cpp203 if (SS.isSet()) Range.setBegin(SS.getRange().getBegin()); in diagnoseInstanceReference()
657 QualType ObjectType = SS.isSet() ? QualType() : QualType(RTy, 0); in LookupMemberExprInRecord()
665 if (SS.isSet()) { in LookupMemberExprInRecord()
753 (SS.isSet() && isDependentScopeSpecifier(SS))) in BuildMemberReferenceExpr()
996 DeclContext *DC = (SS.isSet() in BuildMemberReferenceExpr()
1038 if ((SS.isSet() || !BaseExpr || in BuildMemberReferenceExpr()
1719 if (SS.isSet() && SS.isInvalid()) in ActOnMemberAccessExpr()
1743 = (!SS.isSet() ? nullptr : FindFirstQualifierInScope(S, SS.getScopeRep())); in ActOnMemberAccessExpr()
H A DSemaTemplate.cpp291 if (SS.isSet() && !SS.isInvalid()) { in isTemplateName()
359 if (!SS || !SS->isSet() || !isDependentScopeSpecifier(*SS) || in DiagnoseUnknownTemplateName()
1004 if (SS.isSet()) in ActOnTemplateTypeArgument()
1714 if (SS.isSet()) in SetNestedNameSpecifier()
1833 if (!SS.isSet()) { in CheckClassTemplate()
1961 if (SS.isSet()) { in CheckClassTemplate()
3971 if (!IsCtorOrDtorName && !IsClassName && SS.isSet()) { in ActOnTemplateIdType()
8508 if (TemplateParameterLists.size() > 1 && SS.isSet()) { in ActOnClassTemplateSpecialization()
9569 if (!SS.isSet()) in ScopeSpecifierHasTemplateId()
9735 SS.isSet(), TSK)) in ActOnExplicitInstantiation()
[all …]
H A DSemaDecl.cpp714 if (!SS || !SS->isSet()) { in DiagnoseUnknownTypeName()
872 if (getLangOpts().CPlusPlus && SS.isSet() && in ClassifyName()
6173 else if (D.getCXXScopeSpec().isSet()) { in HandleDeclarator()
6236 if (!D.getCXXScopeSpec().isSet()) { in HandleDeclarator()
6561 if (D.getCXXScopeSpec().isSet()) { in ActOnTypedefDeclarator()
6743 if (!SS.isSet()) return; in SetNestedNameSpecifier()
7850 D.getCXXScopeSpec().isSet()) { in ActOnVariableDeclarator()
7858 } else if (D.getCXXScopeSpec().isSet()) { in ActOnVariableDeclarator()
10218 if (D.getCXXScopeSpec().isSet()) { in ActOnFunctionDeclarator()
14176 if (D.getCXXScopeSpec().isSet()) { in CheckFunctionOrTemplateParamDeclarator()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUArgumentUsageInfo.h59 bool isSet() const { in isSet() function
64 return isSet();
H A DAMDGPUArgumentUsageInfo.cpp28 if (!isSet()) { in print()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DCOFF.h313 assert(isSet() && "COFFSymbolRef points to nothing!"); in getStringTableOffset()
318 assert(isSet() && "COFFSymbolRef points to nothing!"); in getValue()
323 assert(isSet() && "COFFSymbolRef points to nothing!"); in getSectionNumber()
334 assert(isSet() && "COFFSymbolRef points to nothing!"); in getType()
339 assert(isSet() && "COFFSymbolRef points to nothing!"); in getStorageClass()
344 assert(isSet() && "COFFSymbolRef points to nothing!"); in getNumberOfAuxSymbols()
434 bool isSet() const { return CS16 || CS32; } in isSet() function
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationPlanner.h89 bool isSet() const { return Block != nullptr; } in isSet() function
97 if (IP.isSet()) in restoreIP()
/llvm-project-15.0.7/mlir/lib/Dialect/X86Vector/Transforms/
H A DAVXTranspose.cpp107 bool isSet = mask & (1 << i); in mm256BlendPs() local
108 shuffleMask.push_back(!isSet ? i : i + 8); in mm256BlendPs()
/llvm-project-15.0.7/openmp/libompd/src/
H A DTargetValue.h196 ompd_rc_t check(const char *bitfieldName, ompd_word_t *isSet) const;
H A DTargetValue.cpp350 ompd_rc_t TValue::check(const char *bitfieldName, ompd_word_t *isSet) const { in check()
359 *isSet = ((bitfield & bitfieldmask) != 0); in check()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuilders.h275 bool isSet() const { return (block != nullptr); } in isSet() function
329 if (ip.isSet()) in restoreInsertionPoint()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclTemplate.h342 bool isSet() const { return !ValueOrInherited.isNull(); } in isSet() function
371 assert(!isSet() && "default argument already set"); in set()
378 if (!isSet()) in setInherited()
1275 bool hasDefaultArgument() const { return DefaultArgument.isSet(); }
1489 bool hasDefaultArgument() const { return DefaultArgument.isSet(); }
1745 bool hasDefaultArgument() const { return DefaultArgument.isSet(); }
1750 return DefaultArgument.isSet() ? *DefaultArgument.get() : NoneLoc;
H A DFormatString.h37 bool isSet() const { return flag; } in isSet() function
/llvm-project-15.0.7/llvm/lib/IR/
H A DAttributes.cpp1881 if (AttrClass::isSet(Caller, AttrClass::getKind()) && in setAND()
1882 !AttrClass::isSet(Callee, AttrClass::getKind())) in setAND()
1893 if (!AttrClass::isSet(Caller, AttrClass::getKind()) && in setOR()
1894 AttrClass::isSet(Callee, AttrClass::getKind())) in setOR()
1997 static bool isSet(const Function &Fn, in isSet() function
2012 static bool isSet(const Function &Fn, in isSet() function
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp75 assert(!isSet() && "Can't change kind with non-zero base"); in setKind()
109 bool isSet() const { return IsBaseSet; } in isSet() function in __anon05a1f9dc0111::WebAssemblyFastISel::Address
326 if (Addr.isSet()) { in computeAddress()
373 if (Addr.isSet()) { in computeAddress()
/llvm-project-15.0.7/libcxx/test/support/
H A Dcontainer_debug_tests.h68 constexpr bool isSet(ContainerType CT) { in isSet() function
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseExprCXX.cpp512 if (MemberOfUnknownSpecialization && (ObjectType || SS.isSet()) && in ParseOptionalCXXScopeSpecifier()
2808 if (TemplateKWLoc && (ObjectType || SS.isSet())) { in ParseUnqualifiedId()
2885 if (SS.isSet()) { in ParseUnqualifiedId()
2916 if (TemplateKWLoc && (ObjectType || SS.isSet())) in ParseUnqualifiedId()
2957 (AllowDestructorName || SS.isSet()) && Tok.is(tok::tilde)) { in ParseUnqualifiedId()
3007 if (SS.isSet()) { in ParseUnqualifiedId()
3017 !SS.isSet()) { in ParseUnqualifiedId()
H A DParseDecl.cpp2318 if (D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2329 if (D.getCXXScopeSpec().isSet()) in ParseDeclarationAfterDeclaratorAndAttributes()
4641 if (Spec.isSet() && Tok.isNot(tok::identifier)) { in ParseEnumSpecifier()
4812 if (!getLangOpts().CPlusPlus11 || !SS.isSet()) { in ParseEnumSpecifier()
5570 if (SS.isSet() && Actions.ShouldEnterDeclaratorScope(getCurScope(), SS)) in isConstructorDeclarator()
6196 } else if (D.getCXXScopeSpec().isSet()) { in ParseDirectDeclarator()
6302 if (D.getCXXScopeSpec().isSet()) { in ParseDirectDeclarator()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h210 bool isSet() const { return getScopeRep() != nullptr; } in isSet() function
1744 bool isSet() const { return LSquareLoc.isValid(); } in isSet() function
2219 return BindingGroup.isSet(); in isDecompositionDeclarator()
/llvm-project-15.0.7/clang/tools/clang-format/
H A DClangFormat.cpp442 nullptr, WNoErrorList.isSet(WNoError::Unknown)); in format()
/llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp68 if (!IP1.isSet() || !IP2.isSet()) in isConflictIP()
1957 ComputeIP.isSet() ? LocationDescription(ComputeIP, Loc.DL) : Loc; in createCanonicalLoop()
2008 LocationDescription LoopLoc = ComputeIP.isSet() ? Loc.IP : Builder.saveIP(); in createCanonicalLoop()
2547 if (ComputeIP.isSet()) in collapseLoops()
3479 if (!IP.isSet()) in createCopyinClauseBlocks()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCommandLine.h1729 template <class T> bool isSet(const T &V) {
1754 template <class T> bool isSet(const T &V) { return (Bits & Bit(V)) != 0; }
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.h1822 if (CGF.Builder.saveIP().isSet())
1851 assert(AllocaIP.isSet() &&
1880 assert((!AllocaIP.isSet() ||
1885 if (AllocaIP.isSet())

12