HomeSort by: relevance | last modified time | path
    Searched refs:Diagnose (Results 1 - 16 of 16) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Lookup.h 151 Diagnose(Redecl == Sema::NotForRedeclaration) {
164 Diagnose(Redecl == Sema::NotForRedeclaration) {
195 Diagnose(std::move(Other.Diagnose)),
200 Other.Diagnose = false;
218 Diagnose = std::move(Other.Diagnose);
223 Other.Diagnose = false;
228 if (Diagnose) diagnose();
694 void diagnose() { function in class:clang::LookupResult
    [all...]
Sema.h 2026 /// Abstract class used to diagnose incomplete types.
2030 virtual void diagnose(Sema &S, SourceLocation Loc, QualType T) = 0;
2069 void diagnose(Sema &S, SourceLocation Loc, QualType T) override {
2096 void diagnose(Sema &S, SourceLocation Loc, QualType T) override {
2675 /// Diagnose issues that are non-constant or that are extensions.
2676 Diagnose,
2833 /// Diagnose any unused parameters in the given sequence of
2837 /// Diagnose whether the size of parameters or return value of a
2920 /// Diagnose that the specified declaration needs to be visible but
2935 /// and partial specializations are visible, and diagnose if not
    [all...]
Initialization.h 1134 /// information to diagnose
1188 /// Diagnose an potentially-invalid initialization sequence.
1192 bool Diagnose(Sema &S,
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaDeclCXX.cpp 58 /// diagnose the use of local variables or parameters within the
1013 // Look up the trait itself, within namespace std. We can diagnose various
1014 // problems with this lookup even if we've been asked to not diagnose a
1630 /// if Kind is Diagnose.
1640 case Sema::CheckConstexprKind::Diagnose:
1661 if (Kind == Sema::CheckConstexprKind::Diagnose) {
1771 if (Kind == CheckConstexprKind::Diagnose)
1850 if (Kind == Sema::CheckConstexprKind::Diagnose) {
1865 if (Kind == Sema::CheckConstexprKind::Diagnose) {
1893 if (Kind == Sema::CheckConstexprKind::Diagnose) {
    [all...]
SemaExprObjC.cpp 2539 /// Diagnose use of %s directive in an NSString which is being passed
3544 bool Diagnose;
3553 ARCConversionTypeClass target, bool diagnose)
3555 Diagnose(diagnose) {}
3676 return Diagnose ? ACC_plusOne
3690 return Diagnose ? ACC_plusOne
4234 bool CfToNs, bool Diagnose) {
4250 if (Diagnose) {
4261 if (Diagnose) {
    [all...]
SemaCUDA.cpp 323 bool Diagnose) {
384 if (Diagnose) {
428 if (Diagnose) {
SemaExprCXX.cpp 103 // diagnose cases where the injected-class-name is shadowed: the only
2046 // Diagnose the compatibility of this conversion.
2411 OverloadCandidateSet *AlignedCandidates, Expr *AlignArg, bool Diagnose) {
2458 Diagnose);
2475 /*AlignArg=*/nullptr, Diagnose);
2478 if (Diagnose) {
2481 // diagnose the missing inclusion of <new>.
2531 if (Diagnose) {
2541 if (Diagnose) {
2561 bool Diagnose) {
    [all...]
SemaExpr.cpp 71 DeduceReturnType(FD, SourceLocation(), /*Diagnose*/ false))
92 // [[maybe_unused]] should not diagnose uses, but __attribute__((unused))
93 // should diagnose them.
112 // Try to diagnose why this special member function was implicitly
486 ExprResult Sema::DefaultFunctionArrayConversion(Expr *E, bool Diagnose) {
500 if (!checkAddressOfFunctionIsAvailable(FD, Diagnose, E->getExprLoc()))
716 ExprResult Sema::DefaultFunctionArrayLvalueConversion(Expr *E, bool Diagnose) {
717 ExprResult Res = DefaultFunctionArrayConversion(E, Diagnose);
1185 /// Diagnose attempts to convert between __float128 and long double if
1540 // Diagnose attempts to convert between __float128 and long double wher
    [all...]
SemaAccess.cpp 1105 /// access control; diagnose that.
1161 /// Diagnose the path which caused the given declaration or base class
1196 llvm_unreachable("cannot diagnose dependent access");
1232 llvm_unreachable("cannot diagnose dependent access");
1717 bool Diagnose) {
1725 if (Diagnose)
SemaTemplate.cpp 242 // Leave the ambiguity for a later lookup to diagnose.
249 // We'll diagnose the ambiguity later.
329 // FIXME: Diagnose an ambiguity if we find at least one template.
485 // all language modes, and diagnose the empty lookup in ActOnCallExpr if we
657 // If this is a dependent-scope lookup, diagnose that the 'template' keyword
801 // If we're allowed to diagnose this and recover, do so.
1299 /// Require the given type to be a structural type, and diagnose if it is not.
2544 /// Diagnose the presence of a default template argument on a
2694 // Variables used to diagnose redundant default arguments
2699 // Variable used to diagnose missing default argument
11015 void diagnose(NamedDecl *D, bool IsPartialSpec) { function in class:__anon3227::ExplicitSpecializationVisibilityChecker
    [all...]
SemaDecl.cpp 426 // diagnose the error then. If we don't do this, then the error
455 // We found a type within the ambiguous lookup; diagnose the
579 // Diagnose that this identifier was undeclared, and retry the lookup during
607 /// TST_union, TST_struct, TST_interface, TST_class). This is used to diagnose
1064 // Diagnose the ambiguity and return an error.
1811 // dependent, don't diagnose the variable.
1914 bool Diagnose = false;
1916 Diagnose = !L->isResolvedMSAsmLabel();
1918 Diagnose = L->getStmt() == nullptr;
1919 if (Diagnose)
    [all...]
SemaInit.cpp 383 /// Diagnose that OldInit (or part thereof) has been overridden by NewInit.
424 // Such overwrites are harmless, so we don't diagnose them. (Note that in
579 InitSeq.Diagnose(SemaRef, Entity, Kind, SubInit);
2664 // conformance, but for consistency, we should diagnose all the other
3130 // No need to diagnose when `expr` is nullptr because a more relevant
6052 getAssignmentAction(const InitializedEntity &Entity, bool Diagnose = false) {
6073 return !Diagnose ? Sema::AA_Passing : Sema::AA_Passing_CFAudited;
6703 // FIXME: This will always be ill-formed; should we eagerly diagnose it here?
6756 // FIXME: Can we diagnose lifetime problems with exceptions?
7113 // Step into CXXDefaultInitExprs so we can diagnose cases where
    [all...]
SemaTemplateDeduction.cpp 3718 S.DeduceReturnType(Fn, R.Expression->getExprLoc(), /*Diagnose*/ false))
4830 // If deduction failed, don't diagnose if the initializer is dependent; it
4984 bool Diagnose) {
5038 if (StillUndeduced && Diagnose && !FD->isInvalidDecl()) {
5340 /// \param NoneDiag partial diagnostic used to diagnose cases where there are
5343 /// \param AmbigDiag partial diagnostic used to diagnose an ambiguity, if one
5408 // Diagnose the ambiguity.
SemaChecking.cpp 690 // diagnostic isn't quite right. We should still diagnose passing a buffer
889 /// Diagnose integer type and any valid implicit conversion to it.
1449 ICEArguments = 0; // Don't diagnose previously diagnosed errors.
1451 // If any arguments are required to be ICE's, check and diagnose.
4404 /// Diagnose use of %s directive in an NSString which is being passed
7147 void Diagnose(Sema &S, bool IsFunctionCall, const Expr *ArgExpr);
7644 UncoveredArg.Diagnose(*this, /*IsFunctionCall*/true, Args[ArgIdx]);
7972 void UncoveredArgHandler::Diagnose(Sema &S, bool IsFunctionCall,
8783 // Diagnose attempts to print a boolean value as a character. Unlike other
9999 /// Diagnose cases like 'memset(buf, sizeof(buf), 0)', which should have th
    [all...]
SemaOverload.cpp 1091 // overload; if it doesn't, we'll have to diagnose during
2000 /*Diagnose=*/false,
2990 bool Diagnose) {
2996 if (Diagnose && !IsCStyleOrFunctionalCast && !FromType->isAnyPointerType() &&
3018 if (Diagnose) {
3032 if (Diagnose && !IsCStyleOrFunctionalCast &&
5721 // expression. We'll diagnose this in a moment.
5729 // Don't diagnose array bound narrowing here; we produce more precise
5740 // FIXME: It would be better to diagnose that the expression is not a
6032 /// \param Converter Used to control and diagnose the conversion process
    [all...]
SemaOpenMP.cpp 2495 // Diagnose host function called during device codegen.
2506 // Diagnose nohost function called during host codegen.
12564 // Verify and diagnose loop nest.
14772 // If there is any 'init' clause diagnose if there is no 'init' clause with
17715 bool Diagnose = true) {
17722 if (Diagnose)
20074 // Diagnose marking after use as it may lead to incorrect diagnosis and

Completed in 135 milliseconds