Home
last modified time | relevance | path

Searched refs:SCharacter (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-signed-char-misuse.cpp75 int SignedUnsignedCharEquality(signed char SCharacter) { in SignedUnsignedCharEquality() argument
77 …if (SCharacter == USCharacter) // CHECK-MESSAGES: [[@LINE]]:7: warning: comparison between 'signed… in SignedUnsignedCharEquality()
82 int SignedUnsignedCharIneqiality(signed char SCharacter) { in SignedUnsignedCharIneqiality() argument
84 …if (SCharacter != USCharacter) // CHECK-MESSAGES: [[@LINE]]:7: warning: comparison between 'signed… in SignedUnsignedCharIneqiality()
90 const signed char SCharacter = -5; in CompareWithNonAsciiConstant() local
91 …if (USCharacter == SCharacter) // CHECK-MESSAGES: [[@LINE]]:7: warning: comparison between 'signed… in CompareWithNonAsciiConstant()
96 int CompareWithUnsignedNonAsciiConstant(signed char SCharacter) { in CompareWithUnsignedNonAsciiConstant() argument
98 …if (USCharacter == SCharacter) // CHECK-MESSAGES: [[@LINE]]:7: warning: comparison between 'signed… in CompareWithUnsignedNonAsciiConstant()
103 int SignedCharCArraySubscript(signed char SCharacter) { in SignedCharCArraySubscript() argument
106 …return Array[static_cast<unsigned int>(SCharacter)]; // CHECK-MESSAGES: [[@LINE]]:42: warning: 'si… in SignedCharCArraySubscript()
[all …]
Dcert-str34-c.cpp13 int SignedUnsignedCharEquality(signed char SCharacter) { in SignedUnsignedCharEquality() argument
15 if (SCharacter == USCharacter) // no warning in SignedUnsignedCharEquality()