/llvm-project/mlir/unittests/Dialect/SPIRV/ |
H A D | DeserializationTest.cpp | 245 auto voidType = addVoidType(); in TEST_F() local 246 auto fnType = addFunctionType(voidType, {}); in TEST_F() 247 addFunction(voidType, fnType); in TEST_F() 256 auto voidType = addVoidType(); in TEST_F() local 258 auto fnType = addFunctionType(voidType, {i32Type}); in TEST_F() 259 addFunction(voidType, fnType); in TEST_F() 268 auto voidType = addVoidType(); in TEST_F() local 269 auto fnType = addFunctionType(voidType, {}); in TEST_F() 270 addFunction(voidType, fnType); in TEST_F() 281 auto voidType = addVoidType(); in TEST_F() local [all …]
|
/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
H A D | CastingThroughVoidCheck.cpp | 23 qualType(unless(hasCanonicalType(pointsTo(voidType())))) in registerMatchers() 28 expr(hasType(qualType(unless(pointsTo(voidType()))) in registerMatchers() 31 qualType(pointsTo(voidType())).bind("void_type"))) in registerMatchers()
|
H A D | StandaloneEmptyCheck.cpp | 48 using ast_matchers::voidType; 82 callee(functionDecl(hasName("empty"), unless(returns(voidType()))))) in registerMatchers() 89 unless(returns(voidType())))))))) in registerMatchers()
|
H A D | SuspiciousMemsetUsageCheck.cpp | 26 hasParameter(0, hasType(pointerType(pointee(voidType())))), in registerMatchers()
|
H A D | UnusedReturnValueCheck.cpp | 179 unless(returns(voidType())), in registerMatchers()
|
H A D | SuspiciousReallocUsageCheck.cpp | 112 hasParameter(0, hasType(pointerType(pointee(voidType())))), in registerMatchers()
|
/llvm-project/clang-tools-extra/clang-tidy/performance/ |
H A D | NoexceptSwapCheck.cpp | 25 parameterCountIs(1U), unless(isConst()), returns(voidType()), in registerMatchers() 35 unless(cxxMethodDecl()), parameterCountIs(2U), returns(voidType()), in registerMatchers()
|
/llvm-project/clang/unittests/AST/ |
H A D | DeclTest.cpp | 474 hasParameter(0, hasType(pointerType(pointee(voidType()))))) in TEST() 485 hasParameter(0, hasType(pointerType(pointee(voidType())))), in TEST() 499 hasParameter(0, hasType(pointerType(pointee(voidType()))))) in TEST() 510 hasParameter(0, hasType(pointerType(pointee(voidType())))), in TEST()
|
/llvm-project/clang-tools-extra/clang-tidy/readability/ |
H A D | AvoidReturnWithVoidValueCheck.cpp | 33 hasReturnValue(allOf(hasType(voidType()), unless(initListExpr()))), in registerMatchers()
|
H A D | RedundantControlFlowCheck.cpp | 33 functionDecl(isDefinition(), returns(voidType()), in registerMatchers()
|
/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
H A D | UseNodiscardCheck.cpp | 94 returns(voidType()), in registerMatchers()
|
H A D | UseTransparentFunctorsCheck.cpp | 29 unless(hasAnyTemplateArgument(refersToType(voidType()))), in registerMatchers()
|
H A D | UseTrailingReturnTypeCheck.cpp | 388 unless(anyOf(hasTrailingReturn(), returns(voidType()), in registerMatchers()
|
/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
H A D | Registry.cpp | 615 REGISTER_MATCHER(voidType);
|
/llvm-project/flang/lib/Optimizer/CodeGen/ |
H A D | CodeGen.cpp | 1060 auto voidType = mlir::LLVM::LLVMVoidType::get(op.getContext()); in convertSubcomponentIndices() 1063 mlir::LLVM::LLVMFunctionType::get(voidType, in convertSubcomponentIndices() 1009 auto voidType = mlir::LLVM::LLVMVoidType::get(op.getContext()); getFree() local
|
/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 7052 /// functionDecl(returns(voidType())) 7054 AST_MATCHER(Type, voidType) { 7010 AST_MATCHER(Type,voidType) AST_MATCHER() argument
|
/llvm-project/clang/unittests/ASTMatchers/ |
H A D | ASTMatchersNarrowingTest.cpp | 3662 // FIXME: Add a test for `voidType()` that does not depend on C++. in TEST_P() 3667 cxxMethodDecl(returns(voidType())))); in TEST_P()
|