Home
last modified time | relevance | path

Searched refs:Warning (Results 1 – 25 of 250) sorted by relevance

12345678910

/llvm-project/clang/include/clang/Basic/
H A DDiagnosticCommentKinds.td15 def warn_doc_html_start_tag_expected_quoted_string : Warning<
19 def warn_doc_html_start_tag_expected_ident_or_greater : Warning<
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<
49 def warn_doc_block_command_empty_paragraph : Warning<
53 def warn_doc_block_command_duplicate : Warning<
65 def warn_doc_param_invalid_direction : Warning<
70 def warn_doc_param_spaces_in_direction : Warning<
[all …]
H A DDiagnosticDriverKinds.td36 def warn_drv_invalid_arch_name_with_suggestion : Warning<
39 def warn_drv_avr_mcu_not_specified : Warning<
42 def warn_drv_avr_libc_not_found: Warning<
46 def warn_drv_avr_family_linking_stdlibs_not_implemented: Warning<
49 def warn_drv_avr_linker_section_addresses_not_implemented: Warning<
53 def warn_drv_avr_stdlib_not_linked: Warning<
96 def warn_drv_amdgpu_cov6: Warning<
104 def warn_drv_multi_gpu_arch : Warning<
112 def warn_drv_new_cuda_version: Warning<
115 def warn_drv_partially_supported_cuda_version: Warning<
[all...]
H A DDiagnosticFrontendKinds.td19 def warn_fe_inline_asm : Warning<"%0">, CatInlineAsm, InGroup<BackendInlineAsm>;
23 def warn_fe_source_mgr : Warning<"%0">, CatSourceMgr, InGroup<BackendSourceMgr>;
26 def warn_fe_linking_module : Warning<"linking module '%0': %1">, InGroup<LinkerWarnings>;
29 def warn_fe_frame_larger_than : Warning<"stack frame size (%0) exceeds limit (%1) in '%2'">,
31 def warn_fe_backend_frame_larger_than: Warning<"%0">,
36 def warn_fe_backend_plugin: Warning<"%0">, BackendInfo, InGroup<BackendPlugin>;
39 def warn_fe_backend_resource_limit: Warning<"%0 (%1) exceeds limit (%2) in '%3'">, BackendInfo, InGroup<BackendPlugin>;
46 def warn_fe_override_module : Warning<
49 def warn_fe_backend_unsupported_fp_rounding : Warning<
52 def warn_fe_backend_unsupported_fp_exceptions : Warning<
[all...]
H A DDiagnosticLexKinds.td15 def null_in_char_or_string : Warning<
18 def null_in_file : Warning<"null character ignored">, InGroup<NullCharacter>;
19 def warn_nested_block_comment : Warning<"'/*' within block comment">,
21 def escaped_newline_block_comment_end : Warning<
24 def backslash_newline_space : Warning<
29 def warn_cxx98_compat_less_colon_colon : Warning<
33 def warn_cxx17_compat_spaceship : Warning<
36 def warn_cxx20_compat_spaceship : Warning<
42 def trigraph_ignored : Warning<"trigraph ignored">, InGroup<Trigraphs>;
43 def trigraph_ignored_block_comment : Warning<
[all...]
H A DDiagnosticParseKinds.td37 def warn_cxx98_compat_top_level_semi : Warning<
50 def warn_extra_semi_after_mem_fn_def : Warning<
53 def warn_null_statement : Warning<
58 def warn_misleading_indentation : Warning<
70 def warn_compound_token_split_by_macro : Warning<
75 def warn_compound_token_split_by_whitespace : Warning<
103 def warn_cxx98_compat_enumerator_list_comma : Warning<
119 def warn_c17_compat_enum_fixed_underlying_type : Warning<
122 def warn_cxx98_compat_enum_fixed_underlying_type : Warning<
137 def warn_cxx98_compat_scoped_enum : Warning<
[all...]
H A DDiagnosticCommonKinds.td25 def warn_stack_exhausted : Warning<
68 def warn_pragma_debug_missing_argument : Warning<
70 def warn_pragma_debug_unexpected_argument : Warning<
73 def warn_fp_nan_inf_when_disabled : Warning<
88 def warn_method_param_redefinition : Warning<"redefinition of method parameter %0">;
89 def warn_method_param_declaration : Warning<"redeclaration of method parameter %0">,
97 Warning<"variadic templates are incompatible with C++98">,
133 def warn_cxx20_compat_consteval : Warning<
136 def warn_missing_type_specifier : Warning<
142 def warn_c23_compat_empty_initializer : Warning<
[all...]
H A DDiagnosticSemaKinds.td21 def warn_variables_not_in_loop_body : Warning<
25 def warn_redundant_loop_iteration : Warning<
31 def warn_duplicate_enum_values : Warning<
37 def warn_unsigned_abs : Warning<
42 def warn_abs_too_small : Warning<
45 def warn_wrong_absolute_value_type : Warning<
50 def warn_pointer_abs : Warning<
54 def warn_max_unsigned_zero : Warning<
62 def warn_infinite_recursive_function : Warning<
66 def warn_comma_operator : Warning<"possibl
[all...]
H A DDiagnosticInstallAPIKinds.td19 def warn_no_such_excluded_header_file : Warning<"no such excluded %select{public|private}0 header f…
20 def warn_glob_did_not_match: Warning<"glob '%0' did not match any header file">, InGroup<InstallAPI…
35 def warn_target: Warning<"violations found for %0">, InGroup<InstallAPIViolation>;
37 def warn_library_missing_symbol : Warning<"declaration has external linkage, but dynamic library do…
39 def warn_library_hidden_symbol : Warning<"declaration has external linkage, but symbol has internal…
40 def warn_header_hidden_symbol : Warning<"symbol exported in dynamic library, but marked hidden in d…
43 def warn_header_symbol_missing : Warning<"no declaration was found for exported symbol '%0' in dyna…
44 def warn_header_availability_mismatch : Warning<"declaration '%0' is marked %select{available|unava…
48 def warn_dylib_symbol_flags_mismatch : Warning<"dynamic library symbol '%0' is "
50 def warn_header_symbol_flags_mismatch : Warning<"declaration '%0' is "
[all …]
/llvm-project/clang/test/TableGen/
H A Dredefined-group.td5 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 Demit-diag-docs.td24 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/clang/test/SemaObjC/
H A Dsuper-class-protocol-conformance.m21 @implementation SubClass1 @end // Test1 - No Warning
26 @implementation SubClass // Test3 - No Warning
32 @implementation SubClass2 @end // Test 4 - No Warning
35 @implementation SubClass3 @end // Test 5 - No Warning
38 @implementation SubClass4 @end // Test 5 - No Warning
/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerGlobalData.h25 const Twine &Warning, StringRef Context, const DWARFDie *DIE)>;
107 void warn(const Twine &Warning, StringRef Context,
110 (WarningHandler)(Warning, Context, DIE);
114 void warn(Error Warning, StringRef Context, const DWARFDie *DIE = nullptr) {
115 handleAllErrors(std::move(Warning), [&](ErrorInfoBase &Info) {
/llvm-project/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyOptionsTest.cpp305 static constexpr auto Warning = tooling::Diagnostic::Warning; variable
376 ToolDiagLevel(Warning)), in TEST()
380 ToolDiagLevel(Warning)), in TEST()
384 ToolDiagLevel(Warning)), in TEST()
388 ToolDiagLevel(Warning)), in TEST()
392 ToolDiagLevel(Warning)))); in TEST()
433 ToolDiagLevel(Warning)), in TEST()
436 ToolDiagLevel(Warning)), in TEST()
440 ToolDiagLevel(Warning)), in TEST()
[all...]
/llvm-project/llvm/unittests/InterfaceStub/
H A DELFYAMLTest.cpp68 "Weak: true, Warning: \'All fields populated!\' }\n" in TEST()
86 " - { Name: foo, Type: Func, Warning: \"Deprecated!\" }\n" in TEST()
89 "Weak: true, Warning: \'All fields populated!\' }\n" in TEST()
106 EXPECT_FALSE(SymBar.Warning); in TEST()
114 EXPECT_FALSE(SymBaz.Warning.has_value()); in TEST()
122 EXPECT_TRUE(SymFoo.Warning.has_value()); in TEST()
123 EXPECT_STREQ(SymFoo.Warning->c_str(), "Deprecated!"); in TEST()
131 EXPECT_FALSE(SymNor.Warning.has_value()); in TEST()
139 EXPECT_TRUE(SymNot.Warning); in TEST()
140 EXPECT_STREQ(SymNot.Warning in TEST()
[all...]
/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1664 PartialDiagnosticAt &&Warning) { in hasAlwaysUninitializedUse()
1665 DelayedBlockWarnings[Block].emplace_back(std::move(Warning));
1715 PartialDiagnosticAt Warning(Where->getBeginLoc(), S.PDiag(DiagToReport)
1722 Data.addDelayedWarning(Block, std::move(Warning)); in handleNeverCalled()
1724 S.Diag(Warning.first, Warning.second); in handleNeverCalled()
1877 PartialDiagnosticAt Warning(Loc, in handleInvalidLockExp()
1880 Warnings.emplace_back(std::move(Warning), in handleUnmatchedUnlock()
1888 PartialDiagnosticAt Warning( in handleUnmatchedUnlock()
1891 Warnings.emplace_back(std::move(Warning), in handleIncorrectUnlockKind()
1672 addDelayedWarning(const BlockDecl * Block,PartialDiagnosticAt && Warning) addDelayedWarning() argument
1723 PartialDiagnosticAt Warning(Where->getBeginLoc(), S.PDiag(DiagToReport) handleNeverCalled() local
1875 PartialDiagnosticAt Warning(Loc, S.PDiag(diag::warn_cannot_resolve_lock) handleInvalidLockExp() local
1884 PartialDiagnosticAt Warning(Loc, S.PDiag(diag::warn_unlock_but_no_lock) handleUnmatchedUnlock() local
1896 PartialDiagnosticAt Warning( handleIncorrectUnlockKind() local
1907 PartialDiagnosticAt Warning(LocDoubleLock, S.PDiag(diag::warn_double_lock) handleDoubleLock() local
1935 PartialDiagnosticAt Warning(LocEndOfScope, S.PDiag(DiagID) << Kind handleMutexHeldEndOfScope() local
1944 PartialDiagnosticAt Warning(Loc1, handleExclusiveAndShared() local
1959 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) handleNoMutexHeld() local
1993 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) << Kind handleMutexNotHeld() local
2029 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) << Kind handleMutexNotHeld() local
2043 PartialDiagnosticAt Warning(Loc, handleNegativeNotHeld() local
2051 PartialDiagnosticAt Warning( handleNegativeNotHeld() local
2058 PartialDiagnosticAt Warning(Loc, S.PDiag(diag::warn_fun_excludes_mutex) handleFunExcludesLock() local
2065 PartialDiagnosticAt Warning(Loc, handleLockAcquiredBefore() local
2071 PartialDiagnosticAt Warning(Loc, handleBeforeAfterCycle() local
2115 PartialDiagnosticAt Warning(Loc, S.PDiag(diag::warn_loop_state_mismatch) << warnLoopStateMismatch() local
2126 PartialDiagnosticAt Warning(Loc, S.PDiag( warnParamReturnTypestateMismatch() local
2136 PartialDiagnosticAt Warning(Loc, S.PDiag( warnParamTypestateMismatch() local
2144 PartialDiagnosticAt Warning(Loc, S.PDiag( warnReturnTypestateForUnconsumableType() local
2153 PartialDiagnosticAt Warning(Loc, S.PDiag( warnReturnTypestateMismatch() local
2162 PartialDiagnosticAt Warning(Loc, S.PDiag( warnUseOfTempInInvalidState() local
2171 PartialDiagnosticAt Warning(Loc, S.PDiag(diag::warn_use_in_invalid_state) << warnUseInInvalidState() local
[all...]
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Ddefinitions-in-headers.rst13 int a = 1; // Warning: variable definition.
17 int e = 2; // Warning: variable definition.
20 // Warning: variable definition.
32 // Warning: function definition.
50 // Warning: not an inline member function definition.
63 // Warning: full specialization of a function template is not allowed.
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Duse-uncaught-exceptions.rst29 // Warning, but will not be replaced
32 // Warning and replaced
35 // Warning and replaced
38 // Warning and replaced
/llvm-project/compiler-rt/lib/msan/
H A Dmsan_report.cpp108 Printf("%s", d.Warning()); in ReportUMR()
148 Printf("%s", d.Warning()); in ReportAtExitStatistics()
207 Printf("%s", d.Warning()); in DescribeMemoryRange()
274 Printf("%s", d.Warning()); in ReportUMRInsideAddressRange()
276 d.Warning(), d.Name(), function, d.Warning(), offset, start, size, in ReportUMRInsideAddressRange()
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dstatic-definition-in-anonymous-namespace.rst14 static int a = 1; // Warning.
15 static const int b = 1; // Warning.
17 static int c = 1; // Warning.
/llvm-project/llvm/tools/dsymutil/
H A DMachODebugMapParser.cpp139 void Warning(const Twine &Msg, StringRef File = StringRef()) {
197 Warning("unable to open object file: " + toString(std::move(Err)), in switchToNewDebugMapObject()
205 Warning("unable to open object file: " + toString(std::move(Err)), in switchToNewDebugMapObject()
224 Warning("no dSYM search path was specified"); in switchToNewLibDebugMapObject()
276 Warning("unable to open object file: " + toString(std::move(Err)), in switchToNewLibDebugMapObject()
282 Warning("unable to open object file: " + toString(std::move(Err)), in switchToNewLibDebugMapObject()
296 Warning("unable to open object file: " + toString(std::move(Err)), in switchToNewLibDebugMapObject()
326 Warning("cannot parse relocation map file: " + EC.message(), in switchToNewLibDebugMapObject()
385 Warning("skipping debug map object with duplicate name and timestamp: " + in parseOneBinary()
730 Warning("coul in handleStabSymbolTableEntry()
140 void Warning(const Twine &Msg, StringRef File = StringRef()) { Warning() function in __anoncd1287010111::MachODebugMapParser
[all...]
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dinit-variables.rst54 A a; // Warning: variable 'a' is not initialized
55 A_c a_c; // Warning: variable 'a_c' is not initialized
56 B b; // Warning: variable 'b' is not initialized
57 B_i b_i; // Warning: variable 'b_i' is not initialized
/llvm-project/llvm/lib/Support/
H A DWithColor.cpp70 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/clang-tools-extra/docs/clang-tidy/checks/fuchsia/
H A Dstatically-constructed-objects.rst35 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 c3(get_i());// Warning, as the constructor is dynamically initialized
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/performance/
H A Dmove-const-arg.rst22 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/clang/test/CoverageMapping/
H A Dtrycatch.cpp9 class Warning { class
33 catch(const Warning &w) { // CHECK-NEXT: File 0, [[@LINE]]:27 -> [[@LINE+2]]:4 = #4 in main()

12345678910