Home
last modified time | relevance | path

Searched refs:DiagnosticIDs (Results 1 – 25 of 171) sorted by relevance

1234567

/external/clang/lib/Basic/
DDiagnosticIDs.cpp77 diag::ENUM, DEFAULT_SEVERITY, CLASS, DiagnosticIDs::SFINAE, NOWERROR, \
176 unsigned DiagnosticIDs::getCategoryNumberForDiag(unsigned DiagID) { in getCategoryNumberForDiag()
218 unsigned DiagnosticIDs::getNumberOfCategories() { in getNumberOfCategories()
225 StringRef DiagnosticIDs::getCategoryNameFromID(unsigned CategoryID) { in getCategoryNameFromID()
233 DiagnosticIDs::SFINAEResponse
234 DiagnosticIDs::getDiagnosticSFINAEResponse(unsigned DiagID) { in getDiagnosticSFINAEResponse()
236 return static_cast<DiagnosticIDs::SFINAEResponse>(Info->SFINAE); in getDiagnosticSFINAEResponse()
255 typedef std::pair<DiagnosticIDs::Level, std::string> DiagDesc;
269 DiagnosticIDs::Level getLevel(unsigned DiagID) const { in getLevel()
275 unsigned getOrCreateDiagID(DiagnosticIDs::Level L, StringRef Message, in getOrCreateDiagID()
[all …]
/external/llvm-project/clang/lib/Basic/
DDiagnosticIDs.cpp177 DiagnosticIDs::SFINAE, \
275 unsigned DiagnosticIDs::getCategoryNumberForDiag(unsigned DiagID) { in getCategoryNumberForDiag()
317 unsigned DiagnosticIDs::getNumberOfCategories() { in getNumberOfCategories()
324 StringRef DiagnosticIDs::getCategoryNameFromID(unsigned CategoryID) { in getCategoryNameFromID()
332 DiagnosticIDs::SFINAEResponse
333 DiagnosticIDs::getDiagnosticSFINAEResponse(unsigned DiagID) { in getDiagnosticSFINAEResponse()
335 return static_cast<DiagnosticIDs::SFINAEResponse>(Info->SFINAE); in getDiagnosticSFINAEResponse()
339 bool DiagnosticIDs::isDeferrable(unsigned DiagID) { in isDeferrable()
360 typedef std::pair<DiagnosticIDs::Level, std::string> DiagDesc;
374 DiagnosticIDs::Level getLevel(unsigned DiagID) const { in getLevel()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyDiagnosticConsumer.h97 DiagnosticIDs::Level Level = DiagnosticIDs::Warning);
100 DiagnosticIDs::Level Level = DiagnosticIDs::Warning);
105 DiagnosticIDs::Level Level = DiagnosticIDs::Warning);
178 using DiagLevelAndFormatString = std::pair<DiagnosticIDs::Level, std::string>;
182 static_cast<DiagnosticIDs::Level>( in getDiagLevelAndFormatString()
/external/llvm-project/clang/unittests/Driver/
DToolChainTest.cpp32 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST()
86 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST()
126 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST()
157 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST()
266 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST()
294 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST()
/external/llvm-project/clang/lib/Frontend/
DTextDiagnosticPrinter.cpp73 DiagnosticIDs::isBuiltinWarningOrExtension(Info.getID()) && in printDiagnosticOptions()
74 !DiagnosticIDs::isDefaultMappingAsError(Info.getID())) { in printDiagnosticOptions()
79 StringRef Opt = DiagnosticIDs::getWarningOptionForDiag(Info.getID()); in printDiagnosticOptions()
93 DiagnosticIDs::getCategoryNumberForDiag(Info.getID()); in printDiagnosticOptions()
101 OS << DiagnosticIDs::getCategoryNameFromID(DiagCategory); in printDiagnosticOptions()
/external/clang/lib/Frontend/
DTextDiagnosticPrinter.cpp76 DiagnosticIDs::isBuiltinWarningOrExtension(Info.getID()) && in printDiagnosticOptions()
77 !DiagnosticIDs::isDefaultMappingAsError(Info.getID())) { in printDiagnosticOptions()
82 StringRef Opt = DiagnosticIDs::getWarningOptionForDiag(Info.getID()); in printDiagnosticOptions()
96 DiagnosticIDs::getCategoryNumberForDiag(Info.getID()); in printDiagnosticOptions()
104 OS << DiagnosticIDs::getCategoryNameFromID(DiagCategory); in printDiagnosticOptions()
/external/llvm-project/clang/tools/diagtool/
DShowEnabledWarnings.cpp57 IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs()); in createDiagnostics()
119 if (DiagnosticIDs::isBuiltinNote(DiagID)) in run()
122 if (!DiagnosticIDs::isBuiltinWarningOrExtension(DiagID)) in run()
130 StringRef WarningOpt = DiagnosticIDs::getWarningOptionForDiag(DiagID); in run()
DListWarnings.cpp56 if (DiagnosticIDs::isBuiltinNote(diagID)) in run()
59 if (!DiagnosticIDs::isBuiltinWarningOrExtension(diagID)) in run()
62 Entry entry(DR.getName(), DiagnosticIDs::getWarningOptionForDiag(diagID)); in run()
/external/clang/tools/diagtool/
DShowEnabledWarnings.cpp58 IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(new DiagnosticIDs()); in createDiagnostics()
123 if (DiagnosticIDs::isBuiltinNote(DiagID)) in run()
126 if (!DiagnosticIDs::isBuiltinWarningOrExtension(DiagID)) in run()
134 StringRef WarningOpt = DiagnosticIDs::getWarningOptionForDiag(DiagID); in run()
DListWarnings.cpp63 if (DiagnosticIDs::isBuiltinNote(diagID)) in run()
66 if (!DiagnosticIDs::isBuiltinWarningOrExtension(diagID)) in run()
70 DiagnosticIDs::getWarningOptionForDiag(diagID)); in run()
/external/clang/unittests/Driver/
DToolChainTest.cpp31 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST()
84 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DFunctionSizeCheck.cpp189 DiagnosticIDs::Note) in check()
195 DiagnosticIDs::Note) in check()
200 diag(Func->getLocation(), "%0 branches (threshold %1)", DiagnosticIDs::Note) in check()
206 DiagnosticIDs::Note) in check()
212 DiagnosticIDs::Note) in check()
218 DiagnosticIDs::Note) in check()
/external/clang/include/clang/Basic/
DDiagnosticIDs.h116 class DiagnosticIDs : public RefCountedBase<DiagnosticIDs> {
128 DiagnosticIDs();
129 ~DiagnosticIDs();
260 DiagnosticIDs::Level
DDiagnostic.h142 Ignored = DiagnosticIDs::Ignored,
143 Note = DiagnosticIDs::Note,
144 Remark = DiagnosticIDs::Remark,
145 Warning = DiagnosticIDs::Warning,
146 Error = DiagnosticIDs::Error,
147 Fatal = DiagnosticIDs::Fatal
189 IntrusiveRefCntPtr<DiagnosticIDs> Diags;
303 DiagnosticIDs::Level LastDiagLevel;
348 const IntrusiveRefCntPtr<DiagnosticIDs> &Diags,
354 const IntrusiveRefCntPtr<DiagnosticIDs> &getDiagnosticIDs() const { in getDiagnosticIDs()
[all …]
/external/clang/lib/ARCMigrate/
DARCMT.cpp134 if (DiagnosticIDs::isARCDiagnostic(Info.getID()) || in HandleDiagnostic()
182 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in createInvocationForMigration()
223 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in emitPremigrationErrors()
263 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForManualIssues()
372 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in applyTransforms()
409 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in getFileRemappings()
515 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in MigrationProcess()
536 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in applyTransform()
/external/llvm-project/clang/lib/ARCMigrate/
DARCMT.cpp135 if (DiagnosticIDs::isARCDiagnostic(Info.getID()) || in HandleDiagnostic()
183 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in createInvocationForMigration()
222 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in emitPremigrationErrors()
262 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForManualIssues()
371 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in applyTransforms()
408 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in getFileRemappings()
516 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in MigrationProcess()
537 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in applyTransform()
/external/clang/tools/libclang/
DCXStoredDiagnostic.cpp58 StringRef Option = DiagnosticIDs::getWarningOptionForDiag(ID); in getDiagnosticOption()
75 return DiagnosticIDs::getCategoryNumberForDiag(Diag.getID()); in getCategory()
79 unsigned catID = DiagnosticIDs::getCategoryNumberForDiag(Diag.getID()); in getCategoryText()
80 return cxstring::createRef(DiagnosticIDs::getCategoryNameFromID(catID)); in getCategoryText()
/external/llvm-project/clang/tools/libclang/
DCXStoredDiagnostic.cpp54 StringRef Option = DiagnosticIDs::getWarningOptionForDiag(ID); in getDiagnosticOption()
71 return DiagnosticIDs::getCategoryNumberForDiag(Diag.getID()); in getCategory()
75 unsigned catID = DiagnosticIDs::getCategoryNumberForDiag(Diag.getID()); in getCategoryText()
76 return cxstring::createRef(DiagnosticIDs::getCategoryNameFromID(catID)); in getCategoryText()
/external/llvm-project/clang/include/clang/Basic/
DDiagnosticIDs.h164 class DiagnosticIDs : public RefCountedBase<DiagnosticIDs> {
176 DiagnosticIDs();
177 ~DiagnosticIDs();
322 DiagnosticIDs::Level
DDiagnostic.h195 Ignored = DiagnosticIDs::Ignored,
196 Note = DiagnosticIDs::Note,
197 Remark = DiagnosticIDs::Remark,
198 Warning = DiagnosticIDs::Warning,
199 Error = DiagnosticIDs::Error,
200 Fatal = DiagnosticIDs::Fatal
285 IntrusiveRefCntPtr<DiagnosticIDs> Diags;
481 DiagnosticIDs::Level LastDiagLevel;
532 explicit DiagnosticsEngine(IntrusiveRefCntPtr<DiagnosticIDs> Diags,
543 const IntrusiveRefCntPtr<DiagnosticIDs> &getDiagnosticIDs() const { in getDiagnosticIDs()
[all …]
/external/llvm-project/clang/unittests/Basic/
DDiagnosticTest.cpp21 DiagnosticsEngine Diags(new DiagnosticIDs(), in TEST()
52 DiagnosticsEngine Diags(new DiagnosticIDs(), in TEST()
75 DiagnosticsEngine Diags(new DiagnosticIDs(), new DiagnosticOptions, in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DBranchCloneCheck.cpp87 diag(IS->getElseLoc(), "else branch starts here", DiagnosticIDs::Note); in check()
141 diag(End, "end of the original", DiagnosticIDs::Note); in check()
146 DiagnosticIDs::Note) in check()
220 diag(EndLoc, "last of these clones ends here", DiagnosticIDs::Note); in check()
/external/llvm-project/flang/tools/flang-driver/
Dfc1_main.cpp43 llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> diagID( in fc1_main()
44 new clang::DiagnosticIDs()); in fc1_main()
/external/llvm-project/clang-tools-extra/unittests/clang-apply-replacements/
DApplyReplacementsTest.cpp41 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs()), DiagOpts.get()); in TEST()
/external/clang/unittests/Basic/
DDiagnosticTest.cpp21 DiagnosticsEngine Diags(new DiagnosticIDs(), in TEST()
51 DiagnosticsEngine Diags(new DiagnosticIDs(), in TEST()

1234567