Home
last modified time | relevance | path

Searched refs:Diagnose (Results 1 – 25 of 63) sorted by relevance

123

/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dcert-msc51-cpp.rst22 std::mt19937 engine1; // Diagnose, always generate the same sequence
23 std::mt19937 engine2(1); // Diagnose
24 engine1.seed(); // Diagnose
25 engine2.seed(1); // Diagnose
28 engine1.seed(std::time(&t)); // Diagnose, system time might be controlled by user
/external/clang/include/clang/Sema/
DLookup.h141 Diagnose(Redecl == Sema::NotForRedeclaration), in ResultKind()
163 Diagnose(Redecl == Sema::NotForRedeclaration), in ResultKind()
183 Diagnose(false), in LookupResult()
203 Diagnose(std::move(Other.Diagnose)), in LookupResult()
207 Other.Diagnose = false; in LookupResult()
223 Diagnose = std::move(Other.Diagnose);
227 Other.Diagnose = false;
232 if (Diagnose) diagnose(); in ~LookupResult()
567 Diagnose = false; in suppressDiagnostics()
572 return !Diagnose; in isSuppressingDiagnostics()
[all …]
DSema.h2005 bool Diagnose = false);
2294 bool Diagnose = true);
4473 bool Diagnose = false);
4795 bool Diagnose = true);
4803 bool Diagnose = true);
5571 bool Diagnose = true);
6542 bool Diagnose = true);
7687 bool CfToNs, bool Diagnose = true);
7691 Expr *&SrcExpr, bool Diagnose = true);
7694 bool Diagnose = true);
[all …]
DInitialization.h934 bool Diagnose(Sema &S,
/external/llvm-project/clang/include/clang/Sema/
DLookup.h151 Diagnose(Redecl == Sema::NotForRedeclaration) {
164 Diagnose(Redecl == Sema::NotForRedeclaration) {
195 Diagnose(std::move(Other.Diagnose)), in LookupResult()
200 Other.Diagnose = false; in LookupResult()
218 Diagnose = std::move(Other.Diagnose);
223 Other.Diagnose = false;
228 if (Diagnose) diagnose(); in ~LookupResult()
584 Diagnose = false; in suppressDiagnostics()
589 return !Diagnose; in isSuppressingDiagnostics()
745 bool Diagnose = false; variable
DSema.h2542 Diagnose, enumerator
2927 bool Diagnose = false);
3297 bool Diagnose = true);
5737 bool Diagnose = false);
6110 bool Diagnose = true);
6117 bool Diagnose = true);
7105 bool Diagnose = true);
7275 bool Diagnose = true);
8321 bool Diagnose = true);
9671 bool CfToNs, bool Diagnose = true);
[all …]
DInitialization.h1192 bool Diagnose(Sema &S,
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DNewDeleteOverloadsCheck.cpp166 SmallVector<const FunctionDecl *, 4> Diagnose; in onEndOfTranslationUnit() local
196 Diagnose.push_back(Overload); in onEndOfTranslationUnit()
201 for (const auto *FD : Diagnose) in onEndOfTranslationUnit()
/external/clang/lib/Sema/
DSemaCUDA.cpp229 bool Diagnose) { in inferCUDATargetForImplicitSpecialMember() argument
279 if (Diagnose) { in inferCUDATargetForImplicitSpecialMember()
324 if (Diagnose) { in inferCUDATargetForImplicitSpecialMember()
DSemaExprObjC.cpp3166 bool Diagnose; member in __anon8a44b6bb0311::ARCCastChecker
3177 Diagnose(diagnose) {} in ARCCastChecker()
3298 return Diagnose ? ACC_plusOne in checkCallToFunction()
3312 return Diagnose ? ACC_plusOne in checkCallToFunction()
3850 bool CfToNs, bool Diagnose) { in checkObjCBridgeRelatedComponents() argument
3866 if (Diagnose) { in checkObjCBridgeRelatedComponents()
3877 if (Diagnose) { in checkObjCBridgeRelatedComponents()
3892 if (Diagnose) { in checkObjCBridgeRelatedComponents()
3906 if (Diagnose) { in checkObjCBridgeRelatedComponents()
3920 Expr *&SrcExpr, bool Diagnose) { in CheckObjCBridgeRelatedConversions() argument
[all …]
DSemaDeclCXX.cpp5571 bool Diagnose; member
5581 Sema::InheritedConstructorInfo *ICI, bool Diagnose) in SpecialMemberDeletionInfo()
5582 : S(S), MD(MD), CSM(CSM), ICI(ICI), Diagnose(Diagnose), in SpecialMemberDeletionInfo()
5692 if (Diagnose) { in shouldDeleteForSubobjectCall()
5773 if (BaseCtor->isDeleted() && Diagnose) { in shouldDeleteForBase()
5796 if (Diagnose) in shouldDeleteForField()
5808 if (Diagnose) in shouldDeleteForField()
5820 if (Diagnose) in shouldDeleteForField()
5828 if (Diagnose) in shouldDeleteForField()
5836 if (Diagnose) in shouldDeleteForField()
[all …]
DSemaExprCXX.cpp2197 bool Diagnose) { in FindAllocationOverload() argument
2201 if (AllowMissing || !Diagnose) in FindAllocationOverload()
2239 Best->FoundDecl, Diagnose) == AR_inaccessible) in FindAllocationOverload()
2247 if (Diagnose) { in FindAllocationOverload()
2255 if (Diagnose) { in FindAllocationOverload()
2263 if (Diagnose) { in FindAllocationOverload()
2503 FunctionDecl* &Operator, bool Diagnose) { in FindDeallocationFunction() argument
2535 if (Diagnose) { in FindDeallocationFunction()
2543 Matches[0], Diagnose) == AR_inaccessible) in FindDeallocationFunction()
2550 if (Diagnose) { in FindDeallocationFunction()
[all …]
DSemaExpr.cpp509 ExprResult Sema::DefaultFunctionArrayConversion(Expr *E, bool Diagnose) { in DefaultFunctionArrayConversion() argument
524 if (Diagnose) in DefaultFunctionArrayConversion()
531 if (!checkAddressOfFunctionIsAvailable(FD, Diagnose, E->getExprLoc())) in DefaultFunctionArrayConversion()
727 ExprResult Sema::DefaultFunctionArrayLvalueConversion(Expr *E, bool Diagnose) { in DefaultFunctionArrayLvalueConversion() argument
728 ExprResult Res = DefaultFunctionArrayConversion(E, Diagnose); in DefaultFunctionArrayLvalueConversion()
7678 bool Diagnose, in CheckSingleAssignmentConstraints() argument
7693 if (Diagnose) { in CheckSingleAssignmentConstraints()
7741 if (Diagnose || ConvertRHS) { in CheckSingleAssignmentConstraints()
7745 /*IgnoreBaseAccess=*/false, Diagnose); in CheckSingleAssignmentConstraints()
7760 RHS = DefaultFunctionArrayLvalueConversion(RHS.get(), Diagnose); in CheckSingleAssignmentConstraints()
[all …]
DSemaAccess.cpp1700 bool Diagnose) { in CheckAllocationAccess() argument
1708 if (Diagnose) in CheckAllocationAccess()
/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp1623 case Sema::CheckConstexprKind::Diagnose: in CheckLiteralType()
1644 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDestructorSubobjects()
1754 if (Kind == CheckConstexprKind::Diagnose) in CheckConstexprFunctionDefinition()
1833 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDeclStmt()
1848 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDeclStmt()
1876 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDeclStmt()
1890 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDeclStmt()
1903 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDeclStmt()
1924 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprDeclStmt()
1975 if (Kind == Sema::CheckConstexprKind::Diagnose) { in CheckConstexprCtorInitializer()
[all …]
DSemaCUDA.cpp285 bool Diagnose) { in inferCUDATargetForImplicitSpecialMember() argument
346 if (Diagnose) { in inferCUDATargetForImplicitSpecialMember()
390 if (Diagnose) { in inferCUDATargetForImplicitSpecialMember()
DSemaExprObjC.cpp3543 bool Diagnose; member in __anoned318da90411::ARCCastChecker
3554 Diagnose(diagnose) {} in ARCCastChecker()
3675 return Diagnose ? ACC_plusOne in checkCallToFunction()
3689 return Diagnose ? ACC_plusOne in checkCallToFunction()
4230 bool CfToNs, bool Diagnose) { in checkObjCBridgeRelatedComponents() argument
4246 if (Diagnose) { in checkObjCBridgeRelatedComponents()
4257 if (Diagnose) { in checkObjCBridgeRelatedComponents()
4272 if (Diagnose) { in checkObjCBridgeRelatedComponents()
4286 if (Diagnose) { in checkObjCBridgeRelatedComponents()
4300 Expr *&SrcExpr, bool Diagnose) { in CheckObjCBridgeRelatedConversions() argument
[all …]
DSemaExprCXX.cpp2382 OverloadCandidateSet *AlignedCandidates, Expr *AlignArg, bool Diagnose) { in resolveAllocationOverload() argument
2429 Diagnose); in resolveAllocationOverload()
2446 /*AlignArg=*/nullptr, Diagnose); in resolveAllocationOverload()
2449 if (Diagnose) { in resolveAllocationOverload()
2478 if (Diagnose) { in resolveAllocationOverload()
2488 if (Diagnose) { in resolveAllocationOverload()
2508 bool Diagnose) { in FindAllocationFunctions() argument
2598 /*AlignArg=*/nullptr, Diagnose)) in FindAllocationFunctions()
3047 FunctionDecl *&Operator, bool Diagnose) { in FindDeallocationFunction() argument
3072 if (Diagnose) { in FindDeallocationFunction()
[all …]
DSemaExpr.cpp503 ExprResult Sema::DefaultFunctionArrayConversion(Expr *E, bool Diagnose) { in DefaultFunctionArrayConversion() argument
517 if (!checkAddressOfFunctionIsAvailable(FD, Diagnose, E->getExprLoc())) in DefaultFunctionArrayConversion()
732 ExprResult Sema::DefaultFunctionArrayLvalueConversion(Expr *E, bool Diagnose) { in DefaultFunctionArrayLvalueConversion() argument
733 ExprResult Res = DefaultFunctionArrayConversion(E, Diagnose); in DefaultFunctionArrayLvalueConversion()
9397 bool Diagnose, in CheckSingleAssignmentConstraints() argument
9402 assert((ConvertRHS || !Diagnose) && "can't indicate whether we diagnosed"); in CheckSingleAssignmentConstraints()
9427 if (Diagnose) { in CheckSingleAssignmentConstraints()
9473 if (Diagnose || ConvertRHS) { in CheckSingleAssignmentConstraints()
9477 /*IgnoreBaseAccess=*/false, Diagnose); in CheckSingleAssignmentConstraints()
9499 RHS = DefaultFunctionArrayLvalueConversion(RHS.get(), Diagnose); in CheckSingleAssignmentConstraints()
[all …]
DSemaAccess.cpp1703 bool Diagnose) { in CheckAllocationAccess() argument
1711 if (Diagnose) in CheckAllocationAccess()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-make-member-function-const.cpp8 namespace Diagnose { namespace
/external/llvm-project/clang/lib/Driver/ToolChains/
DCommonArgs.h143 bool Diagnose = false);
DCommonArgs.cpp1547 const Driver &D, const llvm::opt::ArgList &Args, bool Diagnose) { in getOrCheckAMDGPUCodeObjectVersion() argument
1553 if (Diagnose) { in getOrCheckAMDGPUCodeObjectVersion()
1578 if (Diagnose && in getOrCheckAMDGPUCodeObjectVersion()
/external/llvm-project/lldb/tools/intel-features/intel-pt/
DDecoder.h266 void Diagnose(struct pt_insn_decoder *decoder, int errcode,
DDecoder.cpp701 Diagnose(decoder, errcode, sberror, &insn); in DecodeTrace()
713 void Decoder::Diagnose(struct pt_insn_decoder *decoder, int decode_error, in Diagnose() function in Decoder

123