Searched refs:diag (Results 1 - 25 of 142) 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.h31 namespace diag { namespace in namespace:clang
47 /// diag::kind - All of the diagnostics that can be emitted by the frontend.
82 static DiagnosticMappingInfo Make(diag::Mapping Mapping, bool IsUser,
94 diag::Mapping getMapping() const { return diag::Mapping(Mapping); }
95 void setMapping(diag::Mapping Value) { Mapping = Value; }
121 diag::CustomDiagInfo *CustomDiagInfo;
231 llvm::SmallVectorImpl<diag::kind> &Diags) const;
234 void getAllDiagnostics(llvm::SmallVectorImpl<diag::kind> &Diags) const;
245 llvm::SmallVectorImpl<diag
[all...]
/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 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)
157 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << 0;
173 S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type)
181 S.Diag(Attr.getLoc(), diag
[all...]
H A DSemaDeclAttr.cpp202 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) << Num;
215 S.Diag(Attr.getLoc(), diag::err_attribute_too_few_arguments) << Num;
251 S.Diag(Attr.getLoc(), diag::warn_pointer_attribute_wrong_type)
254 S.Diag(Attr.getLoc(), diag::err_attribute_can_be_applied_only_to_value_decl)
281 S.Diag(Attr.getLoc(), diag::warn_attribute_argument_not_class)
290 S.Diag(Attr.getLoc(), diag::warn_attribute_argument_not_lockable)
330 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_range)
362 S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type)
387 S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type)
416 S.Diag(Attr.getLoc(), diag
4012 handleDelayedForbiddenType(Sema &S, DelayedDiagnostic &diag, Decl *decl) argument
4038 add(const DelayedDiagnostic &diag) argument
4086 DelayedDiagnostic &diag = DD.Stack[i]; local
[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 DSemaTemplate.cpp235 Diag(IILoc, diag::err_template_kw_missing)
334 Diag(Found.getNameLoc(), diag::err_no_member_template_suggest)
338 Diag(Found.getNameLoc(), diag::err_no_template_suggest)
342 Diag(Template->getLocation(), diag::note_previous_decl)
385 diag::ext_nested_name_member_ref_lookup_ambiguous)
389 diag::note_ambig_member_ref_object_type)
392 diag::note_ambig_member_ref_scope);
461 Diag(Loc, diag::err_template_param_shadow)
463 Diag(PrevDecl->getLocation(), diag::note_template_param_here);
586 Diag(EqualLoc, diag
[all...]
H A DSemaObjCProperty.cpp97 diag::err_arc_inconsistent_property_ownership)
230 Diag(AtLoc, diag::err_duplicate_property);
231 Diag(prevDecl->getLocation(), diag::note_property_declare);
257 Diag(CDecl->getLocation(), diag::err_continuation_class);
300 diag::err_type_mismatch_continuation_class) << PDecl->getType();
301 Diag(PIDecl->getLocation(), diag::note_property_declare);
316 Diag(AtLoc, diag::warn_property_attr_mismatch);
317 Diag(PIDecl->getLocation(), diag::note_property_declare);
356 unsigned diag = local
359 ? diag
[all...]
H A DAnalysisBasedWarnings.cpp60 S.Diag(L, diag::warn_unreachable) << R1 << R2;
228 diag::warn_falloff_noreturn_function;
230 diag::warn_maybe_falloff_nonvoid_function;
232 diag::warn_falloff_noreturn_function;
234 diag::warn_falloff_nonvoid_function;
249 diag::warn_suggest_noreturn_function;
260 diag::err_noreturn_block_has_return_expr;
262 diag::err_maybe_falloff_nonvoid_block;
264 diag::err_noreturn_block_has_return_expr;
266 diag
[all...]
H A DSemaDecl.cpp205 Diag(NameLoc, diag::err_unknown_typename_suggest)
210 Diag(FirstDecl->getLocation(), diag::note_previous_decl)
382 Diag(IILoc, diag::err_unknown_typename_suggest)
388 Diag(IILoc, diag::err_unknown_typename_suggest)
392 Diag(IILoc, diag::err_unknown_nested_typename_suggest)
398 Diag(Result->getLocation(), diag::note_previous_decl)
420 Diag(IILoc, diag::err_template_missing_args) << TplName;
422 Diag(TplDecl->getLocation(), diag::note_template_decl_here)
433 Diag(IILoc, diag::err_unknown_typename) << &II;
435 Diag(IILoc, diag
[all...]
H A DSemaStmt.cpp128 S.Diag(Loc, diag::warn_unused_comparison)
135 S.Diag(Loc, diag::note_inequality_comparison_to_or_assign)
138 S.Diag(Loc, diag::note_equality_comparison_to_assign)
162 unsigned DiagID = diag::warn_unused_expr;
180 Diag(Loc, diag::warn_unused_result) << R1 << R2;
184 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "pure";
188 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "const";
194 Diag(Loc, diag::err_arc_unused_init_message) << R1;
199 Diag(Loc, diag::warn_unused_result) << R1 << R2;
205 DiagID = diag
1236 FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init, SourceLocation Loc, int diag) argument
[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)
75 llvm::SmallVector<diag::kind, 10> _Diags;
101 diag::Mapping Mapping = isPositive ? diag::MAP_WARNING : diag::MAP_IGNORE;
119 Diags.setMappingToAllDiagnostics(diag::MAP_IGNORE);
132 Diags.Report(diag
[all...]
/external/clang/lib/Lex/
H A DPragma.cpp91 PP.Diag(Tok, diag::warn_pragma_ignored);
179 Diag(PragmaLoc, diag::err__Pragma_malformed);
186 Diag(PragmaLoc, diag::err__Pragma_malformed);
196 Diag(Tok, diag::err_invalid_string_udl);
210 Diag(PragmaLoc, diag::err__Pragma_malformed);
277 Diag(PragmaLoc, diag::err__Pragma_malformed);
295 Diag(PragmaLoc, diag::err_unterminated___pragma);
321 Diag(OnceTok, diag::pp_pragma_once_in_main_file);
359 Diag(Tok, diag::err_pp_invalid_poison);
372 Diag(Tok, diag
[all...]
H A DPPDirectives.cpp113 Diag(MacroNameTok, diag::err_pp_missing_macro_name);
135 Diag(MacroNameTok, diag::err_pp_operator_used_as_macro_name) << Spelling;
137 Diag(MacroNameTok, diag::err_pp_macro_not_identifier);
141 Diag(MacroNameTok, diag::err_defined_macro_name);
146 Diag(MacroNameTok, diag::pp_redef_builtin_macro);
148 Diag(MacroNameTok, diag::pp_undef_builtin_macro);
187 Diag(Tmp, diag::ext_pp_extra_tokens_at_eol) << DirType << Hint;
238 diag::err_pp_unterminated_conditional);
340 if (CondInfo.FoundElse) Diag(Tok, diag::pp_err_else_after_else);
378 if (CondInfo.FoundElse) Diag(Tok, diag
[all...]
/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, \
100 "Diag ID conflict, the enums at the start of clang::diag (in "
104 "Improperly sorted diag info");
125 diag::MAP_FATAL, /*IsUser=*/false, /*IsPragma=*/false);
128 Info.setMapping((diag::Mapping) StaticInfo->Mapping);
131 assert(Info.getMapping() == diag::MAP_WARNING &&
137 assert(Info.getMapping() == diag::MAP_WARNING &&
170 diag::kind Diag)
238 namespace diag { namespace in namespace:clang
276 } // end diag namespac
[all...]

Completed in 953 milliseconds

123456