/external/llvm/tools/llvm-diff/ |
llvm-diff.cpp | 36 SMDiagnostic Diag; 37 Module *M = ParseIRFile(Name, Diag, Context); 39 Diag.print("llvm-diff", errs());
|
/external/llvm/lib/IRReader/ |
IRReader.cpp | 107 SMDiagnostic Diag; 110 *OutM = wrap(ParseIR(MB.get(), Diag, *unwrap(ContextRef))); 117 Diag.print(nullptr, os, false);
|
/external/clang/include/clang/AST/ |
CommentParser.h | 48 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
|
CommentSema.h | 64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
|
DependentDiagnostic.h | 93 return Diag; 99 : Diag(PDiag, Storage) {} 109 PartialDiagnostic Diag; 138 assert(Ptr && "attempt to increment past end of diag list");
|
CommentLexer.h | 312 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
|
/external/clang/lib/Rewrite/Frontend/ |
FixItRewriter.cpp | 78 Diag(FullSourceLoc(), diag::warn_fixit_no_changes); 98 Diags.Report(clang::diag::err_fe_unable_to_open_output) 168 Diag(Info.getLocation(), diag::note_fixit_in_macro); 173 Diag(Info.getLocation(), diag::note_fixit_unfixed_error); 180 Diag(Info.getLocation(), diag::note_fixit_failed); 184 Diag(Info.getLocation(), diag::note_fixit_applied) [all...] |
/external/clang/tools/scan-build/ |
scan-build | 55 sub Diag { 77 Diag ("The analyzer encountered problems on some source files.\n"); 78 Diag ("Preprocessed versions of these sources were deposited in '$Dir/failures'.\n"); 79 Diag ("Please consider submitting a bug report using these files:\n"); 80 Diag (" http://clang-analyzer.llvm.org/filing_bugs.html\n") 235 Diag("Emitting reports for this run to '$Dir'.\n"); 532 Diag("No bugs found.\n"); 541 Diag("Removing directory '$Dir' because it contains no reports.\n"); 544 Diag("No bugs found.\n"); 876 Diag("$Num bug found.\n") [all...] |
/prebuilts/misc/darwin-x86/analyzer/tools/scan-build/ |
scan-build | 54 sub Diag { 76 Diag ("The analyzer encountered problems on some source files.\n"); 77 Diag ("Preprocessed versions of these sources were deposited in '$Dir/failures'.\n"); 78 Diag ("Please consider submitting a bug report using these files:\n"); 79 Diag (" http://clang-analyzer.llvm.org/filing_bugs.html\n") 220 Diag("Emitting reports for this run to '$Dir'.\n"); 509 Diag("No bugs found.\n"); 518 Diag("Removing directory '$Dir' because it contains no reports.\n"); 521 Diag("No bugs found.\n"); 847 Diag("$Num bugs found.\n") [all...] |
/prebuilts/misc/linux-x86/analyzer/tools/scan-build/ |
scan-build | 54 sub Diag { 76 Diag ("The analyzer encountered problems on some source files.\n"); 77 Diag ("Preprocessed versions of these sources were deposited in '$Dir/failures'.\n"); 78 Diag ("Please consider submitting a bug report using these files:\n"); 79 Diag (" http://clang-analyzer.llvm.org/filing_bugs.html\n") 220 Diag("Emitting reports for this run to '$Dir'.\n"); 509 Diag("No bugs found.\n"); 518 Diag("Removing directory '$Dir' because it contains no reports.\n"); 521 Diag("No bugs found.\n"); 847 Diag("$Num bugs found.\n") [all...] |
/external/compiler-rt/lib/ubsan/ |
ubsan_diag.cc | 79 Diag &Diag::operator<<(const TypeDescriptor &V) { 83 Diag &Diag::operator<<(const Value &V) { 134 static void renderText(const char *Message, const Diag::Arg *Args) { 145 const Diag::Arg &A = Args[*++Msg - '0']; 147 case Diag::AK_String: 150 case Diag::AK_Mangled: { 154 case Diag::AK_SInt: 161 case Diag::AK_UInt [all...] |
ubsan_diag.h | 119 /// Temporary \c Diag instances are created by the handler routines to 122 class Diag { 176 Diag &AddArg(Arg A) { 182 Diag &AddRange(Range A) { 188 /// \c Diag objects are not copyable. 189 Diag(const Diag &); // NOT IMPLEMENTED 190 Diag &operator=(const Diag &); 193 Diag(Location Loc, DiagLevel Level, const char *Message [all...] |
/external/clang/include/clang/Driver/ |
Driver.h | 64 // Diag - Forwarding function for diagnostics. 65 DiagnosticBuilder Diag(unsigned DiagID) const {
|
/external/clang/lib/Lex/ |
LiteralSupport.cpp | 64 static DiagnosticBuilder Diag(DiagnosticsEngine *Diags, 105 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, 106 diag::ext_nonstandard_escape) << "e"; 111 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, 112 diag::ext_nonstandard_escape) << "E"; 134 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, 135 diag::err_hex_escape_no_digits) << "x"; 159 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, 160 diag::err_hex_escape_too_large); 182 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf [all...] |
/external/clang/lib/Sema/ |
DeclSpec.cpp | 34 static DiagnosticBuilder Diag(DiagnosticsEngine &D, SourceLocation Loc, 361 DiagID = diag::err_invalid_decl_spec_combination; 363 DiagID = IsExtension ? diag::ext_duplicate_declspec : 364 diag::warn_duplicate_declspec; 487 DiagID = diag::err_not_opencl_storage_class_specifier; 494 DiagID = diag::err_not_opencl_storage_class_specifier; 559 DiagID = diag::warn_vector_long_decl_spec_combination; 603 DiagID = diag::err_invalid_decl_spec_combination; 623 DiagID = diag::err_invalid_decl_spec_combination; 653 DiagID = diag::err_invalid_decl_spec_combination [all...] |
Sema.cpp | 491 S.Diag(ND->getLocation(), diag::warn_undefined_internal) 496 S.Diag(ND->getLocation(), diag::warn_undefined_inline) << ND; 499 S.Diag(I->second, diag::note_used_here); 680 Diag(I->second.getLocation(), diag::warn_weak_identifier_undeclared) 685 !Diags.isIgnored(diag::warn_delegating_ctor_cycle, SourceLocation())) 749 Diag(VD->getLocation(), diag::warn_tentative_incomplete_array) [all...] |
SemaCast.cpp | 150 // arguments, they return TC_NotApplicable and *may* set diag to a diagnostic 152 // fails, they return TC_Failed and *must* set diag; they can set it to 0 if 360 msg = diag::err_ovl_no_conversion_in_cast; 362 msg = diag::err_ovl_no_viable_conversion_in_cast; 367 msg = diag::err_ovl_ambiguous_conversion_in_cast; 372 msg = diag::err_ovl_deleted_conversion_in_cast; 377 S.Diag(range.getBegin(), msg) 390 if (msg == diag::err_bad_cxx_cast_generic && 395 S.Diag(opRange.getBegin(), msg) << castType 558 Self.Diag(OpRange.getBegin(), diag::err_bad_dynamic_cast_not_ref_or_ptr [all...] |
/external/clang/unittests/libclang/ |
LibclangTest.cpp | 378 auto Diag = clang_getDiagnostic(ClangTU, i); 380 Diag, clang_defaultDiagnosticDisplayOptions())) << "\n"); 381 clang_disposeDiagnostic(Diag);
|
/external/clang/include/clang/Sema/ |
DelayedDiagnostic.h | 51 BaseObjectType(BaseObjectType), Diag(0, Allocator) { 62 Diag(0, Allocator) { 65 bool isQuiet() const { return Diag.getDiagID() == 0; } 91 Diag = PDiag; 96 Diag.Reset(DiagID); 97 return Diag; 100 return Diag; 109 PartialDiagnostic Diag; 181 /// Diag(diag.Loc, diag.getForbiddenTypeDiagnostic() [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 87 DiagnosticsEngine &Diag; 90 ClangDiagPathDiagConsumer(DiagnosticsEngine &Diag) 91 : Diag(Diag), IncludePath(false) {} 108 unsigned WarnID = Diag.getCustomDiagID(DiagnosticsEngine::Warning, "%0"); 109 unsigned NoteID = Diag.getCustomDiagID(DiagnosticsEngine::Note, "%0"); 115 Diag.Report(WarnLoc, WarnID) << PD->getShortDescription() 126 Diag.Report(NoteLoc, NoteID) << (*PI)->getString()
|
/external/clang/tools/libclang/ |
CIndexCodeCompletion.cpp | 263 /// \brief Diag object 264 IntrusiveRefCntPtr<DiagnosticsEngine> Diag; 325 Diag(new DiagnosticsEngine( 327 FileMgr(FileMgr), SourceMgr(new SourceManager(*Diag, *FileMgr)), 722 *Results->Diag, Results->LangOpts, *Results->SourceMgr, 877 CXStoredDiagnostic *Diag = Results->DiagnosticsWrappers[Index]; 878 if (!Diag) 879 Results->DiagnosticsWrappers[Index] = Diag = 881 return Diag; [all...] |
/external/clang/lib/Parse/ |
Parser.cpp | 74 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { 78 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) { 79 return Diag(Tok.getLocation(), DiagID); 94 Diag(Loc, DK); 98 Diag(Loc, DK) 122 DiagnosticBuilder DB = Diag(Loc, DiagID); 125 if (DiagID == diag::err_expected) 127 else if (DiagID == diag::err_expected_after) 145 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling) 146 : Diag(Tok, DiagID) [all...] |
/external/clang/include/clang/Basic/ |
Diagnostic.h | 186 diag::Severity ExtBehavior; // Map extensions to warnings or errors? 196 /// bits are the mapping (an instance of diag::Severity), or zero if unset. 212 void setMapping(diag::kind Diag, DiagnosticMapping Info) { 213 DiagMap[Diag] = Info; 216 DiagnosticMapping &getOrAddMapping(diag::kind Diag); 518 void setExtensionHandlingBehavior(diag::Severity H) { ExtBehavior = H; } 519 diag::Severity getExtensionHandlingBehavior() const { return ExtBehavior; } 537 void setSeverity(diag::kind Diag, diag::Severity Map, SourceLocation Loc) [all...] |
SourceManager.h | 178 /// \param Diag Object through which diagnostics will be emitted if the 185 llvm::MemoryBuffer *getBuffer(DiagnosticsEngine &Diag, 555 DiagnosticsEngine &Diag; 711 SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, 717 DiagnosticsEngine &getDiagnostics() const { return Diag; } [all...] |
/external/clang/include/clang/Lex/ |
Preprocessor.h | [all...] |