Lines Matching defs:Error
376 // diagnose the error then. If we don't do this, then the error
377 // about hiding the type will be immediately followed by an error
502 /// isTagName() - This method is called *for error recovery purposes only*
528 /// then downgrade the missing typename error to a warning.
921 // Diagnose the ambiguity and return an error.
922 return NameClassification::Error();
1693 static StringRef getHeaderName(ASTContext::GetBuiltinTypeError Error) {
1694 switch (Error) {
1704 llvm_unreachable("unhandled error kind");
1716 ASTContext::GetBuiltinTypeError Error;
1717 QualType R = Context.GetBuiltinType(ID, Error);
1718 if (Error) {
1721 << getHeaderName(Error)
1895 /// diagnostics as appropriate. If there was an error, set New to be invalid.
2041 // is normally mapped to an error, but can be controlled with
2549 /// Returns true if there was an error, false otherwise.
2796 // We don't want a redeclaration error.
3049 // local declaration will produce a hard error; if it doesn't
3544 if (!TagD) // We probably had an error
3583 // Don't emit warnings after this error.
3667 // Skip all the checks below if we have a type error.
3729 // no reason to treat it as an extension. Instead, diagnose as an error.
3886 /// a VarDecl::StorageClass. Any error reporting is up to the caller:
3903 // Illegal SCSs map to None: error reporting is up to the caller.
4139 // an error here
4526 /// \returns true if we cannot safely recover from this error, false otherwise.
5510 // an error here
6228 // Emit an error if an address space was applied to decl with local storage.
6352 /// Sets NewVD->isInvalidDecl() if an error was encountered.
6422 /// \brief Report an error regarding overriding, along with any relevant
6425 /// \param DiagID the primary error to report.
7022 // We have an error, now let's go back up through history and show where
7494 // type declaration will generate a compilation error.
7902 /// This sets NewFD->isInvalidDecl() to true if there was an error.
8144 ASTContext::GetBuiltinTypeError Error;
8146 QualType T = Context.GetBuiltinType(BuiltinID, Error);
8177 // static main is not an error under C99, but we should warn about it.
8234 // Otherwise, this is just a flat-out error.
8687 // If there is no declaration, there was an error parsing it. Just ignore
9181 /// ActOnInitializerError - Given that there was an error parsing an
9223 // If there is no declaration, there was an error parsing it. Just ignore it.
9323 // an error and we do not invalidate the static declaration.
9448 int Error = -1;
9453 Error = 0;
9456 Error = 1;
9459 Error = 2;
9462 Error = 3;
9465 Error = 4;
9470 if (Error != -1) {
9472 << VD->getDeclName() << Error;
10101 // - otherwise, it's an error
10344 // Clear the last template instantiation error context.
10838 // function declaration is going to be treated as an error.
10839 if (Diags.getDiagnosticLevel(diag_id, Loc) >= DiagnosticsEngine::Error) {
10854 bool Error = DS.SetTypeSpecType(DeclSpec::TST_int, Loc, Dummy, DiagID,
10856 (void)Error; // Silence warning.
10857 assert(!Error && "Error setting up implicit decl!");
11557 // It is an error in C++ to declare (rather than define) an enum
11714 // is from an implicit instantiation, don't emit an error
11842 // issue an error and recover by making this tag be anonymous.
11986 // diagnose this as an error when the declaration specifiers are
12049 if (Name) // can be null along some error paths
12217 // Handle incomplete types with specific error.
12608 // Objective-C++ ARC: it is an error to have a non-trivial field of
12976 // It's an error in ARC if a field has lifetime.
13686 // likely a logic error.
14016 // of the same top-level module. Until we do, make it an error rather than
14147 // Recover from user error.