Home
last modified time | relevance | path

Searched refs:hasErrorOccurred (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenerator.cpp37 assert(deferredInlineMemberFuncDefs.empty() || diags.hasErrorOccurred()); in ~CIRGenerator()
88 if (!diags.hasErrorOccurred() && cgm) in HandleTranslationUnit()
97 if (diags.hasErrorOccurred()) in HandleInlineFunctionDefinition()
137 if (diags.hasErrorOccurred()) in HandleTagDeclDefinition()
156 if (diags.hasErrorOccurred()) in CompleteTentativeDefinition()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DTransformer.cpp27 if (Result.Context->getDiagnostics().hasErrorOccurred()) in onMatch()
76 if (Result.Context->getDiagnostics().hasErrorOccurred()) in run()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DGeneratePCH.cpp52 assert(PP.getDiagnostics().hasErrorOccurred() && in getEmittingModule()
75 bool hasErrors = PP.getDiagnostics().hasErrorOccurred(); in HandleTranslationUnit()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DObjectFilePCHContainerWriter.cpp193 if (Diags.hasErrorOccurred()) in HandleTopLevelDecl()
210 if (Diags.hasErrorOccurred()) in HandleTagDeclDefinition()
235 if (Diags.hasErrorOccurred()) in HandleTagDeclRequiredDefinition()
255 if (Diags.hasErrorOccurred()) in HandleTranslationUnit()
H A DModuleBuilder.cpp94 Diags.hasErrorOccurred()); in ~CodeGeneratorImpl()
175 if (Diags.hasErrorOccurred()) in HandleCXXStaticMemberVarInstantiation()
291 if (Diags.hasErrorOccurred()) { in HandleTranslationUnit()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DHTMLPrint.cpp61 if (PP.getDiagnostics().hasErrorOccurred()) in HandleTranslationUnit()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp75 if (Diags.hasErrorOccurred()) { in ParseOrWrapTopLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp293 if (Clang->getDiagnostics().hasErrorOccurred()) in ExecuteCompilerInvocation()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTypeTraits.cpp619 if (Result.isInvalid() || SFINAE.hasErrorOccurred()) in HasNonDeletedDefaultedEqualityComparison()
1268 if (Result.isInvalid() || SFINAE.hasErrorOccurred()) in CheckConvertibilityForTypeTraits()
1404 if (Result.isInvalid() || SFINAE.hasErrorOccurred()) in EvaluateBooleanTypeTrait()
1757 if (SFINAE.hasErrorOccurred()) in EvaluateBinaryTypeTrait()
H A DSemaTemplateDeduction.cpp3412 if (Trap.hasErrorOccurred()) in DeduceTemplateArguments()
3479 if (Trap.hasErrorOccurred()) in DeduceTemplateArgumentsFromType()
3552 Trap.hasErrorOccurred()) { in SubstituteExplicitTemplateArguments()
3641 if (ResultType.isNull() || Trap.hasErrorOccurred()) in SubstituteExplicitTemplateArguments()
3667 if (FunctionType->isNull() || Trap.hasErrorOccurred()) in SubstituteExplicitTemplateArguments()
3873 if (InstantiatedES.isInvalid() || Trap.hasErrorOccurred()) { in instantiateExplicitSpecifierDeferred()
3983 !Trap.hasErrorOccurred()) in FinishTemplateArgumentDeduction()
3989 if (Trap.hasErrorOccurred()) { in FinishTemplateArgumentDeduction()
5605 return Trap.hasErrorOccurred() ? TemplateDeductionResult::SubstitutionFailure in FinishTemplateArgumentDeduction()
6220 if (Trap.hasErrorOccurred()) in isAtLeastAsSpecializedAs()
H A DSemaTemplateInstantiate.cpp1840 if (Trap.hasErrorOccurred()) in TransformRequiresExpr()
2801 Trap.hasErrorOccurred()) { in TransformRequiresTypeParams()
2835 if (!TransType || Trap.hasErrorOccurred()) in TransformTypeRequirement()
2862 if (!TransExprRes.isInvalid() && !Trap.hasErrorOccurred() && in TransformExprRequirement()
2865 if (TransExprRes.isInvalid() || Trap.hasErrorOccurred()) in TransformExprRequirement()
2888 if (!TPL || Trap.hasErrorOccurred()) in TransformExprRequirement()
2956 assert(!Trap.hasErrorOccurred() && "Substitution failures must be handled " in TransformNestedRequirement()
H A DSemaConcept.cpp238 if (SubstitutedExpression.isInvalid() || Trap.hasErrorOccurred()) { in EvaluateAtomicConstraint()
242 if (!Trap.hasErrorOccurred()) in EvaluateAtomicConstraint()
981 if (SFINAE.hasErrorOccurred() || !SubstConstr.isUsable()) in SubstituteConstraintExpressionWithoutSatisfaction()
H A DSemaExprMember.cpp929 if (RetryExpr.isUsable() && !Trap.hasErrorOccurred()) { in BuildMemberReferenceExpr()
935 if (Trap.hasErrorOccurred()) in BuildMemberReferenceExpr()
H A DSema.cpp1326 if (!Diags.hasErrorOccurred()) { in ActOnEndOfTranslationUnit()
1502 if (!Diags.hasErrorOccurred() && TUKind != TU_ClangModule) { in ActOnEndOfTranslationUnit()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h870 bool hasErrorOccurred() const { return ErrorOccurred; } in hasErrorOccurred() function
1084 bool hasErrorOccurred() const { in hasErrorOccurred() function
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp605 if (Diags.hasErrorOccurred() || Diags.hasFatalErrorOccurred()) in HandleTranslationUnit()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp78 if (ASTCtx.getDiagnostics().hasErrorOccurred()) in HandleTranslationUnit()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp1323 return !Instance.getDiagnostics().hasErrorOccurred() || in compileModule()
1451 if (ReadResult == ASTReader::Missing || !Diags.hasErrorOccurred()) in readASTAfterCompileModule()
2020 assert(getDiagnostics().hasErrorOccurred() && in findOrCompileModuleAndReadAST()
H A DFrontendActions.cpp1209 assert(CI.getDiagnostics().hasErrorOccurred() && in ExecuteAction()
H A DFrontendAction.cpp1311 return getCompilerInstance().getDiagnostics().hasErrorOccurred(); in shouldEraseOutputFiles()
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp399 if (Diagnostics->hasErrorOccurred()) in run()
/freebsd/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp710 bool Failed = Diags.hasErrorOccurred() || ExecuteAssembler(Asm, Diags); in cc1as_main()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp546 if (ScanInstance.getDiagnostics().hasErrorOccurred()) in runInvocation()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp635 assert((Actions.getDiagnostics().hasErrorOccurred() || in ParseLexedMethodDef()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp2102 if (Trap.hasErrorOccurred()) { in generateCompilationDiagnostics()
2223 if (!FailingCommands.empty() || Diags.hasErrorOccurred()) in ExecuteCompilation()
2232 return Diags.hasErrorOccurred() ? 1 : 0; in ExecuteCompilation()
2236 if (Diags.hasErrorOccurred()) in ExecuteCompilation()
5387 !Diags.hasErrorOccurred() && in BuildJobs()

12