| /NextBSD/contrib/llvm/tools/clang/lib/Basic/ |
| HD | DiagnosticIDs.cpp | 202 DiagnosticsEngine::DiagState::getOrAddMapping(diag::kind Diag) { in getOrAddMapping() argument 204 DiagMap.insert(std::make_pair(Diag, DiagnosticMapping())); in getOrAddMapping() 208 Result.first->second = GetDefaultDiagMapping(Diag); in getOrAddMapping() 391 const DiagnosticsEngine &Diag) const { in getDiagnosticLevel() 400 return toLevel(getDiagnosticSeverity(DiagID, Loc, Diag)); in getDiagnosticLevel() 411 const DiagnosticsEngine &Diag) const { in getDiagnosticSeverity() 419 Pos = Diag.GetDiagStatePointForLoc(Loc); in getDiagnosticSeverity() 430 if (Diag.EnableAllWarnings && Result == diag::Severity::Ignored && in getDiagnosticSeverity() 439 if (Diag.AllExtensionsSilenced && IsExtensionDiag && !EnabledByDefault) in getDiagnosticSeverity() 445 Result = std::max(Result, Diag.ExtBehavior); in getDiagnosticSeverity() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaObjCProperty.cpp | 99 S.Diag(property->getLocation(), in checkARCPropertyDecl() 331 Diag(AtLoc, diag::err_duplicate_property); in HandlePropertyInClassExtension() 332 Diag(prevDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension() 368 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension() 415 Diag(AtLoc, in HandlePropertyInClassExtension() 417 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension() 433 Diag(AtLoc, diag::warn_property_attr_mismatch); in HandlePropertyInClassExtension() 434 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension() 446 Diag(AtLoc, diag::warn_property_implicitly_mismatched); in HandlePropertyInClassExtension() 447 Diag(PIDecl->getLocation(), diag::note_property_declare); in HandlePropertyInClassExtension() [all …]
|
| HD | SemaDeclAttr.cpp | 178 unsigned Num, unsigned Diag, in checkAttributeNumArgsImpl() argument 181 S.Diag(Attr.getLoc(), Diag) << Attr.getName() << Num; in checkAttributeNumArgsImpl() 224 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type) in checkUInt32Argument() 228 S.Diag(Attr.getLoc(), diag::err_attribute_argument_type) in checkUInt32Argument() 235 S.Diag(Expr->getExprLoc(), diag::err_ice_too_large) in checkUInt32Argument() 250 S.Diag(Attr.getLoc(), diag::err_attributes_are_not_compatible) in checkAttrMutualExclusion() 279 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type) in checkFunctionOrMethodParameterIndex() 287 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds) in checkFunctionOrMethodParameterIndex() 294 S.Diag(Attr.getLoc(), in checkFunctionOrMethodParameterIndex() 315 Diag(Loc->Loc, diag::err_attribute_argument_type) in checkStringLiteralArgumentAttr() [all …]
|
| HD | SemaDecl.cpp | 215 S.Diag(NameLoc, diag::ext_found_via_dependent_bases_lookup) << &II; in recoverFromTypeInKnownDependentBase() 478 Diag(NameLoc, diag::ext_ms_delayed_template_argument) << &II; in ActOnDelayedDefaultTemplateArg() 615 Diag(IILoc, diag::err_template_missing_args) << TplName; in DiagnoseUnknownTypeName() 617 Diag(TplDecl->getLocation(), diag::note_template_decl_here) in DiagnoseUnknownTypeName() 628 Diag(IILoc, diag::err_unknown_typename) << II; in DiagnoseUnknownTypeName() 630 Diag(IILoc, diag::err_typename_nested_not_found) in DiagnoseUnknownTypeName() 637 Diag(SS->getRange().getBegin(), DiagID) in DiagnoseUnknownTypeName() 697 SemaRef.Diag(NameLoc, diag::err_use_of_tag_name_without_tag) in isTagTypeWithMissingTag() 703 SemaRef.Diag((*I)->getLocation(), diag::note_decl_hiding_tag_type) in isTagTypeWithMissingTag() 1572 Diag(D->getLocation(), DiagID) << D->getDeclName() << Hint; in DiagnoseUnusedDecl() [all …]
|
| HD | SemaTemplate.cpp | 237 Diag(IILoc, diag::err_template_kw_missing) in DiagnoseUnknownTemplateName() 386 Diag(Found.getNameLoc(), in LookupTemplateName() 390 Diag(Found.getRepresentativeDecl()->getLocation(), in LookupTemplateName() 393 Diag(FoundOuter.getFoundDecl()->getLocation(), in LookupTemplateName() 456 Diag(Loc, diag::err_template_param_shadow) in DiagnoseTemplateParameterShadow() 458 Diag(PrevDecl->getLocation(), diag::note_template_param_here); in DiagnoseTemplateParameterShadow() 583 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnTypeParameter() 621 Diag(Loc, diag::err_variably_modified_nontype_template_param) in CheckNonTypeTemplateParameterType() 657 Diag(Loc, diag::err_template_nontype_parm_bad_type) in CheckNonTypeTemplateParameterType() 707 Diag(EqualLoc, diag::err_template_param_pack_default_arg); in ActOnNonTypeTemplateParameter() [all …]
|
| HD | SemaDeclObjC.cpp | 110 Diag(loc, diag::err_arc_init_method_unrelated_result_type); in checkInitMethod() 141 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride() 147 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride() 154 Diag(Overridden->getLocation(), in CheckObjCMethodOverride() 159 Diag(Overridden->getLocation(), in CheckObjCMethodOverride() 165 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride() 167 Diag(Overridden->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride() 172 Diag(NewMethod->getLocation(), in CheckObjCMethodOverride() 174 Diag(Overridden->getLocation(), diag::note_previous_decl) in CheckObjCMethodOverride() 186 Diag(newDecl->getLocation(), in CheckObjCMethodOverride() [all …]
|
| HD | SemaAttr.cpp | 172 Diag(PragmaLoc, diag::err_pragma_options_align_mac68k_target_unsupported); in ActOnPragmaOptionsAlign() 183 Diag(PragmaLoc, diag::warn_pragma_options_align_reset_failed) in ActOnPragmaOptionsAlign() 207 Diag(PragmaLoc, diag::warn_pragma_pack_invalid_alignment); in ActOnPragmaPack() 232 Diag(PragmaLoc, diag::warn_pragma_pack_show) << "mac68k"; in ActOnPragmaPack() 234 Diag(PragmaLoc, diag::warn_pragma_pack_show) << AlignmentVal; in ActOnPragmaPack() 248 Diag(PragmaLoc, diag::warn_pragma_pack_pop_identifer_and_alignment); in ActOnPragmaPack() 255 Diag(PragmaLoc, diag::warn_pragma_pop_failed) in ActOnPragmaPack() 320 Diag(PragmaLoc, diag::warn_pragma_pop_failed) << "vtordisp" in ActOnPragmaMSVtorDisp() 377 Diag(Decl->getLocation(), diag::err_section_conflict) in UnifySection() 379 Diag(OtherDecl->getLocation(), diag::note_declared_at) in UnifySection() [all …]
|
| HD | SemaStmtAsm.cpp | 50 S.Diag(E2->getLocStart(), diag::err_invalid_asm_cast_lvalue) in CheckAsmLValue() 53 S.Diag(E2->getLocStart(), diag::warn_invalid_asm_cast_lvalue) in CheckAsmLValue() 91 S.Diag(E->getLocStart(), diag::err_asm_naked_this_ref); in CheckNakedParmReference() 92 S.Diag(Func->getAttr<NakedAttr>()->getLocation(), diag::note_attribute); in CheckNakedParmReference() 97 S.Diag(DRE->getLocStart(), diag::err_asm_naked_parm_ref); in CheckNakedParmReference() 98 S.Diag(Func->getAttr<NakedAttr>()->getLocation(), diag::note_attribute); in CheckNakedParmReference() 141 return StmtError(Diag(Literal->getLocStart(), in ActOnGCCAsmStmt() 159 return StmtError(Diag(OutputExpr->getLocStart(), in ActOnGCCAsmStmt() 183 Diag(LVal->getLocStart(), diag::err_invalid_asm_cast_lvalue) in ActOnGCCAsmStmt() 186 Diag(LVal->getLocStart(), diag::warn_invalid_asm_cast_lvalue) in ActOnGCCAsmStmt() [all …]
|
| HD | SemaDeclCXX.cpp | 95 return S->Diag(DRE->getLocStart(), in VisitDeclRefExpr() 103 return S->Diag(DRE->getLocStart(), in VisitDeclRefExpr() 116 return S->Diag(ThisE->getLocStart(), in VisitCXXThisExpr() 145 return S->Diag(Lambda->getLocStart(), in VisitLambdaExpr() 309 Diag(EqualLoc, diag::err_param_default_argument) in ActOnParamDefaultArgument() 325 Diag(EqualLoc, diag::err_param_default_argument_on_parameter_pack) in ActOnParamDefaultArgument() 406 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments() 411 Diag(Param->getLocation(), diag::err_param_default_argument_nonfunc) in CheckExtraCXXDefaultArguments() 538 Diag(NewParam->getLocation(), DiagDefaultParamID) in MergeCXXFunctionDecl() 549 Diag(OldParam->getLocation(), diag::note_previous_definition) in MergeCXXFunctionDecl() [all …]
|
| HD | SemaExprObjC.cpp | 56 Diag(S->getLocStart(), diag::err_cfstring_literal_not_string_constant) in ParseObjCStringLiteral() 113 Diag(S->getLocStart(), diag::err_no_nsconstant_string_class) << NSIdent in BuildObjCStringLiteral() 154 S.Diag(Loc, diag::err_undeclared_boxing_method) << Sel << Class->getName(); in validateBoxingMethod() 161 S.Diag(Loc, diag::err_objc_literal_method_sig) in validateBoxingMethod() 163 S.Diag(Method->getLocation(), diag::note_objc_literal_method_return) in validateBoxingMethod() 182 S.Diag(Loc, diag::err_invalid_nsnumber_type) in getNSNumberFactoryMethod() 215 S.Diag(Loc, diag::err_undeclared_nsnumber); in getNSNumberFactoryMethod() 219 S.Diag(Loc, diag::err_undeclared_nsnumber); in getNSNumberFactoryMethod() 383 S.Diag(OrigElement->getLocStart(), diag::err_box_literal_collection) in CheckObjCCollectionLiteralElement() 399 S.Diag(OrigElement->getLocStart(), diag::err_box_literal_collection) in CheckObjCCollectionLiteralElement() [all …]
|
| HD | SemaStmt.cpp | 96 Diag(decl->getLocation(), diag::err_non_variable_decl_in_for); in ActOnForEachDeclStmt() 168 S.Diag(Loc, diag::warn_unused_comparison) in DiagnoseUnusedComparison() 175 S.Diag(Loc, diag::note_inequality_comparison_to_or_assign) in DiagnoseUnusedComparison() 178 S.Diag(Loc, diag::note_equality_comparison_to_assign) in DiagnoseUnusedComparison() 246 Diag(Loc, diag::warn_unused_result) << R1 << R2; in DiagnoseUnusedExprResult() 252 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "pure"; in DiagnoseUnusedExprResult() 256 Diag(Loc, diag::warn_unused_call) << R1 << R2 << "const"; in DiagnoseUnusedExprResult() 265 Diag(Loc, diag::err_arc_unused_init_message) << R1; in DiagnoseUnusedExprResult() 271 Diag(Loc, diag::warn_unused_result) << R1 << R2; in DiagnoseUnusedExprResult() 296 Diag(Loc, diag::warn_unused_voidptr) in DiagnoseUnusedExprResult() [all …]
|
| HD | SemaType.cpp | 94 S.Diag(loc, diag::warn_type_attribute_wrong_type) << name << WhichType in diagnoseBadTypeAttribute() 735 S.Diag(Qual.second, DiagID) in diagnoseAndRemoveTypeQualifiers() 752 S.Diag(loc, diag::err_objc_type_args_non_class) in applyObjCTypeArgs() 765 S.Diag(loc, diag::err_objc_type_args_non_parameterized_class) in applyObjCTypeArgs() 777 S.Diag(loc, diag::err_objc_type_args_specialized_class) in applyObjCTypeArgs() 801 S.Diag(diagLoc, in applyObjCTypeArgs() 819 S.Diag(loc, diag::err_objc_type_args_wrong_arity) in applyObjCTypeArgs() 824 S.Diag(objcClass->getLocation(), diag::note_previous_decl) in applyObjCTypeArgs() 860 S.Diag(typeArgInfo->getTypeLoc().getLocStart(), in applyObjCTypeArgs() 863 S.Diag(typeParam->getLocation(), diag::note_objc_type_param_here) in applyObjCTypeArgs() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Lex/ |
| HD | Pragma.cpp | 91 PP.Diag(Tok, diag::warn_pragma_ignored); in HandlePragma() 186 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma() 193 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma() 203 Diag(Tok, diag::err_invalid_string_udl); in Handle_Pragma() 217 Diag(PragmaLoc, diag::err__Pragma_malformed); in Handle_Pragma() 310 Diag(PragmaLoc, diag::err__Pragma_malformed); in HandleMicrosoft__pragma() 328 Diag(PragmaLoc, diag::err_unterminated___pragma); in HandleMicrosoft__pragma() 354 Diag(OnceTok, diag::pp_pragma_once_in_main_file); in HandlePragmaOnce() 392 Diag(Tok, diag::err_pp_invalid_poison); in HandlePragmaPoison() 405 Diag(Tok, diag::pp_poisoning_existing_macro); in HandlePragmaPoison() [all …]
|
| HD | PPDirectives.cpp | 143 return Diag(MacroNameTok, diag::err_pp_missing_macro_name); in CheckMacroName() 150 return Diag(MacroNameTok, diag::err_pp_macro_not_identifier); in CheckMacroName() 154 return Diag(MacroNameTok, diag::err_pp_macro_not_identifier); in CheckMacroName() 158 Diag(MacroNameTok, getLangOpts().MicrosoftExt in CheckMacroName() 170 return Diag(MacroNameTok, diag::err_defined_macro_name); in CheckMacroName() 178 Diag(MacroNameTok, diag::ext_pp_undef_builtin_macro); in CheckMacroName() 203 Diag(MacroNameTok, diag::warn_pp_macro_is_reserved_id); in CheckMacroName() 270 Diag(Tmp, diag::ext_pp_extra_tokens_at_eol) << DirType << Hint; in CheckEndOfDirective() 320 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock() 429 if (CondInfo.FoundElse) Diag(Tok, diag::pp_err_else_after_else); in SkipExcludedConditionalBlock() [all …]
|
| HD | PPExpressions.cpp | 129 PP.Diag(PeekTok.getLocation(), diag::err_pp_expected_after) in EvaluateDefined() 131 PP.Diag(LParenLoc, diag::note_matching) << tok::l_paren; in EvaluateDefined() 189 PP.Diag(PeekTok, diag::warn_pp_undef_identifier) << II; in EvaluateValue() 199 PP.Diag(PeekTok, diag::err_pp_expr_bad_token_start_expr); in EvaluateValue() 204 PP.Diag(PeekTok, diag::err_pp_expected_value_in_expr); in EvaluateValue() 219 PP.Diag(PeekTok, diag::err_pp_illegal_floating_literal); in EvaluateValue() 226 PP.Diag(PeekTok, diag::err_pp_invalid_udl) << /*integer*/1; in EvaluateValue() 231 PP.Diag(PeekTok, in EvaluateValue() 235 PP.Diag(PeekTok, diag::ext_c99_longlong); in EvaluateValue() 242 PP.Diag(PeekTok, diag::err_integer_literal_too_large) in EvaluateValue() [all …]
|
| HD | LiteralSupport.cpp | 65 static DiagnosticBuilder Diag(DiagnosticsEngine *Diags, in Diag() function 106 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape() 112 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape() 135 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape() 161 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape() 184 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape() 195 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape() 204 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape() 208 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape() 274 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf, in ProcessUCNEscape() [all …]
|
| /NextBSD/contrib/compiler-rt/lib/ubsan/ |
| HD | ubsan_diag.h | 129 class Diag { 183 Diag &AddArg(Arg A) { in AddArg() 189 Diag &AddRange(Range A) { in AddRange() 196 Diag(const Diag &); // NOT IMPLEMENTED 197 Diag &operator=(const Diag &); 200 Diag(Location Loc, DiagLevel Level, const char *Message) in Diag() function 202 ~Diag(); 204 Diag &operator<<(const char *Str) { return AddArg(Str); } 205 Diag &operator<<(TypeName TN) { return AddArg(TN); } 206 Diag &operator<<(unsigned long long V) { return AddArg(UIntMax(V)); } [all …]
|
| HD | ubsan_handlers.cc | 57 Diag(Loc, DL_Error, "%0 null pointer of type %1") in handleTypeMismatchImpl() 60 Diag(Loc, DL_Error, "%0 misaligned address %1 for type %3, " in handleTypeMismatchImpl() 65 Diag(Loc, DL_Error, "%0 address %1 with insufficient space " in handleTypeMismatchImpl() 69 Diag(Pointer, DL_Note, "pointer points here"); in handleTypeMismatchImpl() 95 Diag(Loc, DL_Error, "%0 integer overflow: " in handleIntegerOverflowImpl() 125 Diag(Loc, DL_Error, in handleNegateOverflowImpl() 130 Diag(Loc, DL_Error, in handleNegateOverflowImpl() 158 Diag(Loc, DL_Error, in handleDivremOverflowImpl() 162 Diag(Loc, DL_Error, "division by zero"); in handleDivremOverflowImpl() 190 Diag(Loc, DL_Error, "shift exponent %0 is negative") << RHSVal; in handleShiftOutOfBoundsImpl() [all …]
|
| HD | ubsan_diag.cc | 86 Diag &Diag::operator<<(const TypeDescriptor &V) { in operator <<() 90 Diag &Diag::operator<<(const Value &V) { in operator <<() 152 static void renderText(const char *Message, const Diag::Arg *Args) { in renderText() 163 const Diag::Arg &A = Args[*++Msg - '0']; in renderText() 165 case Diag::AK_String: in renderText() 168 case Diag::AK_TypeName: { in renderText() 176 case Diag::AK_SInt: in renderText() 183 case Diag::AK_UInt: in renderText() 189 case Diag::AK_Float: { in renderText() 201 case Diag::AK_Pointer: in renderText() [all …]
|
| HD | ubsan_handlers_cxx.cc | 50 Diag(Loc, DL_Error, in HandleDynamicTypeCacheMiss() 56 Diag(Pointer, DL_Note, "object has invalid vptr") in HandleDynamicTypeCacheMiss() 60 Diag(Pointer, DL_Note, "object is of type %0") in HandleDynamicTypeCacheMiss() 66 Diag(Pointer - DTI.getOffset(), DL_Note, in HandleDynamicTypeCacheMiss() 98 Diag(Loc, DL_Error, "control flow integrity check for type %0 failed during " in HandleCFIBadType() 104 Diag(Vtable, DL_Note, "invalid vtable"); in HandleCFIBadType() 106 Diag(Vtable, DL_Note, "vtable is of type %0") in HandleCFIBadType()
|
| /NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| HD | FileRemapper.cpp | 50 bool FileRemapper::initFromDisk(StringRef outputDir, DiagnosticsEngine &Diag, in initFromDisk() argument 53 return initFromFile(infoFile, Diag, ignoreIfFilesChanged); in initFromDisk() 56 bool FileRemapper::initFromFile(StringRef filePath, DiagnosticsEngine &Diag, in initFromFile() argument 69 return report("Error opening file: " + infoFile, Diag); in initFromFile() 79 Diag); in initFromFile() 86 return report("File does not exist: " + fromFilename, Diag); in initFromFile() 92 return report("File does not exist: " + toFilename, Diag); in initFromFile() 98 return report("File was modified: " + fromFilename, Diag); in initFromFile() 110 bool FileRemapper::flushToDisk(StringRef outputDir, DiagnosticsEngine &Diag) { in flushToDisk() argument 114 return report("Could not create directory: " + outputDir, Diag); in flushToDisk() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/Parse/ |
| HD | ParsePragma.cpp | 420 PP.Diag(Tok, diag::err_expected) << tok::l_brace; in HandlePragmaCaptured() 465 PP.Diag(NameLoc, diag::warn_pragma_unknown_extension) << ename; in HandlePragmaOpenCLExtension() 522 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSection() 528 PP.Diag(PragmaLocation, diag::warn_pragma_expected_section_name) in HandlePragmaMSSection() 537 PP.Diag(PragmaLocation, diag::warn_pragma_expected_non_wide_string) in HandlePragmaMSSection() 554 PP.Diag(PragmaLocation, diag::warn_pragma_expected_action_or_r_paren) in HandlePragmaMSSection() 571 PP.Diag(PragmaLocation, Flag == ASTContext::PSF_None in HandlePragmaMSSection() 586 PP.Diag(PragmaLocation, diag::warn_pragma_expected_rparen) << PragmaName; in HandlePragmaMSSection() 591 PP.Diag(PragmaLocation, diag::warn_pragma_extra_tokens_at_eol) in HandlePragmaMSSection() 603 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSegment() [all …]
|
| HD | ParseDeclCXX.cpp | 80 Diag(Tok.getLocation(), diag::warn_cxx14_compat_attribute) in ParseNamespace() 98 Diag(attrLoc, diag::err_unexpected_nested_namespace_attribute); in ParseNamespace() 108 Diag(Tok, diag::err_expected) << tok::identifier; in ParseNamespace() 114 Diag(attrLoc, diag::err_unexpected_namespace_attributes_alias); in ParseNamespace() 116 Diag(InlineLoc, diag::err_inline_namespace_alias) in ParseNamespace() 125 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseNamespace() 127 Diag(Tok, diag::err_expected_either) << tok::identifier << tok::l_brace; in ParseNamespace() 134 Diag(T.getOpenLocation(), diag::err_namespace_nonnamespace_scope); in ParseNamespace() 142 Diag(InlineLoc, diag::err_inline_nested_namespace_definition); in ParseNamespace() 144 Diag(ExtraNamespaceLoc[0], in ParseNamespace() [all …]
|
| HD | ParseDecl.cpp | 424 Diag(AttrNameLoc, diag::err_ms_property_no_getter_or_putter); in ParseMicrosoftDeclSpecArgs() 428 Diag(Tok.getLocation(), diag::err_ms_property_unknown_accessor); in ParseMicrosoftDeclSpecArgs() 442 Diag(KindLoc, diag::err_ms_property_has_set_accessor) in ParseMicrosoftDeclSpecArgs() 449 Diag(KindLoc, diag::err_ms_property_missing_accessor_kind); in ParseMicrosoftDeclSpecArgs() 456 Diag(KindLoc, diag::err_ms_property_unknown_accessor); in ParseMicrosoftDeclSpecArgs() 470 Diag(Tok.getLocation(), diag::err_ms_property_expected_equal) in ParseMicrosoftDeclSpecArgs() 477 Diag(Tok.getLocation(), diag::err_ms_property_expected_accessor_name); in ParseMicrosoftDeclSpecArgs() 485 Diag(KindLoc, diag::err_ms_property_duplicate_accessor) << KindStr; in ParseMicrosoftDeclSpecArgs() 500 Diag(Tok.getLocation(), diag::err_ms_property_expected_comma_or_rparen); in ParseMicrosoftDeclSpecArgs() 521 Diag(OpenParenLoc, diag::err_attribute_requires_arguments) << AttrName; in ParseMicrosoftDeclSpecArgs() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/ARCMigrate/ |
| HD | FileRemapper.h | 45 bool initFromDisk(StringRef outputDir, DiagnosticsEngine &Diag, 47 bool initFromFile(StringRef filePath, DiagnosticsEngine &Diag, 49 bool flushToDisk(StringRef outputDir, DiagnosticsEngine &Diag); 50 bool flushToFile(StringRef outputPath, DiagnosticsEngine &Diag); 52 bool overwriteOriginal(DiagnosticsEngine &Diag, 68 bool report(const Twine &err, DiagnosticsEngine &Diag);
|