Searched defs:DiagID (Results 1 - 25 of 64) 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.h64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
65 return Diags.Report(Loc, DiagID);
H A DCommentLexer.h322 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
323 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::__anon16666::CommentLexerTest
H A DCommentParser.cpp39 DiagID(new DiagnosticIDs()),
40 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
47 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:clang::comments::__anon16667::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:__anon16679::PPConditionalDirectiveRecordTest
H A DLexerTest.cpp50 DiagID(new DiagnosticIDs()),
51 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
103 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon16677::LexerTest
H A DPPCallbacksTest.cpp85 DiagID(new DiagnosticIDs()),
87 Diags(DiagID, DiagOpts.getPtr(), new IgnoringDiagConsumer()),
96 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon16678::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.h139 StringRef getDescription(unsigned DiagID) const;
146 static bool isBuiltinWarningOrExtension(unsigned DiagID);
150 static bool isDefaultMappingAsError(unsigned DiagID);
153 static bool isBuiltinNote(unsigned DiagID);
157 static bool isBuiltinExtensionDiag(unsigned DiagID) { argument
159 return isBuiltinExtensionDiag(DiagID, ignored);
169 static bool isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault);
176 static StringRef getWarningOptionForDiag(unsigned DiagID);
178 /// \brief Return the category number that a specified \p DiagID belongs to,
180 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:__anon16674::SourceManagerTest
/external/clang/lib/Frontend/
H A DFrontendAction.cpp105 unsigned DiagID local
108 Ctx.getDiagnostics().Report(Ctx.getFullLoc(D->getLocation()), DiagID)
/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.cpp663 unsigned DiagID; local
665 DiagID = diag::err_expected_class_or_namespace;
671 DiagID = diag::err_undeclared_var_use;
674 Diag(IdentifierLoc, DiagID) << &Identifier << SS.getRange();
676 Diag(IdentifierLoc, DiagID) << &Identifier;
/external/clang/lib/Basic/
H A DDiagnosticIDs.cpp39 uint16_t DiagID; member in struct:__anon15168::StaticDiagInfoRec
62 return DiagID < RHS.DiagID;
90 /// GetDiagInfo - Return the StaticDiagInfoRec entry for the specified DiagID,
92 static const StaticDiagInfoRec *GetDiagInfo(unsigned DiagID) { argument
98 assert(StaticDiagInfo[i-1].DiagID != StaticDiagInfo[i].DiagID &&
111 if (DiagID >= DIAG_UPPER_LIMIT || DiagID <= DIAG_START_COMMON)
123 unsigned ID = DiagID
180 getCategoryNumberForDiag(unsigned DiagID) argument
239 getDiagnosticSFINAEResponse(unsigned DiagID) argument
259 getBuiltinDiagClass(unsigned DiagID) argument
338 isBuiltinWarningOrExtension(unsigned DiagID) argument
345 isBuiltinNote(unsigned DiagID) argument
355 isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault) argument
366 isDefaultMappingAsError(unsigned DiagID) argument
385 getDiagnosticLevel(unsigned DiagID, SourceLocation Loc, const DiagnosticsEngine &Diag) const argument
403 getDiagnosticLevel(unsigned DiagID, unsigned DiagClass, SourceLocation Loc, const DiagnosticsEngine &Diag) const argument
538 getWarningOptionForDiag(unsigned DiagID) argument
615 unsigned DiagID = Info.getID(); local
717 isARCDiagnostic(unsigned DiagID) argument
[all...]
/external/clang/lib/CodeGen/
H A DCGCXXABI.cpp24 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local
27 DiagID)
H A DCodeGenAction.cpp425 unsigned DiagID = CI.getDiagnostics().getCustomDiagID( local
428 CI.getDiagnostics().Report(Loc, DiagID);

Completed in 176 milliseconds

123