Home
last modified time | relevance | path

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

12

/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 …]
DWarnings.cpp38 StringRef Suggestion = DiagnosticIDs::getNearestOption(Flavor, Opt); in EmitUnknownDiagWarning()
74 const IntrusiveRefCntPtr< DiagnosticIDs > DiagIDs = in ProcessWarningOptions()
/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()
DSerializedDiagnosticPrinter.cpp546 StringRef catName = DiagnosticIDs::getCategoryNameFromID(category); in getEmitCategory()
559 StringRef FlagName = DiagnosticIDs::getWarningOptionForDiag(DiagID); in getEmitDiagnosticFlag()
665 unsigned DiagID = DiagnosticIDs::getCategoryNumberForDiag(Info->getID()); in EmitDiagnosticMessage()
771 IntrusiveRefCntPtr<DiagnosticIDs> IDs(new DiagnosticIDs()); in getMetaDiags()
/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/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/clang/unittests/Driver/
DToolChainTest.cpp31 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST()
84 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in TEST()
/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/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/clang/unittests/Basic/
DDiagnosticTest.cpp21 DiagnosticsEngine Diags(new DiagnosticIDs(), in TEST()
51 DiagnosticsEngine Diags(new DiagnosticIDs(), in TEST()
/external/clang/tools/clang-fuzzer/
DClangFuzzer.cpp33 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts, in LLVMFuzzerTestOneInput()
/external/clang/tools/driver/
Dcc1_main.cpp69 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in cc1_main()
/external/clang/lib/Tooling/
DRefactoring.cpp45 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs()), in runAndSave()
DCompilationDatabase.cpp211 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), in stripPositionalArgs()
/external/clang/unittests/AST/
DASTVectorTest.cpp29 : FileMgr(FileMgrOpts), DiagID(new DiagnosticIDs()), in ASTVectorTest()
36 IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
/external/clang/tools/arcmt-test/
Darcmt-test.cpp112 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in checkForMigration()
157 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in performTransformations()
/external/clang/tools/clang-format/
DClangFormat.cpp136 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), in fillRanges()
288 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), in format()
/external/clang/unittests/Tooling/
DRewriterTestContext.h39 Diagnostics(IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), in RewriterTestContext()
/external/clang/unittests/Lex/
DPPConditionalDirectiveRecordTest.cpp34 DiagID(new DiagnosticIDs()), in PPConditionalDirectiveRecordTest()
45 IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
DPPCallbacksTest.cpp115 DiagID(new DiagnosticIDs()), DiagOpts(new DiagnosticOptions()), in PPCallbacksTest()
124 IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
/external/clang/lib/Format/
DTokenAnalyzer.cpp53 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), in CreateVirtualEnvironment()
/external/clang/examples/clang-interpreter/
Dmain.cpp87 IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs()); in main()
/external/clang/lib/Index/
DSimpleFormatContext.h39 Diagnostics(new DiagnosticsEngine(new DiagnosticIDs, in SimpleFormatContext()

12