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

123

/external/clang/examples/PrintFunctionNames/
H A DPrintFunctionNames.cpp51 unsigned DiagID = D.getCustomDiagID(DiagnosticsEngine::Error, local
53 D.Report(DiagID) << args[i];
/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.h93 PartialDiagnostic &setDiag(unsigned DiagID) { argument
95 assert(DiagID && "creating null diagnostic");
96 Diag.Reset(DiagID);
/external/clang/unittests/Lex/
H A DPPConditionalDirectiveRecordTest.cpp35 DiagID(new DiagnosticIDs()),
36 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
46 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon19547::PPConditionalDirectiveRecordTest
H A DLexerTest.cpp54 DiagID(new DiagnosticIDs()),
55 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
107 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon19544::LexerTest
H A DPPCallbacksTest.cpp119 : FileMgr(FileMgrOpts), DiagID(new DiagnosticIDs()),
121 Diags(DiagID, DiagOpts.get(), new IgnoringDiagConsumer()),
129 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:__anon19545::PPCallbacksTest
/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.h312 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
313 return Diags.Report(Loc, DiagID);
/external/clang/tools/diagtool/
H A DDiagnosticNames.cpp49 return Left.DiagID < Right.DiagID;
52 const DiagnosticRecord &diagtool::getDiagnosticForID(short DiagID) { argument
53 DiagnosticRecord Key = {nullptr, DiagID, 0};
H A DDiagnosticNames.h18 short DiagID; member in struct:diagtool::DiagnosticRecord
34 const DiagnosticRecord &getDiagnosticForID(short DiagID);
H A DShowEnabledWarnings.cpp119 unsigned DiagID = I->DiagID; local
121 if (DiagnosticIDs::isBuiltinNote(DiagID))
124 if (!DiagnosticIDs::isBuiltinWarningOrExtension(DiagID))
128 Diags->getDiagnosticLevel(DiagID, SourceLocation());
132 StringRef WarningOpt = DiagnosticIDs::getWarningOptionForDiag(DiagID);
H A DTreeView.cpp51 static bool isIgnored(unsigned DiagID) { argument
55 return Diags.isIgnored(DiagID, SourceLocation());
76 if (ShowColors && !isIgnored(I->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::__anon19529::CommentLexerTest
H A DCommentParser.cpp39 DiagID(new DiagnosticIDs()),
40 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
47 IntrusiveRefCntPtr<DiagnosticIDs> DiagID; member in class:clang::comments::__anon19530::CommentParserTest
/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.h138 StringRef getDescription(unsigned DiagID) const;
145 static bool isBuiltinWarningOrExtension(unsigned DiagID);
149 static bool isDefaultMappingAsError(unsigned DiagID);
152 static bool isBuiltinNote(unsigned DiagID);
156 static bool isBuiltinExtensionDiag(unsigned DiagID) { argument
158 return isBuiltinExtensionDiag(DiagID, ignored);
168 static bool isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault);
175 static StringRef getWarningOptionForDiag(unsigned DiagID);
177 /// \brief Return the category number that a specified \p DiagID belongs to,
179 static unsigned getCategoryNumberForDiag(unsigned DiagID);
[all...]
H A DPartialDiagnostic.h117 mutable unsigned DiagID; member in class:clang::PartialDiagnostic
182 : DiagID(0), DiagStorage(nullptr), Allocator(nullptr) { }
184 PartialDiagnostic(unsigned DiagID, StorageAllocator &Allocator) argument
185 : DiagID(DiagID), DiagStorage(nullptr), Allocator(&Allocator) { }
188 : DiagID(Other.DiagID), DiagStorage(nullptr), Allocator(Other.Allocator)
197 : DiagID(Other.DiagID), DiagStorage(Other.DiagStorage),
203 : DiagID(Othe
[all...]
/external/clang/lib/Frontend/
H A DFrontendAction.cpp112 unsigned DiagID variable
115 Ctx.getDiagnostics().Report(Ctx.getFullLoc(D->getLocation()), DiagID)
H A DSerializedDiagnosticPrinter.cpp154 unsigned DiagID = 0);
493 unsigned DiagID) {
497 StringRef FlagName = DiagnosticIDs::getWarningOptionForDiag(DiagID);
601 unsigned DiagID = DiagnosticIDs::getCategoryNumberForDiag(Info->getID()); local
602 Record.push_back(getEmitCategory(DiagID));
492 getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel, unsigned DiagID) argument
/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:__anon19539::SourceManagerTest
/external/clang/lib/CodeGen/
H A DBackendUtil.cpp606 unsigned DiagID = Diags.getCustomDiagID( local
609 Diags.Report(DiagID) << DLDesc << TDesc;
H A DCGCXXABI.cpp24 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, local
27 DiagID)
H A DCodeGenAction.cpp243 unsigned DiagID);
303 unsigned DiagID; local
306 DiagID = diag::err_fe_inline_asm;
309 DiagID = diag::warn_fe_inline_asm;
312 DiagID = diag::note_fe_inline_asm;
319 Diags.Report(LocCookie, DiagID).AddString(Message);
338 Diags.Report(Loc, DiagID).AddString(Message);
341 #define ComputeDiagID(Severity, GroupName, DiagID) \
345 DiagID = diag::err_fe_##GroupName; \
348 DiagID
379 unsigned DiagID; local
419 EmitOptimizationRemark( const llvm::DiagnosticInfoOptimizationRemarkBase &D, unsigned DiagID) argument
491 unsigned DiagID = diag::err_fe_inline_asm; local
667 unsigned DiagID = local
675 unsigned DiagID = CI.getDiagnostics().getCustomDiagID( local
[all...]
/external/clang/lib/Basic/
H A DDiagnosticIDs.cpp40 uint16_t DiagID; member in struct:__anon17790::StaticDiagInfoRec
62 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 || DiagID <= DIAG_START_COMMON)
124 unsigned ID = DiagID
175 getCategoryNumberForDiag(unsigned DiagID) argument
233 getDiagnosticSFINAEResponse(unsigned DiagID) argument
241 getBuiltinDiagClass(unsigned DiagID) argument
321 isBuiltinWarningOrExtension(unsigned DiagID) argument
328 isBuiltinNote(unsigned DiagID) argument
338 isBuiltinExtensionDiag(unsigned DiagID, bool &EnabledByDefault) argument
349 isDefaultMappingAsError(unsigned DiagID) argument
384 getDiagnosticLevel(unsigned DiagID, SourceLocation Loc, const DiagnosticsEngine &Diag) const argument
402 getDiagnosticSeverity(unsigned DiagID, SourceLocation Loc, const DiagnosticsEngine &Diag) const argument
516 getWarningOptionForDiag(unsigned DiagID) argument
589 unsigned DiagID = Info.getID(); local
691 isARCDiagnostic(unsigned DiagID) argument
[all...]

Completed in 448 milliseconds

123