/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 203 diag(SourceLoc, in diagNarrowIntegerConstant() 239 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 240 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 264 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 289 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 299 return diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 311 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 314 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 350 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 355 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
H A D | NarrowingConversionsCheck.h | 34 void diagNarrowType(SourceLocation SourceLoc, const Expr &Lhs, 37 void diagNarrowTypeToSignedInt(SourceLocation SourceLoc, const Expr &Lhs, 40 void diagNarrowIntegerConstant(SourceLocation SourceLoc, const Expr &Lhs, 43 void diagNarrowIntegerConstantToSignedInt(SourceLocation SourceLoc, 48 void diagNarrowConstant(SourceLocation SourceLoc, const Expr &Lhs, 51 void diagConstantCast(SourceLocation SourceLoc, const Expr &Lhs, 55 SourceLocation SourceLoc, const Expr &Lhs, 62 SourceLocation SourceLoc, const Expr &Lhs, 66 SourceLocation SourceLoc, const Expr &Lhs, 70 SourceLocation SourceLoc, const Expr &Lhs, [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 195 diag(SourceLoc, in diagNarrowIntegerConstant() 231 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 232 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 256 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 281 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 291 return diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 303 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 306 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 342 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 347 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
H A D | NarrowingConversionsCheck.h | 32 void diagNarrowType(SourceLocation SourceLoc, const Expr &Lhs, 35 void diagNarrowTypeToSignedInt(SourceLocation SourceLoc, const Expr &Lhs, 38 void diagNarrowIntegerConstant(SourceLocation SourceLoc, const Expr &Lhs, 41 void diagNarrowIntegerConstantToSignedInt(SourceLocation SourceLoc, 46 void diagNarrowConstant(SourceLocation SourceLoc, const Expr &Lhs, 49 void diagConstantCast(SourceLocation SourceLoc, const Expr &Lhs, 53 SourceLocation SourceLoc, const Expr &Lhs, 60 SourceLocation SourceLoc, const Expr &Lhs, 64 SourceLocation SourceLoc, const Expr &Lhs, 68 SourceLocation SourceLoc, const Expr &Lhs, [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 204 diag(SourceLoc, in diagNarrowIntegerConstant() 240 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 241 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 265 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 290 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 300 return diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 312 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 315 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 351 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 356 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
H A D | NarrowingConversionsCheck.h | 34 void diagNarrowType(SourceLocation SourceLoc, const Expr &Lhs, 37 void diagNarrowTypeToSignedInt(SourceLocation SourceLoc, const Expr &Lhs, 40 void diagNarrowIntegerConstant(SourceLocation SourceLoc, const Expr &Lhs, 43 void diagNarrowIntegerConstantToSignedInt(SourceLocation SourceLoc, 48 void diagNarrowConstant(SourceLocation SourceLoc, const Expr &Lhs, 51 void diagConstantCast(SourceLocation SourceLoc, const Expr &Lhs, 55 SourceLocation SourceLoc, const Expr &Lhs, 62 SourceLocation SourceLoc, const Expr &Lhs, 66 SourceLocation SourceLoc, const Expr &Lhs, 70 SourceLocation SourceLoc, const Expr &Lhs, [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 204 diag(SourceLoc, in diagNarrowIntegerConstant() 240 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 241 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 265 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 290 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 300 return diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 312 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 315 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 351 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 356 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
H A D | NarrowingConversionsCheck.h | 34 void diagNarrowType(SourceLocation SourceLoc, const Expr &Lhs, 37 void diagNarrowTypeToSignedInt(SourceLocation SourceLoc, const Expr &Lhs, 40 void diagNarrowIntegerConstant(SourceLocation SourceLoc, const Expr &Lhs, 43 void diagNarrowIntegerConstantToSignedInt(SourceLocation SourceLoc, 48 void diagNarrowConstant(SourceLocation SourceLoc, const Expr &Lhs, 51 void diagConstantCast(SourceLocation SourceLoc, const Expr &Lhs, 55 SourceLocation SourceLoc, const Expr &Lhs, 62 SourceLocation SourceLoc, const Expr &Lhs, 66 SourceLocation SourceLoc, const Expr &Lhs, 70 SourceLocation SourceLoc, const Expr &Lhs, [all …]
|
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 195 diag(SourceLoc, in diagNarrowIntegerConstant() 231 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 232 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 256 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 281 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 291 return diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 303 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 306 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 342 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 347 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
H A D | NarrowingConversionsCheck.h | 32 void diagNarrowType(SourceLocation SourceLoc, const Expr &Lhs, 35 void diagNarrowTypeToSignedInt(SourceLocation SourceLoc, const Expr &Lhs, 38 void diagNarrowIntegerConstant(SourceLocation SourceLoc, const Expr &Lhs, 41 void diagNarrowIntegerConstantToSignedInt(SourceLocation SourceLoc, 46 void diagNarrowConstant(SourceLocation SourceLoc, const Expr &Lhs, 49 void diagConstantCast(SourceLocation SourceLoc, const Expr &Lhs, 53 SourceLocation SourceLoc, const Expr &Lhs, 60 SourceLocation SourceLoc, const Expr &Lhs, 64 SourceLocation SourceLoc, const Expr &Lhs, 68 SourceLocation SourceLoc, const Expr &Lhs, [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 206 diag(SourceLoc, in diagNarrowIntegerConstant() 242 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 243 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 267 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 292 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 302 return diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 314 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 317 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 353 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 358 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
H A D | NarrowingConversionsCheck.h | 34 void diagNarrowType(SourceLocation SourceLoc, const Expr &Lhs, 37 void diagNarrowTypeToSignedInt(SourceLocation SourceLoc, const Expr &Lhs, 40 void diagNarrowIntegerConstant(SourceLocation SourceLoc, const Expr &Lhs, 43 void diagNarrowIntegerConstantToSignedInt(SourceLocation SourceLoc, 48 void diagNarrowConstant(SourceLocation SourceLoc, const Expr &Lhs, 51 void diagConstantCast(SourceLocation SourceLoc, const Expr &Lhs, 55 SourceLocation SourceLoc, const Expr &Lhs, 62 SourceLocation SourceLoc, const Expr &Lhs, 66 SourceLocation SourceLoc, const Expr &Lhs, 70 SourceLocation SourceLoc, const Expr &Lhs, [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 195 diag(SourceLoc, in diagNarrowIntegerConstant() 231 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 232 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 256 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 281 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 291 return diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 303 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 306 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 342 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 347 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
H A D | NarrowingConversionsCheck.h | 32 void diagNarrowType(SourceLocation SourceLoc, const Expr &Lhs, 35 void diagNarrowTypeToSignedInt(SourceLocation SourceLoc, const Expr &Lhs, 38 void diagNarrowIntegerConstant(SourceLocation SourceLoc, const Expr &Lhs, 41 void diagNarrowIntegerConstantToSignedInt(SourceLocation SourceLoc, 46 void diagNarrowConstant(SourceLocation SourceLoc, const Expr &Lhs, 49 void diagConstantCast(SourceLocation SourceLoc, const Expr &Lhs, 53 SourceLocation SourceLoc, const Expr &Lhs, 60 SourceLocation SourceLoc, const Expr &Lhs, 64 SourceLocation SourceLoc, const Expr &Lhs, 68 SourceLocation SourceLoc, const Expr &Lhs, [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 206 diag(SourceLoc, in diagNarrowIntegerConstant() 242 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 243 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 267 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 292 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 302 return diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 314 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 317 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 353 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 358 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 196 diag(SourceLoc, in diagNarrowIntegerConstant() 232 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 233 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 257 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 282 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 292 return diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 304 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 307 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 343 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 348 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
H A D | NarrowingConversionsCheck.h | 33 void diagNarrowType(SourceLocation SourceLoc, const Expr &Lhs, 36 void diagNarrowTypeToSignedInt(SourceLocation SourceLoc, const Expr &Lhs, 39 void diagNarrowIntegerConstant(SourceLocation SourceLoc, const Expr &Lhs, 42 void diagNarrowIntegerConstantToSignedInt(SourceLocation SourceLoc, 47 void diagNarrowConstant(SourceLocation SourceLoc, const Expr &Lhs, 50 void diagConstantCast(SourceLocation SourceLoc, const Expr &Lhs, 54 SourceLocation SourceLoc, const Expr &Lhs, 61 SourceLocation SourceLoc, const Expr &Lhs, 65 SourceLocation SourceLoc, const Expr &Lhs, 69 SourceLocation SourceLoc, const Expr &Lhs, [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 275 diag(SourceLoc, "narrowing conversion from %0 to %1") in diagNarrowType() 289 diag(SourceLoc, in diagNarrowIntegerConstant() 325 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 326 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 362 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 391 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 400 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 403 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 448 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 453 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
H A D | NarrowingConversionsCheck.h | 34 void diagNarrowType(SourceLocation SourceLoc, const Expr &Lhs, 37 void diagNarrowTypeToSignedInt(SourceLocation SourceLoc, const Expr &Lhs, 40 void diagNarrowIntegerConstant(SourceLocation SourceLoc, const Expr &Lhs, 43 void diagNarrowIntegerConstantToSignedInt(SourceLocation SourceLoc, 48 void diagNarrowConstant(SourceLocation SourceLoc, const Expr &Lhs, 51 void diagConstantCast(SourceLocation SourceLoc, const Expr &Lhs, 55 SourceLocation SourceLoc, const Expr &Lhs, 62 SourceLocation SourceLoc, const Expr &Lhs, 66 SourceLocation SourceLoc, const Expr &Lhs, 70 SourceLocation SourceLoc, const Expr &Lhs, [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 275 diag(SourceLoc, "narrowing conversion from %0 to %1") in diagNarrowType() 289 diag(SourceLoc, in diagNarrowIntegerConstant() 325 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 326 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 362 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 391 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 400 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 403 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 448 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 453 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
H A D | NarrowingConversionsCheck.h | 34 void diagNarrowType(SourceLocation SourceLoc, const Expr &Lhs, 37 void diagNarrowTypeToSignedInt(SourceLocation SourceLoc, const Expr &Lhs, 40 void diagNarrowIntegerConstant(SourceLocation SourceLoc, const Expr &Lhs, 43 void diagNarrowIntegerConstantToSignedInt(SourceLocation SourceLoc, 48 void diagNarrowConstant(SourceLocation SourceLoc, const Expr &Lhs, 51 void diagConstantCast(SourceLocation SourceLoc, const Expr &Lhs, 55 SourceLocation SourceLoc, const Expr &Lhs, 62 SourceLocation SourceLoc, const Expr &Lhs, 66 SourceLocation SourceLoc, const Expr &Lhs, 70 SourceLocation SourceLoc, const Expr &Lhs, [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 275 diag(SourceLoc, "narrowing conversion from %0 to %1") in diagNarrowType() 289 diag(SourceLoc, in diagNarrowIntegerConstant() 325 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 326 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 362 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 391 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 400 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 403 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 448 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 453 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 275 diag(SourceLoc, "narrowing conversion from %0 to %1") in diagNarrowType() 289 diag(SourceLoc, in diagNarrowIntegerConstant() 325 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 326 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 362 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 391 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 400 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 403 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 448 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 453 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|
H A D | NarrowingConversionsCheck.h | 34 void diagNarrowType(SourceLocation SourceLoc, const Expr &Lhs, 37 void diagNarrowTypeToSignedInt(SourceLocation SourceLoc, const Expr &Lhs, 40 void diagNarrowIntegerConstant(SourceLocation SourceLoc, const Expr &Lhs, 43 void diagNarrowIntegerConstantToSignedInt(SourceLocation SourceLoc, 48 void diagNarrowConstant(SourceLocation SourceLoc, const Expr &Lhs, 51 void diagConstantCast(SourceLocation SourceLoc, const Expr &Lhs, 55 SourceLocation SourceLoc, const Expr &Lhs, 62 SourceLocation SourceLoc, const Expr &Lhs, 66 SourceLocation SourceLoc, const Expr &Lhs, 70 SourceLocation SourceLoc, const Expr &Lhs, [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
H A D | NarrowingConversionsCheck.cpp | 275 diag(SourceLoc, "narrowing conversion from %0 to %1") in diagNarrowType() 289 diag(SourceLoc, in diagNarrowIntegerConstant() 325 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 326 return diagNarrowType(SourceLoc, Lhs, Rhs); in diagNarrowTypeOrConstant() 362 diagNarrowTypeToSignedInt(SourceLoc, Lhs, Rhs); in handleIntegralCast() 391 diagNarrowType(SourceLoc, Lhs, Rhs); in handleIntegralToFloating() 400 return diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 403 return diagConstantCast(SourceLoc, Lhs, Rhs); in handleFloatingToIntegral() 448 diagNarrowConstant(SourceLoc, Lhs, Rhs); in handleFloatingCast() 453 diagNarrowType(SourceLoc, Lhs, Rhs); in handleFloatingCast() [all …]
|