/aosp_15_r20/external/llvm/test/MC/ARM/ |
H A D | v8_IT_manual.s | 4 @ CHECK-NOT: [[@LINE+2]]:1: warning 8 @ CHECK-NOT: [[@LINE+2]]:1: warning 11 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 14 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 18 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 22 @ CHECK-NOT: [[@LINE+2]]:1: warning 26 @ CHECK-NOT: [[@LINE+2]]:1: warning 30 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 34 @ CHECK: [[@LINE+2]]:1: warning: deprecated instruction in IT block 38 @ CHECK-NOT: [[@LINE+2]]:1: warning [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/.idea/inspectionProfiles/ |
H A D | AWS_Java_SDK_2_0.xml | 4 …<inspection_tool class="AbstractClassWithoutAbstractMethods" enabled="true" level="WARNING" enable… 5 …<inspection_tool class="AbstractMethodCallInConstructor" enabled="true" level="WEAK WARNING" enabl… 6 …class="AbstractMethodOverridesAbstractMethod" enabled="true" level="WEAK WARNING" enabled_by_defau… 9 …<inspection_tool class="AbstractMethodOverridesConcreteMethod" enabled="true" level="WARNING" enab… 10 …ass="AccessToNonThreadSafeStaticFieldFromInstance" enabled="true" level="WARNING" enabled_by_defau… 16 …<inspection_tool class="AccessToStaticFieldLockedOnInstance" enabled="true" level="WARNING" enable… 17 …<inspection_tool class="AmbiguousFieldAccess" enabled="true" level="WARNING" enabled_by_default="t… 18 …<inspection_tool class="AmbiguousMethodCall" enabled="true" level="WARNING" enabled_by_default="tr… 19 …onymousClassVariableHidesContainingMethodVariable" enabled="true" level="WARNING" enabled_by_defau… 20 … <inspection_tool class="ArrayEquality" enabled="true" level="WARNING" enabled_by_default="true" /> [all …]
|
/aosp_15_r20/build/make/tools/warn/ |
H A D | cpp_warn_patterns.py | 16 """Warning patterns for C/C++ compiler, but not clang-tidy.""" 64 [r".*: warning: implicit declaration of function .+", 65 r".*: warning: implicitly declaring library function"]), 67 [r".*: warning: conflicting types for '.+'"]), 69 [r".*: warning: comparison is always .+ due to limited range of data type", 70 r".*: warning: comparison of unsigned .*expression .+ is always true", 71 r".*: warning: comparison of unsigned .*expression .+ is always false"]), 73 [r".*: warning: .+Using such transient memory for the control value is .*dangerous."]), 75 [r".*: warning: Address of stack memory .+ returned to caller", 76 r".*: warning: Address of stack memory .+ will be a dangling reference"]), [all …]
|
/aosp_15_r20/external/llvm/test/MC/Disassembler/AArch64/ |
H A D | fullfp16-neon-neg.txt | 6 # CHECK: warning: invalid instruction encoding 8 # CHECK: warning: invalid instruction encoding 10 # CHECK: warning: invalid instruction encoding 12 # CHECK: warning: invalid instruction encoding 14 # CHECK: warning: invalid instruction encoding 16 # CHECK: warning: invalid instruction encoding 18 # CHECK: warning: invalid instruction encoding 20 # CHECK: warning: invalid instruction encoding 22 # CHECK: warning: invalid instruction encoding 24 # CHECK: warning: invalid instruction encoding [all …]
|
/aosp_15_r20/external/clang/test/SemaCXX/ |
H A D | uninitialized.cpp | 23 int a = a; // no-warning: used to signal intended lack of initialization. 24 int b = b + 1; // expected-warning {{variable 'b' is uninitialized when used within its own initial… 25 int c = (c + c); // expected-warning 2 {{variable 'c' is uninitialized when used within its own ini… 26 int e = static_cast<long>(e) + 1; // expected-warning {{variable 'e' is uninitialized when used wit… 27 int f = foo(f); // expected-warning {{variable 'f' is uninitialized when used within its own initia… 37 int l = k ? l : l; // expected-warning 2{{variable 'l' is uninitialized when used within its own i… 38 int m = 1 + (k ? m : m); // expected-warning 2{{variable 'm' is uninitialized when used within its… 39 int n = -n; // expected-warning {{variable 'n' is uninitialized when used within its own initializ… 40 int o = std::move(o); // expected-warning {{variable 'o' is uninitialized when used within its own … 41 const int p = std::move(p); // expected-warning {{variable 'p' is uninitialized when used within it… [all …]
|
H A D | bool-compare.cpp | 8 …if(b > true) {} // expected-warning {{comparison of true with expression of type 'bool' is alwa… in f() 9 if(b < true) {} // no warning in f() 10 if(b >= true) {} // no warning in f() 11 …if(b <= true) {} // expected-warning {{comparison of true with expression of type 'bool' is alwa… in f() 12 if(b == true) {} // no warning in f() 13 if(b != true) {} // no warning in f() 15 if(b > false) {} // no warning in f() 16 …if(b < false) {} // expected-warning {{comparison of false with expression of type 'bool' is alw… in f() 17 …if(b >= false) {} // expected-warning {{comparison of false with expression of type 'bool' is alw… in f() 18 if(b <= false) {} // no warning in f() [all …]
|
H A D | cxx98-compat.cpp | 6 using size_t = decltype(sizeof(0)); // expected-warning {{decltype}} expected-warning {{alias}} 16 template<typename ...T> // expected-warning {{variadic templates are incompatible with C++98}} 19 template<template<typename> class ...T> // expected-warning {{variadic templates are incompatible … 22 template<int ...I> // expected-warning {{variadic templates are incompatible with C++98}} 25 alignas(8) int with_alignas; // expected-warning {{'alignas' is incompatible with C++98}} 26 int with_attribute [[ ]]; // expected-warning {{C++11 attribute syntax is incompatible with C++98}} 29 (void)u8"str"; // expected-warning {{unicode literals are incompatible with C++98}} in Literals() 30 (void)u"str"; // expected-warning {{unicode literals are incompatible with C++98}} in Literals() 31 (void)U"str"; // expected-warning {{unicode literals are incompatible with C++98}} in Literals() 32 (void)u'x'; // expected-warning {{unicode literals are incompatible with C++98}} in Literals() [all …]
|
H A D | warn-enum-compare.cpp | 42 …while (x == AnonAA); // expected-warning {{comparison of constant 'AnonAA' (42) with expression of… in test() 43 …while (AnonBB == y); // expected-warning {{comparison of constant 'AnonBB' (45) with expression of… in test() 68 …while (B1 == B2); // expected-warning {{comparison of two values with different enumeration types… in test() 69 …while (name1::B2 == name2::B3); // expected-warning {{comparison of two values with different enu… in test() 70 …while (z == name2::B2); // expected-warning {{comparison of two values with different enumeration… in test() 72 …while (((((B1)))) == B2); // expected-warning {{comparison of two values with different enumerati… in test() 73 …while (name1::B2 == (name2::B3)); // expected-warning {{comparison of two values with different e… in test() 74 …while (z == ((((name2::B2))))); // expected-warning {{comparison of two values with different enu… in test() 76 …while ((((B1))) == (((B2)))); // expected-warning {{comparison of two values with different enume… in test() 77 …while ((name1::B2) == (((name2::B3)))); // expected-warning {{comparison of two values with diffe… in test() [all …]
|
H A D | warn-empty-body.cpp | 11 …f (x); // expected-warning {{if statement has empty body}} expected-note{{put the semicolon on a s… in test1() 15 …RO_A); // expected-warning {{if statement has empty body}} expected-note{{put the semicolon on a s… in test1() 16 …== x); // expected-warning {{if statement has empty body}} expected-note{{put the semicolon on a s… in test1() 20 … i++); { // expected-warning{{for loop has empty body}} expected-note{{put the semicolon on a sepa… in test1() 25 …x; i++); // expected-warning{{for loop has empty body}} expected-note{{put the semicolon on a sepa… in test1() 32 …i++); // expected-warning{{for loop has empty body}} expected-note{{put the semicolon on a separat… in test1() 38 …); // expected-warning{{range-based for loop has empty body}} expected-note{{put the semicolon on … in test1() 42 …); // expected-warning{{range-based for loop has empty body}} expected-note{{put the semicolon on … in test1() 45 … == 0); // expected-warning{{while loop has empty body}} expected-note{{put the semicolon on a sep… in test1() 48 …= 0); { // expected-warning{{while loop has empty body}} expected-note{{put the semicolon on a sep… in test1() [all …]
|
/aosp_15_r20/external/clang/test/Analysis/ |
H A D | pthreadlock.c | 17 pthread_mutex_lock(&mtx1); // no-warning in ok1() 23 pthread_mutex_unlock(&mtx1); // no-warning in ok2() 29 pthread_mutex_lock(&mtx1); // no-warning in ok3() 30 pthread_mutex_unlock(&mtx1); // no-warning in ok3() 31 pthread_mutex_lock(&mtx1); // no-warning in ok3() 32 pthread_mutex_unlock(&mtx1); // no-warning in ok3() 38 pthread_mutex_lock(&mtx1); // no-warning in ok4() 39 pthread_mutex_unlock(&mtx1); // no-warning in ok4() 40 pthread_mutex_lock(&mtx2); // no-warning in ok4() 41 pthread_mutex_unlock(&mtx2); // no-warning in ok4() [all …]
|
H A D | pr22954.c | 28 clang_analyzer_eval(a0.s1[0] == 'a'); // expected-warning{{UNKNOWN}} in f0() 29 clang_analyzer_eval(a0.s1[1] == 'b'); // expected-warning{{UNKNOWN}} in f0() 30 clang_analyzer_eval(a0.s1[2] == 'c'); // expected-warning{{UNKNOWN}} in f0() 31 clang_analyzer_eval(a0.s1[3] == 'd'); // expected-warning{{UNKNOWN}} in f0() 32 clang_analyzer_eval(a0.s2 == 0); // expected-warning{{UNKNOWN}} in f0() 33 free(a0.s2); // no warning in f0() 42 clang_analyzer_eval(a1.s1[0] == 'a'); // expected-warning{{UNKNOWN}} in f1() 43 clang_analyzer_eval(a1.s1[1] == 'b'); // expected-warning{{UNKNOWN}} in f1() 44 clang_analyzer_eval(a1.s1[2] == 'c'); // expected-warning{{UNKNOWN}} in f1() 45 clang_analyzer_eval(a1.s1[3] == 'd'); // expected-warning{{UNKNOWN}} in f1() [all …]
|
H A D | identical-expressions.cpp | 3 /* Only one expected warning per function allowed at the very end. */ 24 return (5.14F != 5.14F); // no warning in checkNotEqualFloatLiteralCompare1() 28 return (6.14F != 7.14F); // no warning in checkNotEqualFloatLiteralCompare2() 34 return (f != g); // no warning in checkNotEqualFloatDeclCompare1() 39 return (f != f); // no warning in checkNotEqualFloatDeclCompare12() 44 return (f != 7.1F); // no warning in checkNotEqualFloatDeclCompare3() 49 return (7.1F != f); // no warning in checkNotEqualFloatDeclCompare4() 55 return (t != f); // no warning in checkNotEqualFloatDeclCompare5() 61 return (f != t); // no warning in checkNotEqualFloatDeclCompare6() 68 …return ((int)f != (int)f); // expected-warning {{comparison of identical expressions always evalua… in checkNotEqualCastFloatDeclCompare11() [all …]
|
H A D | additive-folding-range-constraints.c | 15 clang_analyzer_eval(a < UINT_MAX-1); // expected-warning{{TRUE}} in smallAdjustmentGT() 17 clang_analyzer_eval(a == UINT_MAX-1 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentGT() 22 clang_analyzer_eval(a < UINT_MAX-1 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentGE() 24 clang_analyzer_eval(a == UINT_MAX-1); // expected-warning{{TRUE}} in smallAdjustmentGE() 29 clang_analyzer_eval(a == 0 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentLT() 34 clang_analyzer_eval(a == 0 || a == 1 || a == UINT_MAX); // expected-warning{{TRUE}} in smallAdjustmentLE() 43 clang_analyzer_eval(a == 1); // expected-warning{{TRUE}} in largeAdjustmentGT() 45 clang_analyzer_eval(a != 1); // expected-warning{{TRUE}} in largeAdjustmentGT() 50 clang_analyzer_eval(a == 1 || a == 0); // expected-warning{{TRUE}} in largeAdjustmentGE() 52 clang_analyzer_eval(a > 1); // expected-warning{{TRUE}} in largeAdjustmentGE() [all …]
|
H A D | ptr-arith.c | 39 …int d = &y - &x; // expected-warning{{Subtraction of two pointers that do not point to the same me… in f3() 44 d = q-p; // no-warning in f3() 49 …p = (int*) 0x10000; // expected-warning{{Using a fixed address is not portable because that addres… in f4() 55 …p = &x + 1; // expected-warning{{Pointer arithmetic on non-array variables relies on memory layou… in f5() 58 p = a + 1; // no-warning in f5() 63 int d = q - p; // no-warning in f6() 69 clang_analyzer_eval(&&start != 0); // expected-warning{{TRUE}} in null_operand() 70 clang_analyzer_eval(&&start >= 0); // expected-warning{{TRUE}} in null_operand() 71 clang_analyzer_eval(&&start > 0); // expected-warning{{TRUE}} in null_operand() 72 clang_analyzer_eval((&&start - 0) != 0); // expected-warning{{TRUE}} in null_operand() [all …]
|
H A D | ctor.mm | 22 *(char *)0 = 1; // expected-warning{{Dereference of null pointer}} 35 clang_analyzer_eval(b.x == 42); // expected-warning{{TRUE}} 49 clang_analyzer_eval(b.x == 42); // expected-warning{{TRUE}} 87 clang_analyzer_eval(a == 1); // expected-warning{{TRUE}} 88 clang_analyzer_eval(b == 2); // expected-warning{{TRUE}} 89 clang_analyzer_eval(c == 3); // expected-warning{{TRUE}} 91 clang_analyzer_eval(obj.get() == 3); // expected-warning{{TRUE}} 95 clang_analyzer_eval(base->get() == 3); // expected-warning{{TRUE}} 103 clang_analyzer_checkInlined(true); // expected-warning{{TRUE}} 126 clang_analyzer_eval(result); // expected-warning{{TRUE}} [all …]
|
H A D | string.c | 42 clang_analyzer_eval(strlen("123") == 3); // expected-warning{{TRUE}} in strlen_constant0() 47 clang_analyzer_eval(strlen(a) == 3); // expected-warning{{TRUE}} in strlen_constant1() 52 clang_analyzer_eval(strlen(a) == 3); // expected-warning{{TRUE}} in strlen_constant2() 55 clang_analyzer_eval(strlen(a) == 3); // expected-warning{{UNKNOWN}} in strlen_constant2() 59 return strlen(0); // expected-warning{{Null pointer argument in call to string length function}} in strlen_null() 63 …return strlen((char*)&strlen_fn); // expected-warning{{Argument to string length function is the a… in strlen_fn() 68 …return strlen((char*)&&label); // expected-warning{{Argument to string length function is the addr… in strlen_nonloc() 82 clang_analyzer_eval(b == 0); // expected-warning{{TRUE}} in strlen_subregion() 88 clang_analyzer_eval(c == 0); // expected-warning{{UNKNOWN}} in strlen_subregion() 96 clang_analyzer_eval(b == 0); // expected-warning{{TRUE}} in strlen_argument() [all …]
|
/aosp_15_r20/external/clang/test/Sema/ |
H A D | format-strings.c | 31 printf(s); // expected-warning {{format string is not a string literal}} in check_string_literal() 33 vprintf(s,ap); // expected-warning {{format string is not a string literal}} in check_string_literal() 34 fprintf(fp,s); // expected-warning {{format string is not a string literal}} in check_string_literal() 36 vfprintf(fp,s,ap); // expected-warning {{format string is not a string literal}} in check_string_literal() 37 asprintf(&b,s); // expected-warning {{format string is not a string lit}} in check_string_literal() 39 vasprintf(&b,s,ap); // expected-warning {{format string is not a string literal}} in check_string_literal() 40 sprintf(buf,s); // expected-warning {{format string is not a string literal}} in check_string_literal() 42 snprintf(buf,2,s); // expected-warning {{format string is not a string lit}} in check_string_literal() 44 __builtin___sprintf_chk(buf,0,-1,s); // expected-warning {{format string is not a string literal}} in check_string_literal() 46 __builtin___snprintf_chk(buf,2,0,-1,s); // expected-warning {{format string is not a string lit}} in check_string_literal() [all …]
|
H A D | bool-compare.c | 8 …if ((a > 2) > 1) {} // expected-warning {{comparison of constant 1 with boolean expression is alwa… in f() 10 if (a > b) {} // no warning in f() 11 if (a < b) {} // no warning in f() 12 if (a >= b) {} // no warning in f() 13 if (a <= b) {} // no warning in f() 14 if (a == b) {} // no warning in f() 15 if (a != b) {} // no warning in f() 17 if (a > 0) {} // no warning in f() 18 if (a > 1) {} // no warning in f() 19 if (a > 2) {} // no warning in f() [all …]
|
H A D | warn-documentation.cpp | 7 // expected-warning@+2 {{HTML tag 'a' requires an end tag}} 8 // expected-warning@+1 {{expected quoted string after equals sign}} 12 // expected-warning@+2 {{HTML tag 'a' requires an end tag}} 13 // expected-warning@+1 {{expected quoted string after equals sign}} 17 // expected-warning@+3 {{HTML tag 'a' requires an end tag}} 18 // expected-warning@+2 {{expected quoted string after equals sign}} 19 // expected-warning@+1 {{HTML start tag prematurely ended, expected attribute name or '>'}} 23 // expected-warning@+2 {{HTML tag 'a' requires an end tag}} 24 // expected-warning@+1 {{HTML start tag prematurely ended, expected attribute name or '>'}} 28 // expected-warning@+2 {{HTML tag 'a' requires an end tag}} [all …]
|
H A D | format-strings-scanf.c | 21 scanf(s, i); // expected-warning{{format string is not a string literal}} in test() 22 scanf("%0d", i); // expected-warning{{zero field width in scanf format string is unused}} in test() 23 scanf("%00d", i); // expected-warning{{zero field width in scanf format string is unused}} in test() 24 …scanf("%d%[asdfasdfd", i, s); // expected-warning{{no closing ']' for '%[' in scanf format string}} in test() 27 scanf ("%" "hu" "\n", &s_x); // no-warning in test() 28 scanf("%y", i); // expected-warning{{invalid conversion specifier 'y'}} in test() 29 scanf("%%"); // no-warning in test() 30 scanf("%%%1$d", i); // no-warning in test() 31 scanf("%1$d%%", i); // no-warning in test() 32 scanf("%d", i, i); // expected-warning{{data argument not used by format string}} in test() [all …]
|
H A D | uninit-variables.c | 7 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test1() 8 return x; // expected-warning{{variable 'x' is uninitialized when used here}} in test1() 13 return x; // no-warning in test2() 19 return x; // no-warning in test3() 23 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test4() 24 ++x; // expected-warning{{variable 'x' is uninitialized when used here}} in test4() 29 int x, y; // expected-note{{initialize the variable 'y' to silence this warning}} in test5() 30 x = y; // expected-warning{{variable 'y' is uninitialized when used here}} in test5() 35 int x; // expected-note{{initialize the variable 'x' to silence this warning}} in test6() 36 x += 2; // expected-warning{{variable 'x' is uninitialized when used here}} in test6() [all …]
|
/aosp_15_r20/development/ide/intellij/ |
H A D | IndecentExposure.xml | 5 <inspection_tool class="FieldCanBeLocal" level="WARNING" enabled="false" /> 6 <inspection_tool class="UnnecessaryModuleDependencyInspection" level="WARNING" enabled="false" /> 8 <inspection_tool class="RedundantTypeArguments" level="WARNING" enabled="false" /> 10 <inspection_tool class="CssOverwrittenProperties" level="WARNING" enabled="false" /> 11 <inspection_tool class="MissedExecutable" level="WARNING" enabled="false" /> 14 <inspection_tool class="EmptyCatchBlock" level="WARNING" enabled="false"> 19 <inspection_tool class="StringToString" level="WARNING" enabled="false" /> 22 <inspection_tool class="MalformedRegex" level="WARNING" enabled="false" /> 24 <inspection_tool class="TrivialIfJS" level="WARNING" enabled="false" /> 25 <inspection_tool class="CaughtExceptionImmediatelyRethrown" level="WARNING" enabled="false" /> [all …]
|
/aosp_15_r20/external/llvm/test/MC/Disassembler/ARM/ |
H A D | fullfp16-neon-thumb-neg.txt | 3 # CHECK: warning: invalid instruction encoding 4 # CHECK: warning: invalid instruction encoding 8 # CHECK: warning: invalid instruction encoding 9 # CHECK: warning: invalid instruction encoding 13 # CHECK: warning: invalid instruction encoding 14 # CHECK: warning: invalid instruction encoding 18 # CHECK: warning: invalid instruction encoding 19 # CHECK: warning: invalid instruction encoding 23 # CHECK: warning: invalid instruction encoding 24 # CHECK: warning: invalid instruction encoding [all …]
|
H A D | fullfp16-neon-arm-neg.txt | 3 # CHECK: warning: invalid instruction encoding 4 # CHECK: warning: invalid instruction encoding 8 # CHECK: warning: invalid instruction encoding 9 # CHECK: warning: invalid instruction encoding 13 # CHECK: warning: invalid instruction encoding 14 # CHECK: warning: invalid instruction encoding 18 # CHECK: warning: invalid instruction encoding 19 # CHECK: warning: invalid instruction encoding 23 # CHECK: warning: invalid instruction encoding 24 # CHECK: warning: invalid instruction encoding [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/libcxx/diagnostics/ |
H A D | math_nodiscard_extensions.verify.cpp | 26 …std::ceil(0.); // expected-warning-re {{ignoring return value of function declared… in test() 27 …std::fabs(0.); // expected-warning-re {{ignoring return value of function declared… in test() 28 …std::floor(0.); // expected-warning-re {{ignoring return value of function declared… in test() 29 …std::cbrt(0.); // expected-warning-re {{ignoring return value of function declared… in test() 30 …std::copysign(0., 0.); // expected-warning-re {{ignoring return value of function declared… in test() 31 …std::fmax(0., 0.); // expected-warning-re {{ignoring return value of function declared… in test() 32 …std::fmin(0., 0.); // expected-warning-re {{ignoring return value of function declared… in test() 33 …std::nearbyint(0.); // expected-warning-re {{ignoring return value of function declared… in test() 34 …std::rint(0.); // expected-warning-re {{ignoring return value of function declared… in test() 35 …std::round(0.); // expected-warning-re {{ignoring return value of function declared… in test() [all …]
|