Searched defs:DiagID (Results 1 - 25 of 63) sorted by relevance

123

/external/clang/include/clang/Sema/
H A DSemaInternal.h24 inline PartialDiagnostic Sema::PDiag(unsigned DiagID) { argument
25 return PartialDiagnostic(DiagID, Context.getDiagAllocator());
H A DDelayedDiagnostic.h92 PartialDiagnostic &setDiag(unsigned DiagID) { argument
94 assert(DiagID && "creating null diagnostic");
95 Diag.Reset(DiagID);
/external/clang/examples/PrintFunctionNames/
H A DPrintFunctionNames.cpp51 unsigned DiagID = D.getCustomDiagID( local
53 D.Report(DiagID);
/external/clang/tools/diagtool/
H A DDiagnosticNames.cpp50 return Left.DiagID < Right.DiagID;
53 const DiagnosticRecord &diagtool::getDiagnosticForID(short DiagID) { argument
54 DiagnosticRecord Key = {0, DiagID, 0};
H A DShowEnabledWarnings.cpp118 unsigned DiagID = I->DiagID; local
120 if (DiagnosticIDs::isBuiltinNote(DiagID))
123 if (!DiagnosticIDs::isBuiltinWarningOrExtension(DiagID))
127 Diags->getDiagnosticLevel(DiagID, SourceLocation());
131 StringRef WarningOpt = DiagnosticIDs::getWarningOptionForDiag(DiagID);
H A DTreeView.cpp53 static clang::DiagnosticsEngine::Level getLevel(unsigned DiagID) { argument
57 return Diags.getDiagnosticLevel(DiagID, SourceLocation());
81 if (getLevel(I->DiagID) != DiagnosticsEngine::Ignored) {
H A DDiagnosticNames.h18 short DiagID; member in struct:diagtool::DiagnosticRecord
34 const DiagnosticRecord &getDiagnosticForID(short DiagID);
/external/clang/include/clang/AST/
H A DCommentParser.h48 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
49 return Diags.Report(Loc, DiagID);
H A DCommentSema.h67 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
68 return Diags.Report(Loc, DiagID);
/external/clang/unittests/AST/
H A DCommentLexer.cpp32 DiagID(new DiagnosticIDs()),
33 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
40 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:clang::comments::__anon5084::CommentLexerTest
H A DCommentParser.cpp39 DiagID(new DiagnosticIDs()),
40 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
47 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:clang::comments::__anon5085::CommentParserTest
/external/clang/unittests/Lex/
H A DPPConditionalDirectiveRecordTest.cpp36 DiagID(new DiagnosticIDs()),
37 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
47 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon5094::PPConditionalDirectiveRecordTest
H A DLexerTest.cpp36 DiagID(new DiagnosticIDs()),
37 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
47 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon5092::LexerTest
H A DPPCallbacksTest.cpp84 DiagID(new DiagnosticIDs()),
86 Diags(DiagID, DiagOpts.getPtr(), new IgnoringDiagConsumer()),
95 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon5093::PPCallbacksTest
/external/clang/lib/Rewrite/Frontend/
H A DFixItRewriter.cpp188 void FixItRewriter::Diag(SourceLocation Loc, unsigned DiagID) { argument
195 Diags.Report(Loc, DiagID);
/external/clang/include/clang/Basic/
H A DDiagnosticIDs.h136 StringRef getDescription(unsigned DiagID) const;
143 static bool isBuiltinWarningOrExtension(unsigned DiagID);
147 static bool isDefaultMappingAsError(unsigned DiagID);
150 static bool isBuiltinNote(unsigned DiagID);
154 static bool isBuiltinExtensionDiag(unsigned DiagID) { argument
156 return isBuiltinExtensionDiag(DiagID, ignored);
166 static bool isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault);
173 static StringRef getWarningOptionForDiag(unsigned DiagID);
175 /// \brief Return the category number that a specified \p DiagID belongs to,
177 static unsigned getCategoryNumberForDiag(unsigned DiagID);
[all...]
H A DPartialDiagnostic.h122 mutable unsigned DiagID; member in class:clang::PartialDiagnostic
190 : DiagID(0), DiagStorage(0), Allocator(0) { }
192 PartialDiagnostic(unsigned DiagID, StorageAllocator &Allocator) argument
193 : DiagID(DiagID), DiagStorage(0), Allocator(&Allocator) { }
196 : DiagID(Other.DiagID), DiagStorage(0), Allocator(Other.Allocator)
206 : DiagID(Other.DiagID), DiagStorage(Other.DiagStorage),
213 : DiagID(Othe
[all...]
/external/clang/unittests/Basic/
H A DSourceManagerTest.cpp36 DiagID(new DiagnosticIDs()),
37 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
46 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon5089::SourceManagerTest
/external/clang/lib/CodeGen/
H A DCGCXXABI.cpp25 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local
28 DiagID)
H A DCodeGenAction.cpp408 unsigned DiagID = CI.getDiagnostics().getCustomDiagID( local
411 CI.getDiagnostics().Report(Loc, DiagID);
/external/clang/lib/Frontend/
H A DFrontendAction.cpp105 unsigned DiagID local
108 Ctx.getDiagnostics().Report(Ctx.getFullLoc(D->getLocation()), DiagID)
H A DSerializedDiagnosticPrinter.cpp158 unsigned DiagID = 0);
497 unsigned DiagID) {
501 StringRef FlagName = DiagnosticIDs::getWarningOptionForDiag(DiagID);
591 unsigned DiagID = DiagnosticIDs::getCategoryNumberForDiag(Info->getID()); local
592 Record.push_back(getEmitCategory(DiagID));
496 getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel, unsigned DiagID) argument
/external/clang/lib/Lex/
H A DLiteralSupport.cpp61 /// Emits the diagnostic \p DiagID, highlighting the range of characters from
67 const char *TokRangeEnd, unsigned DiagID) {
71 return Diags->Report(Begin, DiagID) <<
64 Diag(DiagnosticsEngine *Diags, const LangOptions &Features, FullSourceLoc TokLoc, const char *TokBegin, const char *TokRangeBegin, const char *TokRangeEnd, unsigned DiagID) argument
/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp674 unsigned DiagID; local
676 DiagID = diag::err_expected_class_or_namespace;
682 DiagID = diag::err_undeclared_var_use;
685 Diag(IdentifierLoc, DiagID) << &Identifier << SS.getRange();
687 Diag(IdentifierLoc, DiagID) << &Identifier;
/external/clang/lib/Basic/
H A DDiagnosticIDs.cpp38 unsigned short DiagID; member in struct:__anon3689::StaticDiagInfoRec
61 return DiagID < RHS.DiagID;
91 /// GetDiagInfo - Return the StaticDiagInfoRec entry for the specified DiagID,
93 static const StaticDiagInfoRec *GetDiagInfo(unsigned DiagID) { argument
99 assert(StaticDiagInfo[i-1].DiagID != StaticDiagInfo[i].DiagID &&
112 if (DiagID >= DIAG_UPPER_LIMIT)
124 unsigned ID = DiagID;
127 if (DiagID > DIAG_START
183 getCategoryNumberForDiag(unsigned DiagID) argument
242 getDiagnosticSFINAEResponse(unsigned DiagID) argument
262 getBuiltinDiagClass(unsigned DiagID) argument
341 isBuiltinWarningOrExtension(unsigned DiagID) argument
348 isBuiltinNote(unsigned DiagID) argument
358 isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault) argument
369 isDefaultMappingAsError(unsigned DiagID) argument
388 getDiagnosticLevel(unsigned DiagID, SourceLocation Loc, const DiagnosticsEngine &Diag) const argument
406 getDiagnosticLevel(unsigned DiagID, unsigned DiagClass, SourceLocation Loc, const DiagnosticsEngine &Diag) const argument
542 getWarningOptionForDiag(unsigned DiagID) argument
619 unsigned DiagID = Info.getID(); local
721 isARCDiagnostic(unsigned DiagID) argument
[all...]

Completed in 1862 milliseconds

123