Home
last modified time | relevance | path

Searched refs:IsPositive (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/lib/Basic/
H A DWarnings.cpp207 bool IsPositive = !Opt.startswith("no-"); in ProcessWarningOptions() local
208 if (!IsPositive) Opt = Opt.substr(3); in ProcessWarningOptions()
210 auto Severity = IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
224 EmitUnknownDiagWarning(Diags, Flavor, IsPositive ? "-R" : "-Rno-", in ProcessWarningOptions()
228 IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DGlobList.cpp50 Item.IsPositive = !consumeNegativeIndicator(Globs); in GlobList()
52 if (Item.IsPositive || KeepNegativeGlobs) in GlobList()
62 return Item.IsPositive; in contains()
H A DGlobList.h46 bool IsPositive; member
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/
H A Dobjc-function-naming.m21 // CHECK-FIXES: static bool IsPositive(int a) { return a > 0; }
26 // CHECK-FIXES: static bool IsPositive(int a) { return a > 0; }
31 // CHECK-FIXES: static bool IsPositive(int a) { return a > 0; }
33 static bool IsPositive(int a) { return a > 0; } function
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/google/
H A Dobjc-function-naming.rst26 static bool IsPositive(int i) { return i > 0; }
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DConfigCompile.cpp469 const Located<std::string> &Arg, bool IsPositive) { in appendTidyCheckSpec()
484 if (!IsPositive) in appendTidyCheckSpec()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp45993 bool IsPositive[2] = {false, false}; in canReduceVMulWidth() local
45998 IsPositive[i] = DAG.SignBitIsZero(Opd); in canReduceVMulWidth()
46001 bool AllPositive = IsPositive[0] && IsPositive[1]; in canReduceVMulWidth()