Home | History | Annotate | Download | only in Sema

Lines Matching defs:Error

332     // diagnose the error then.  If we don't do this, then the error
333 // about hiding the type will be immediately followed by an error
457 /// isTagName() - This method is called *for error recovery purposes only*
483 /// then downgrade the missing typename error to a warning.
874 // Diagnose the ambiguity and return an error.
875 return NameClassification::Error();
1616 ASTContext::GetBuiltinTypeError Error;
1617 QualType R = Context.GetBuiltinType(BID, Error);
1618 switch (Error) {
1767 /// diagnostics as appropriate. If there was an error, set New to be invalid.
1890 // is normally mapped to an error, but can be controlled with
2389 /// Returns true if there was an error, false otherwise.
2636 // We don't want a redeclaration error.
2888 // local declaration will produce a hard error; if it doesn't
3324 if (!TagD) // We probably had an error
3363 error.
3428 // Skip all the checks below if we have a type error.
3490 // no reason to treat it as an extension. Instead, diagnose as an error.
3646 /// a VarDecl::StorageClass. Any error reporting is up to the caller:
3663 // Illegal SCSs map to None: error reporting is up to the caller.
3899 // an error here
4282 /// \returns true if we cannot safely recover from this error, false otherwise.
5246 // an error here
5965 // Emit an error if an address space was applied to decl with local storage.
6089 /// Sets NewVD->isInvalidDecl() if an error was encountered.
6159 /// \brief Report an error regarding overriding, along with any relevant
6162 /// \param DiagID the primary error to report.
6758 // We have an error, now let's go back up through history and show where
7240 // type declaration will generate a compilation error.
7629 /// This sets NewFD->isInvalidDecl() to true if there was an error.
7890 ASTContext::GetBuiltinTypeError Error;
7892 QualType T = Context.GetBuiltinType(BuiltinID, Error);
7923 // static main is not an error under C99, but we should warn about it.
7980 // Otherwise, this is just a flat-out error.
8263 // If there is no declaration, there was an error parsing it. Just ignore
8717 /// ActOnInitializerError - Given that there was an error parsing an
8759 // If there is no declaration, there was an error parsing it. Just ignore it.
8859 // an error and we do not invalidate the static declaration.
8982 int Error = -1;
8987 Error = 0;
8990 Error = 1;
8993 Error = 2;
8996 Error = 3;
8999 Error = 4;
9005 Error = 5;
9006 if (Error != -1) {
9008 << VD->getDeclName() << Error;
9626 // - otherwise, it's an error
9850 // Clear the last template instantiation error context.
10305 // function declaration is going to be treated as an error.
10306 if (Diags.getDiagnosticLevel(diag_id, Loc) >= DiagnosticsEngine::Error) {
10321 bool Error = DS.SetTypeSpecType(DeclSpec::TST_int, Loc, Dummy, DiagID,
10323 (void)Error; // Silence warning.
10324 assert(!Error && "Error setting up implicit decl!");
10994 // It is an error in C++ to declare (rather than define) an enum
11151 // is from an implicit instantiation, don't emit an error
11267 // issue an error and recover by making this tag be anonymous.
11411 // diagnose this as an error when the declaration specifiers are
11475 if (Name) // can be null along some error paths
11643 // Handle incomplete types with specific error.
12031 // Objective-C++ ARC: it is an error to have a non-trivial field of
12402 // It's an error in ARC if a field has lifetime.
13372 // of the same top-level module. Until we do, make it an error rather than