Home
last modified time | relevance | path

Searched refs:typeLoc (Results 1 – 25 of 44) sorted by relevance

12

/external/llvm-project/clang/unittests/AST/
DSourceLocationTest.cpp209 EXPECT_TRUE(Verifier.match("int a;", typeLoc())); in TEST()
215 EXPECT_TRUE(Verifier.match("long a;", typeLoc())); in TEST()
221 EXPECT_TRUE(Verifier.match("long double a;", typeLoc())); in TEST()
227 EXPECT_TRUE(Verifier.match("double long a;", typeLoc())); in TEST()
233 EXPECT_TRUE(Verifier.match("long int a;", typeLoc())); in TEST()
239 EXPECT_TRUE(Verifier.match("int long a;", typeLoc())); in TEST()
245 EXPECT_TRUE(Verifier.match("unsigned int a;", typeLoc())); in TEST()
251 EXPECT_TRUE(Verifier.match("int unsigned a;", typeLoc())); in TEST()
257 EXPECT_TRUE(Verifier.match("long long a;", typeLoc())); in TEST()
263 EXPECT_TRUE(Verifier.match("unsigned long long a;", typeLoc())); in TEST()
[all …]
DASTContextParentMapTest.cpp43 typeLoc(hasParent(typeLoc(hasParent(functionDecl())))))); in TEST()
49 nestedNameSpecifierLoc(hasParent(typeLoc())))); in TEST()
DASTTypeTraitsTest.cpp141 EXPECT_TRUE(Verifier.match("void f() {}", typeLoc(loc(functionType())))); in TEST()
/external/clang/unittests/AST/
DASTContextParentMapTest.cpp41 typeLoc(hasParent(typeLoc(hasParent(functionDecl())))))); in TEST()
47 nestedNameSpecifierLoc(hasParent(typeLoc())))); in TEST()
DASTTypeTraitsTest.cpp142 EXPECT_TRUE(Verifier.match("void f() {}", typeLoc(loc(functionType())))); in TEST()
/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DTypeParser.cpp26 auto typeLoc = parser.getCurrentLocation(); in parseStorageType() local
42 parser.emitError(typeLoc, "illegal storage type prefix"); in parseStorageType()
46 parser.emitError(typeLoc, "expected storage type width"); in parseStorageType()
55 parser.emitError(typeLoc, "illegal storage type size: ") in parseStorageType()
96 auto typeLoc = parser.getCurrentLocation(); in parseExpressedTypeAndRange() local
100 parser.emitError(typeLoc, "expecting float expressed type"); in parseExpressedTypeAndRange()
107 parser.emitError(typeLoc, "calibrated values must be present"); in parseExpressedTypeAndRange()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVDialect.cpp164 llvm::SMLoc typeLoc = parser.getCurrentLocation(); in parseAndVerifyType() local
175 parser.emitError(typeLoc, "cannot use 'bf16' to compose SPIR-V types"); in parseAndVerifyType()
180 parser.emitError(typeLoc, in parseAndVerifyType()
187 parser.emitError(typeLoc, "only 1-D vector allowed but found ") << t; in parseAndVerifyType()
192 typeLoc, "vector length has to be less than or equal to 4 but found ") in parseAndVerifyType()
197 parser.emitError(typeLoc, "cannot use ") in parseAndVerifyType()
208 llvm::SMLoc typeLoc = parser.getCurrentLocation(); in parseAndVerifyMatrixType() local
214 parser.emitError(typeLoc, "only 1-D vector allowed but found ") << t; in parseAndVerifyMatrixType()
218 parser.emitError(typeLoc, in parseAndVerifyMatrixType()
226 parser.emitError(typeLoc, "matrix columns' elements must be of " in parseAndVerifyMatrixType()
[all …]
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DFindAllSymbols.cpp217 typeLoc(isExpansionInMainFile(), in registerMatchers()
223 typeLoc(isExpansionInMainFile(), in registerMatchers()
230 typeLoc(isExpansionInMainFile(), in registerMatchers()
/external/llvm-project/mlir/lib/Parser/
DTypeParser.cpp214 auto typeLoc = getToken().getLoc(); in parseMemRefType() local
222 return emitError(typeLoc, "invalid memref element type"), nullptr; in parseMemRefType()
462 auto typeLoc = getToken().getLoc(); in parseVectorType() local
467 return emitError(typeLoc, "vector elements must be int or float type"), in parseVectorType()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DParseContextBase.cpp631 TTypeLoc typeLoc = {type, loc}; in growGlobalUniformBlock() local
632 globalUniformBlock->getType().getWritableStruct()->push_back(typeLoc); in growGlobalUniformBlock()
692 TTypeLoc typeLoc = {type, loc}; in growAtomicCounterBlock() local
693 atomicCounterBuffer->getType().getWritableStruct()->push_back(typeLoc); in growAtomicCounterBlock()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DAvoidCArraysCheck.cpp47 typeLoc(hasValidBeginLoc(), hasType(arrayType()), in registerMatchers()
DDeprecatedIosBaseAliasesCheck.cpp37 Finder->addMatcher(typeLoc(loc(IoStateType)).bind("TypeLoc"), this); in registerMatchers()
DReplaceAutoPtrCheck.cpp62 Finder->addMatcher(typeLoc(loc(qualType(AutoPtrType, in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DUnusedRaiiCheck.cpp81 match(expr(hasDescendant(typeLoc().bind("t"))), *E, *Result.Context); in check()
DUseAfterMoveCheck.cpp99 return anyOf(hasAncestor(typeLoc()), in inDecltypeOrTemplateArg()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DAvoidConstParamsInDecls.cpp44 has(typeLoc(forEach(ConstParamDecl)))) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DIntegerTypesCheck.cpp61 Finder->addMatcher(typeLoc(loc(isInteger()), in registerMatchers()
DUpgradeGoogletestCaseCheck.cpp191 typeLoc(loc(qualType(typedefType(hasDeclaration(TestCaseTypeAlias)))), in registerMatchers()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseContextBase.cpp632 TTypeLoc typeLoc = {type, loc}; in growGlobalUniformBlock() local
633 globalUniformBlock->getType().getWritableStruct()->push_back(typeLoc); in growGlobalUniformBlock()
/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DDialect.cpp513 llvm::SMLoc typeLoc = parser.getCurrentLocation(); in parseType() local
520 parser.emitError(typeLoc, "element type for a struct must either " in parseType()
/external/llvm-project/clang/unittests/Tooling/
DTransformerTest.cpp503 auto IntToChar = makeRule(typeLoc(loc(qualType(isInteger(), builtinType()))), in TEST_F()
544 makeRule(typeLoc(loc(qualType(isInteger(), builtinType()))).bind("loc"), in TEST_F()
549 typeLoc().bind("parmType"))))), in TEST_F()
646 makeRule(typeLoc(loc(qualType(isInteger(), builtinType()))).bind("loc"), in TEST_F()
652 hasParameter(0, varDecl(hasTypeLoc(typeLoc().bind("parmType"))))), in TEST_F()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DUnnecessaryValueParamCheck.cpp89 has(typeLoc(forEach(ExpensiveValueParamDecl))), in registerMatchers()
/external/deqp-deps/glslang/glslang/Include/
DTypes.h2462 TTypeLoc typeLoc; in deepCopy() local
2463 typeLoc.loc = (*copyOf.structure)[i].loc; in deepCopy()
2464 typeLoc.type = new TType(); in deepCopy()
2465 typeLoc.type->deepCopy(*(*copyOf.structure)[i].type, copiedMap); in deepCopy()
2466 structure->push_back(typeLoc); in deepCopy()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DTypes.h2650 TTypeLoc typeLoc; in deepCopy() local
2651 typeLoc.loc = (*copyOf.structure)[i].loc; in deepCopy()
2652 typeLoc.type = new TType(); in deepCopy()
2653 typeLoc.type->deepCopy(*(*copyOf.structure)[i].type, copiedMap); in deepCopy()
2654 structure->push_back(typeLoc); in deepCopy()
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.cpp439 typeLoc(IsInMovedNs, in registerMatchers()
441 unless(anyOf(hasParent(typeLoc(loc(qualType( in registerMatchers()
472 hasAncestor(typeLoc(loc(qualType(hasDeclaration( in registerMatchers()

12