| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | DiagnosticCommentKinds.td | 28 def warn_doc_html_end_forbidden : Warning< 32 def warn_doc_html_end_unbalanced : Warning< 36 def warn_doc_html_start_end_mismatch : Warning< 43 def warn_doc_html_missing_end_tag : Warning< 53 def warn_doc_block_command_duplicate : Warning< 65 def warn_doc_param_invalid_direction : Warning< 98 def warn_doc_param_duplicate : Warning< 105 def warn_doc_param_not_found : Warning< 119 def warn_doc_tparam_duplicate : Warning< 126 def warn_doc_tparam_not_found : Warning< [all …]
|
| H A D | DiagnosticDriverKinds.td | 39 def warn_drv_avr_libc_not_found: Warning< 88 def warn_drv_new_cuda_version: Warning< 359 def warn_c_kext : Warning< 373 def warn_drv_unused_argument : Warning< 376 def warn_drv_unused_x : Warning< 390 def warn_drv_deprecated_arg : Warning< 459 def warn_drv_needs_hvx : Warning< 545 def warn_drv_ps_force_pic : Warning< 549 def warn_drv_ps_sdk_dir : Warning< 555 def warn_drv_msvc_not_found : Warning< [all …]
|
| H A D | DiagnosticFrontendKinds.td | 41 def warn_fe_override_module : Warning< 127 def warn_fe_concepts_ts_flag : Warning< 189 def warn_unknown_diag_option : Warning< 209 def warn_module_config_mismatch : Warning< 277 def warn_alias_to_weak_alias : Warning< 288 def warn_atomic_op_misaligned : Warning< 294 def warn_atomic_op_oversized : Warning< 300 def warn_alias_with_section : Warning< 310 def warn_profile_data_missing : Warning< 315 def warn_profile_data_unprofiled : Warning< [all …]
|
| H A D | DiagnosticLexKinds.td | 15 def null_in_char_or_string : Warning< 24 def backslash_newline_space : Warning< 229 def warn_cxx17_hex_literal : Warning< 298 def pp_hash_warning : Warning<"%0">, 320 class NonportablePath : Warning< 353 def warn_pp_undef_prefix : Warning< 373 def warn_pp_expr_overflow : Warning< 709 def warn_pp_line_decimal : Warning< 757 def warn_pp_date_time : Warning< 886 def warn_module_conflict : Warning< [all …]
|
| H A D | DiagnosticParseKinds.td | 53 def warn_null_statement : Warning< 58 def warn_misleading_indentation : Warning< 141 def warn_cxx98_compat_alignof : Warning< 232 def warn_attribute_no_decl : Warning< 470 def warn_cstyle_param : Warning< 563 def warn_dangling_else : Warning< 1126 def warn_pragma_ms_struct : Warning< 1199 def warn_pragma_fp_ignored : Warning< 1297 def warn_pragma_omp_ignored : Warning< 1594 def warn_max_tokens : Warning< [all …]
|
| H A D | DiagnosticSemaKinds.td | 37 def warn_unsigned_abs : Warning< 42 def warn_abs_too_small : Warning< 50 def warn_pointer_abs : Warning< 115 def warn_float_overflow : Warning< 679 def warn_unreachable : Warning< 2204 def warn_uninit_var : Warning< 3313 def warn_alloca : Warning< 3553 def warn_cconv_knr : Warning< 3684 def warn_no_unlock : Warning< 9502 def warn_null_arg : Warning< [all …]
|
| H A D | DiagnosticCommonKinds.td | 25 def warn_stack_exhausted : Warning< 123 def warn_cxx20_compat_consteval : Warning< 126 def warn_missing_type_specifier : Warning< 133 def warn_nullability_duplicate : Warning< 164 def warn_unknown_attribute_ignored : Warning< 200 def warn_cxx98_compat_longlong : Warning< 206 def warn_cxx20_compat_size_t_suffix : Warning< 217 def warn_c2x_compat_bitint_suffix : Warning< 293 def warn_dup_category_def : Warning< 366 def warn_ignored_hip_only_option : Warning< [all …]
|
| H A D | DiagnosticASTKinds.td | 372 def warn_integer_constant_overflow : Warning< 423 def warn_odr_variable_multiple_def : Warning< 457 def warn_odr_field_type_inconsistent : Warning< 466 def warn_odr_ivar_type_inconsistent : Warning< 552 def warn_odr_parameter_pack_non_pack : Warning< 576 def warn_npot_ms_struct : Warning< 582 def warn_padded_struct_field : Warning< 586 def warn_padded_struct_anon_field : Warning< 590 def warn_padded_struct_size : Warning< 593 def warn_unnecessary_packed : Warning< [all …]
|
| /llvm-project-15.0.7/clang/test/TableGen/ |
| H A D | redefined-group.td | 5 def InNamedGroup1 : Warning<"">, InGroup<DiagGroup<"a">>; 6 def InNamedGroup2 : Warning<"">, InGroup < DiagGroup<"a"> >; 12 def InUnnamedGroup : Warning<"">, InGroup<DiagGroup<"b">>; 16 def ImplicitGroup1 : Warning<"">, InGroup<DiagGroup<"c">>; 17 def ImplicitGroup2 : Warning<"">, InGroup<DiagGroup<"c">>; 18 def ImplicitGroup3 : Warning<"">, 34 def InGroupF1 : Warning<"">, InGroup<DiagGroup<"f">>; 36 def InGroupF2 : Warning<"">, InGroup<DiagGroup<"f">>; 38 def InGroupF3 : Warning<"">, InGroup<GroupF>; 39 def InGroupF4 : Warning<"">, InGroup<DiagGroup<"f">>;
|
| H A D | emit-diag-docs.td | 24 def CheckDiff : Warning<"%diff{$ is not $|this is my diff text}0,1">; 29 def CheckModifier : Warning<"%0 is my modifier test %1">; 34 def CheckOrdinal : Warning<"This is the %ordinal0 test I've written">; 44 def CheckPlural : Warning<"I wrote %plural{0:no|1:one|:%0}0 tests">; 49 def CheckQ : Warning<"bad type %q0">; 58 def CheckS : Warning<"My test%s0 are the best!">; 67 def CheckSelect : Warning<"this is my select test: %select{one|two}0 and it is %select{good|bad}1">; 77 def CheckSubstitution : Warning<"They say %sub{MySubNested}3,1,0">; 82 def CheckText : Warning<"this is my warning text">;
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | super-class-protocol-conformance.m | 22 @implementation SubClass1 @end // Test1 - No Warning 27 @implementation SubClass // Test3 - No Warning 33 @implementation SubClass2 @end // Test 4 - No Warning 36 @implementation SubClass3 @end // Test 5 - No Warning 39 @implementation SubClass4 @end // Test 5 - No Warning
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | ClangTidyOptionsTest.cpp | 276 static constexpr auto Warning = tooling::Diagnostic::Warning; variable 347 ToolDiagLevel(Warning)), in TEST() 351 ToolDiagLevel(Warning)), in TEST() 355 ToolDiagLevel(Warning)), in TEST() 359 ToolDiagLevel(Warning)), in TEST() 411 ToolDiagLevel(Warning)), in TEST() 414 ToolDiagLevel(Warning)), in TEST() 418 ToolDiagLevel(Warning)), in TEST() 421 ToolDiagLevel(Warning)), in TEST() 425 ToolDiagLevel(Warning)), in TEST() [all …]
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | AnalysisBasedWarnings.cpp | 1704 S.Diag(Warning.first, Warning.second); in handleNeverCalled() 1858 Warnings.emplace_back(std::move(Warning), in handleUnmatchedUnlock() 1868 PartialDiagnosticAt Warning( in handleIncorrectUnlockKind() local 1871 Warnings.emplace_back(std::move(Warning), in handleIncorrectUnlockKind() 1881 Warnings.emplace_back(std::move(Warning), in handleDoubleLock() 1909 Warnings.emplace_back(std::move(Warning), in handleMutexHeldEndOfScope() 1916 PartialDiagnosticAt Warning(Loc1, in handleExclusiveAndShared() local 2003 PartialDiagnosticAt Warning(Loc, in handleNegativeNotHeld() local 2011 PartialDiagnosticAt Warning( in handleNegativeNotHeld() local 2025 PartialDiagnosticAt Warning(Loc, in handleLockAcquiredBefore() local [all …]
|
| /llvm-project-15.0.7/llvm/unittests/InterfaceStub/ |
| H A D | ELFYAMLTest.cpp | 89 EXPECT_FALSE(SymBar.Warning); in TEST() 97 EXPECT_FALSE(SymBaz.Warning.has_value()); in TEST() 105 EXPECT_TRUE(SymFoo.Warning.has_value()); in TEST() 106 EXPECT_STREQ(SymFoo.Warning->c_str(), "Deprecated!"); in TEST() 114 EXPECT_FALSE(SymNor.Warning.has_value()); in TEST() 122 EXPECT_TRUE(SymNot.Warning); in TEST() 123 EXPECT_STREQ(SymNot.Warning->c_str(), "All fields populated!"); in TEST() 197 SymFoo.Warning = "Does nothing"; in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/ |
| H A D | definitions-in-headers.rst | 13 int a = 1; // Warning: variable definition. 17 int e = 2; // Warning: variable definition. 20 // Warning: variable definition. 31 // Warning: function definition. 49 // Warning: not an inline member function definition. 62 // Warning: full specialization of a function template is not allowed.
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/ |
| H A D | use-uncaught-exceptions.rst | 29 // Warning, but will not be replaced 32 // Warning and replaced 35 // Warning and replaced 38 // Warning and replaced
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/ |
| H A D | msan_report.cpp | 104 Printf("%s", d.Warning()); in ReportUMR() 144 Printf("%s", d.Warning()); in ReportAtExitStatistics() 203 Printf("%s", d.Warning()); in DescribeMemoryRange() 269 Printf("%s", d.Warning()); in ReportUMRInsideAddressRange() 271 d.Warning(), d.Name(), what, d.Warning(), offset, start, size, in ReportUMRInsideAddressRange()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/ |
| H A D | static-definition-in-anonymous-namespace.rst | 14 static int a = 1; // Warning. 15 static const int b = 1; // Warning. 17 static int c = 1; // Warning.
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/ |
| H A D | init-variables.rst | 49 A a; // Warning: variable 'a' is not initialized 50 A_c a_c; // Warning: variable 'a_c' is not initialized 51 B b; // Warning: variable 'b' is not initialized 52 B_i b_i; // Warning: variable 'b_i' is not initialized
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | DebuggerEvents.cpp | 51 case Type::Warning: in GetPrefix() 60 llvm::HighlightColor color = m_type == Type::Warning in Dump() 61 ? llvm::HighlightColor::Warning in Dump()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/fuchsia/ |
| H A D | statically-constructed-objects.rst | 35 static B b(0); // Warning, as constructor is not constexpr 36 static C c2(0, 1); // Warning, as constructor is not constexpr 41 static C(get_i()) // Warning, as the constructor is dynamically initialized
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | WithColor.cpp | 70 case HighlightColor::Warning: in WithColor() 105 return WithColor(OS, HighlightColor::Warning, in warning() 164 void WithColor::defaultWarningHandler(Error Warning) { in defaultWarningHandler() argument 165 handleAllErrors(std::move(Warning), [](ErrorInfoBase &Info) { in defaultWarningHandler()
|
| /llvm-project-15.0.7/clang/test/CoverageMapping/ |
| H A D | trycatch.cpp | 9 class Warning { class 33 catch(const Warning &w) { // CHECK-NEXT: File 0, [[@LINE]]:27 -> [[@LINE+2]]:4 = #4 in main()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/performance/ |
| H A D | move-const-arg.rst | 22 return std::move(s); // Warning: std::move of the const variable has no effect 25 …return std::move(x); // Warning: std::move of the variable of a trivially-copyable type has no ef… 29 …f(std::move(s)); // Warning: passing result of std::move as a const reference argument; no move w…
|
| /llvm-project-15.0.7/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFStreamer.h | 49 messageHandler Error, messageHandler Warning) in DwarfStreamer() argument 51 ErrorHandler(Error), WarningHandler(Warning) {} in DwarfStreamer() 174 inline void warn(const Twine &Warning, StringRef Context = "") { 176 WarningHandler(Warning, Context, nullptr);
|