Searched refs:diag (Results 1 - 25 of 148) sorted by relevance

123456

/external/clang/include/clang/Basic/
H A DDiagnosticCategories.h14 namespace diag { namespace in namespace:clang
23 } // end namespace diag
H A DDiagnosticIDs.h32 namespace diag { namespace in namespace:clang
84 static DiagnosticMappingInfo Make(diag::Mapping Mapping, bool IsUser,
96 diag::Mapping getMapping() const { return diag::Mapping(Mapping); }
97 void setMapping(diag::Mapping Value) { Mapping = Value; }
123 diag::CustomDiagInfo *CustomDiagInfo;
234 llvm::SmallVectorImpl<diag::kind> &Diags) const;
237 void getAllDiagnostics(llvm::SmallVectorImpl<diag::kind> &Diags) const;
248 llvm::SmallVectorImpl<diag::kind> &Diags) const;
/external/clang/bindings/python/examples/cindex/
H A Dcindex-dump.py17 def get_diag_info(diag):
18 return { 'severity' : diag.severity,
19 'location' : diag.location,
20 'spelling' : diag.spelling,
21 'ranges' : diag.ranges,
22 'fixits' : diag.fixits }
/external/clang/lib/Sema/
H A DJumpDiagnostics.cpp128 InDiag = diag::note_protected_by_vla;
131 return ScopePair(diag::note_protected_by___block,
132 diag::note_exits___block);
135 return ScopePair(diag::note_protected_by_cleanup,
136 diag::note_exits_cleanup);
147 return ScopePair(diag::note_protected_by_objc_ownership,
148 diag::note_exits_objc_ownership);
173 unsigned inDiagToUse = diag::note_protected_by_variable_init;
183 inDiagToUse = diag::note_protected_by_variable_nontriv_destructor;
185 inDiagToUse = diag
[all...]
H A DSemaDeclAttr.cpp204 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << Num;
217 S.Diag(Attr.getLoc(), diag::err_attribute_too_few_arguments) << Num;
246 S.Diag(AttrLoc, diag::err_attribute_argument_n_not_int)
253 S.Diag(AttrLoc, diag::err_attribute_argument_out_of_bounds)
261 diag::err_attribute_invalid_implicit_this_argument)
328 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_decl_not_pointer)
331 S.Diag(Attr.getLoc(), diag::err_attribute_can_be_applied_only_to_value_decl)
368 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_argument_not_class)
394 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_argument_not_lockable)
428 S.Diag(Attr.getLoc(), diag
4728 handleDelayedForbiddenType(Sema &S, DelayedDiagnostic &diag, Decl *decl) argument
4774 DelayedDiagnostic &diag = const_cast<DelayedDiagnostic&>(*i); local
[all...]
H A DTargetAttributesSema.cpp33 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 1;
42 S.Diag(Attr.getLoc(), diag::err_attribute_argument_not_int)
49 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds)
78 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 1;
93 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 1;
128 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 0;
145 S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type)
156 Diag(Range.getBegin(), diag::warn_attribute_ignored) << "dllimport";
169 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 0;
180 S.Diag(Attr.getLoc(), diag
[all...]
H A DSemaObjCProperty.cpp99 diag::err_arc_inconsistent_property_ownership)
280 Diag(AtLoc, diag::err_duplicate_property);
281 Diag(prevDecl->getLocation(), diag::note_property_declare);
307 Diag(CDecl->getLocation(), diag::err_continuation_class);
350 diag::err_type_mismatch_continuation_class) << PDecl->getType();
351 Diag(PIDecl->getLocation(), diag::note_property_declare);
364 Diag(AtLoc, diag::warn_property_attr_mismatch);
365 Diag(PIDecl->getLocation(), diag::note_property_declare);
404 unsigned diag = local
407 ? diag
[all...]
H A DSemaAttr.cpp150 Diag(PragmaLoc, diag::warn_pragma_options_align_reset_failed)
177 Diag(PragmaLoc, diag::err_pragma_options_align_mac68k_target_unsupported);
185 Diag(PragmaLoc, diag::warn_pragma_options_align_unsupported_option)
208 Diag(PragmaLoc, diag::warn_pragma_pack_invalid_alignment);
233 Diag(PragmaLoc, diag::warn_pragma_pack_show) << "mac68k";
235 Diag(PragmaLoc, diag::warn_pragma_pack_show) << AlignmentVal;
249 Diag(PragmaLoc, diag::warn_pragma_pack_pop_identifer_and_alignment);
256 Diag(PragmaLoc, diag::warn_pragma_pack_pop_failed)
281 Diag(PragmaLoc, diag::warn_pragma_unused_undeclared_var)
288 Diag(PragmaLoc, diag
[all...]
H A DSemaStmtAttr.cpp30 S.Diag(A.getRange().getBegin(), diag::err_fallthrough_attr_wrong_target)
35 S.Diag(L, diag::note_fallthrough_insert_semi_fixit)
41 S.Diag(A.getRange().getBegin(), diag::err_fallthrough_attr_outside_switch);
56 S.Diag(A.getRange().getBegin(), diag::warn_attribute_invalid_on_stmt)
H A DAnalysisBasedWarnings.cpp64 S.Diag(L, diag::warn_unreachable) << R1 << R2;
231 diag::warn_falloff_noreturn_function;
233 diag::warn_maybe_falloff_nonvoid_function;
235 diag::warn_falloff_noreturn_function;
237 diag::warn_falloff_nonvoid_function;
252 diag::warn_suggest_noreturn_function;
263 diag::err_noreturn_block_has_return_expr;
265 diag::err_maybe_falloff_nonvoid_block;
267 diag::err_noreturn_block_has_return_expr;
269 diag
[all...]
H A DSemaDecl.cpp244 Diag(NameLoc, diag::err_unknown_type_or_class_name_suggest)
249 Diag(FirstDecl->getLocation(), diag::note_previous_decl)
424 Diag(IILoc, diag::err_unknown_typename_suggest)
432 Diag(IILoc, diag::err_unknown_typename_suggest)
436 Diag(IILoc, diag::err_unknown_nested_typename_suggest)
442 Diag(Result->getLocation(), diag::note_previous_decl)
464 Diag(IILoc, diag::err_template_missing_args) << TplName;
466 Diag(TplDecl->getLocation(), diag::note_template_decl_here)
477 Diag(IILoc, diag::err_unknown_typename) << II;
479 Diag(IILoc, diag
6330 unsigned diag = isReferenceType local
[all...]
/external/clang/lib/Frontend/
H A DWarnings.cpp41 Diags.Report(isPositive? diag::warn_unknown_warning_option_suggest :
42 diag::warn_unknown_negative_warning_option_suggest)
45 Diags.Report(isPositive? diag::warn_unknown_warning_option :
46 diag::warn_unknown_negative_warning_option)
79 llvm::SmallVector<diag::kind, 10> _Diags;
106 diag::Mapping Mapping = isPositive ? diag::MAP_WARNING : diag::MAP_IGNORE;
124 Diags.setMappingToAllDiagnostics(diag::MAP_IGNORE);
137 Diags.Report(diag
[all...]
/external/clang/lib/Lex/
H A DPragma.cpp91 PP.Diag(Tok, diag::warn_pragma_ignored);
182 Diag(PragmaLoc, diag::err__Pragma_malformed);
189 Diag(PragmaLoc, diag::err__Pragma_malformed);
199 Diag(Tok, diag::err_invalid_string_udl);
213 Diag(PragmaLoc, diag::err__Pragma_malformed);
280 Diag(PragmaLoc, diag::err__Pragma_malformed);
298 Diag(PragmaLoc, diag::err_unterminated___pragma);
324 Diag(OnceTok, diag::pp_pragma_once_in_main_file);
362 Diag(Tok, diag::err_pp_invalid_poison);
375 Diag(Tok, diag
[all...]
H A DPPDirectives.cpp116 Diag(MacroNameTok, diag::err_pp_missing_macro_name);
138 Diag(MacroNameTok, diag::err_pp_operator_used_as_macro_name) << Spelling;
140 Diag(MacroNameTok, diag::err_pp_macro_not_identifier);
144 Diag(MacroNameTok, diag::err_defined_macro_name);
149 Diag(MacroNameTok, diag::pp_redef_builtin_macro);
151 Diag(MacroNameTok, diag::pp_undef_builtin_macro);
191 Diag(Tmp, diag::ext_pp_extra_tokens_at_eol) << DirType << Hint;
242 diag::err_pp_unterminated_conditional);
350 if (CondInfo.FoundElse) Diag(Tok, diag::pp_err_else_after_else);
392 if (CondInfo.FoundElse) Diag(Tok, diag
[all...]
/external/clang/include/clang/AST/
H A DCommentDiagnostic.h16 namespace diag { namespace in namespace:clang
25 } // end namespace diag
/external/clang/include/clang/Analysis/
H A DAnalysisDiagnostic.h16 namespace diag { namespace in namespace:clang
25 } // end namespace diag
/external/clang/include/clang/Driver/
H A DDriverDiagnostic.h16 namespace diag { namespace in namespace:clang
25 } // end namespace diag
/external/clang/include/clang/Frontend/
H A DFrontendDiagnostic.h16 namespace diag { namespace in namespace:clang
25 } // end namespace diag
/external/clang/include/clang/Lex/
H A DLexDiagnostic.h16 namespace diag { namespace in namespace:clang
25 } // end namespace diag
/external/clang/include/clang/Parse/
H A DParseDiagnostic.h16 namespace diag { namespace in namespace:clang
25 } // end namespace diag
/external/clang/include/clang/Sema/
H A DSemaDiagnostic.h16 namespace diag { namespace in namespace:clang
25 } // end namespace diag
/external/clang/include/clang/Serialization/
H A DSerializationDiagnostic.h16 namespace diag { namespace in namespace:clang
25 } // end namespace diag
/external/clang/lib/Parse/
H A DParsePragma.cpp76 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen)
83 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier)
89 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_rparen)
94 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_identifier)
100 PP.Diag(Tok.getLocation(), diag::warn_pragma_extra_tokens_at_eol)
127 PP.Diag(Tok.getLocation(), diag::warn_pragma_expected_lparen) << "pack";
159 PP.Diag(Tok.getLocation(), diag::warn_pragma_pack_invalid_action);
181 PP.Diag(Tok.getLocation(), diag::warn_pragma_pack_malformed);
192 PP.Diag(Tok.getLocation(), diag::warn_pragma_pack_malformed);
205 PP.Diag(Tok.getLocation(), diag
[all...]
/external/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp60 TA.clearDiagnostic(diag::err_unavailable,
61 diag::err_unavailable_message,
62 diag::err_ovl_deleted_call, // ObjC++
/external/clang/lib/Basic/
H A DDiagnosticIDs.cpp72 { diag::ENUM, DEFAULT_MAPPING, CLASS, SFINAE, ACCESS, \
101 "Diag ID conflict, the enums at the start of clang::diag (in "
105 "Improperly sorted diag info");
126 diag::MAP_FATAL, /*IsUser=*/false, /*IsPragma=*/false);
129 Info.setMapping((diag::Mapping) StaticInfo->Mapping);
132 assert(Info.getMapping() == diag::MAP_WARNING &&
138 assert(Info.getMapping() == diag::MAP_WARNING &&
171 diag::kind Diag)
239 namespace diag { namespace in namespace:clang
277 } // end diag namespac
[all...]

Completed in 1071 milliseconds

123456