Home
last modified time | relevance | path

Searched refs:TypeSpec (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DQualifiedAutoCheck.cpp164 if (llvm::Optional<SourceRange> TypeSpec = in check() local
166 TypeSpecifier = *TypeSpec; in check()
255 if (llvm::Optional<SourceRange> TypeSpec = in check() local
257 if (TypeSpec->isInvalid() || TypeSpec->getBegin().isMacroID() || in check()
258 TypeSpec->getEnd().isMacroID()) in check()
260 SourceLocation InsertPos = TypeSpec->getBegin(); in check()
277 if (llvm::Optional<SourceRange> TypeSpec = in check() local
279 if (TypeSpec->isInvalid() || TypeSpec->getBegin().isMacroID() || in check()
280 TypeSpec->getEnd().isMacroID()) in check()
282 SourceLocation InsertPos = TypeSpec->getBegin(); in check()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DSveEmitter.cpp46 using TypeSpec = std::string; typedef
67 TypeSpec TS;
73 SVEType() : SVEType(TypeSpec(), 'v') {} in SVEType()
75 SVEType(TypeSpec TS, char CharMod) in SVEType()
149 TypeSpec BaseTypeSpec;
175 uint64_t Flags, ArrayRef<ImmCheck> ImmChecks, TypeSpec BT,
183 TypeSpec getBaseTypeSpec() const { return BaseTypeSpec; } in getBaseTypeSpec()
236 std::string replaceTemplatedArgs(std::string Name, TypeSpec TS,
1016 SmallVector<TypeSpec, 8> TypeSpecs; in createIntrinsic()
1017 TypeSpec Acc; in createIntrinsic()
[all …]
H A DNeonEmitter.cpp118 class TypeSpec : public std::string { class
121 std::vector<TypeSpec> Ret; in fromTypeSpecs()
122 TypeSpec Acc; in fromTypeSpecs()
126 Ret.push_back(TypeSpec(Acc)); in fromTypeSpecs()
143 TypeSpec TS;
167 Type(TypeSpec TS, StringRef CharMods) in Type()
315 TypeSpec OutTS, InTS;
1958 std::vector<TypeSpec> TypeSpecs = TypeSpec::fromTypeSpecs(Types); in createIntrinsic()
1964 std::vector<std::pair<TypeSpec, TypeSpec>> NewTypeSpecs; in createIntrinsic()
1966 std::vector<TypeSpec> ProductTypeSpecs = TypeSpec::fromTypeSpecs(CartesianProductWith); in createIntrinsic()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DNestedNameSpecifier.cpp159 return TypeSpec; in getKind()
227 case TypeSpec: in getDependence()
285 case TypeSpec: { in print()
376 case NestedNameSpecifier::TypeSpec: in getLocalDataLength()
440 case NestedNameSpecifier::TypeSpec: { in getLocalSourceRange()
454 if (Qualifier->getKind() != NestedNameSpecifier::TypeSpec && in getTypeLoc()
651 case NestedNameSpecifier::TypeSpec: in MakeTrivial()
H A DQualTypeNames.cpp241 case NestedNameSpecifier::TypeSpec: in getFullyQualifiedNestedNameSpecifier()
H A DType.cpp2838 TypeWithKeyword::getKeywordForTypeSpec(unsigned TypeSpec) { in getKeywordForTypeSpec() argument
2839 switch (TypeSpec) { in getKeywordForTypeSpec()
2851 TypeWithKeyword::getTagTypeKindForTypeSpec(unsigned TypeSpec) { in getTagTypeKindForTypeSpec() argument
2852 switch(TypeSpec) { in getTagTypeKindForTypeSpec()
H A DODRHash.cpp128 case NestedNameSpecifier::TypeSpec: in AddNestedNameSpecifier()
/llvm-project-15.0.7/libc/utils/LibcTableGenUtil/
H A DAPIIndexer.cpp95 for (llvm::Record *TypeSpec : TypeSpecList) in indexStandardSpecDef()
96 TypeSpecMap[std::string(TypeSpec->getValueAsString("Name"))] = TypeSpec; in indexStandardSpecDef()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-select-type.cpp60 [](const parser::TypeSpec &typeSpec) { in GetGuardType()
81 [&](const parser::TypeSpec &typeSpec) { in PassesChecksOnGuard()
176 return std::holds_alternative<parser::TypeSpec>(guard.u); in IsTypeSpec()
H A Dcheck-allocate.cpp107 std::get<std::optional<parser::TypeSpec>>(allocateStmt.t)}) { in CheckAllocateOptions()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DAbstractBasicWriter.h257 case NestedNameSpecifier::TypeSpec: in writeNestedNameSpecifier()
H A DAbstractBasicReader.h271 case NestedNameSpecifier::TypeSpec: in readNestedNameSpecifier()
H A DNestedNameSpecifier.h90 TypeSpec, enumerator
/llvm-project-15.0.7/flang/lib/Parser/
H A Dtype-parsers.h55 constexpr Parser<TypeSpec> typeSpec; // R702
H A DFortran-parsers.cpp160 construct<TypeSpec>(intrinsicTypeSpec / lookAhead("::"_tok || ")"_tok)) ||
161 construct<TypeSpec>(derivedTypeSpec))
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeuristicResolver.cpp235 case NestedNameSpecifier::TypeSpec: in resolveNestedNameSpecifierToType()
H A DDumpAST.cpp157 NNS_KIND(TypeSpec); in getKind()
H A DFindTarget.cpp484 case NestedNameSpecifier::TypeSpec: in add()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCXX.cpp279 assert((Qual->getKind() == NestedNameSpecifier::TypeSpec) && in BuildAppleKextVirtualCall()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp297 case NestedNameSpecifier::TypeSpec: in indexNestedNameSpecifierLoc()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp150 case NestedNameSpecifier::TypeSpec: in computeDeclContext()
1075 case NestedNameSpecifier::TypeSpec: in ShouldEnterDeclaratorScope()
/llvm-project-15.0.7/flang/include/flang/Parser/
H A Dparse-tree.h723 struct TypeSpec { struct
724 UNION_CLASS_BOILERPLATE(TypeSpec);
1219 AcSpec(std::optional<TypeSpec> &&ts, std::list<AcValue> &&xs) in AcSpec()
1221 explicit AcSpec(TypeSpec &&ts) : type{std::move(ts)} {} in AcSpec()
1222 std::optional<TypeSpec> type;
1925 std::tuple<std::optional<TypeSpec>, std::list<Allocation>,
2413 std::variant<TypeSpec, DerivedTypeSpec, Default> u;
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp141 case NestedNameSpecifier::TypeSpec: { in getFragmentsForNNS()
/llvm-project-15.0.7/flang/lib/Lower/
H A DAllocatable.cpp478 std::get<std::optional<Fortran::parser::TypeSpec>>(stmt.t)) in getIfAllocateStmtTypeSpec()
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp595 NestedNameSpecifier::SpecifierKind::TypeSpec && in run()

12