Home
last modified time | relevance | path

Searched refs:TypeName (Results 1 – 25 of 81) sorted by relevance

1234

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Dreplace-disallow-copy-and-assign-macro.cpp29 #define DISALLOW_COPY_AND_ASSIGN(TypeName) argument
39 #define MY_MACRO_NAME(TypeName) argument
49 #define DISALLOW_COPY_AND_ASSIGN_FINALIZE(TypeName) \ argument
50 TypeName(const TypeName &) = delete; \
51 const TypeName &operator=(const TypeName &) = delete;
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dhsa-metadata-images.ll26 ; CHECK: TypeName: image1d_t
30 ; CHECK: TypeName: image1d_array_t
34 ; CHECK: TypeName: image1d_buffer_t
38 ; CHECK: TypeName: image2d_t
42 ; CHECK: TypeName: image2d_array_t
46 ; CHECK: TypeName: image2d_array_depth_t
50 ; CHECK: TypeName: image2d_array_msaa_t
58 ; CHECK: TypeName: image2d_depth_t
62 ; CHECK: TypeName: image2d_msaa_t
66 ; CHECK: TypeName: image2d_msaa_depth_t
[all …]
H A Dhsa-metadata-from-llvm-ir-full.ll32 ; CHECK-NEXT: TypeName: char
67 ; CHECK-NEXT: TypeName: char
101 ; CHECK-NEXT: TypeName: char
107 ; CHECK-NEXT: TypeName: char
183 ; CHECK-NEXT: TypeName: int3
267 ; CHECK-NEXT: TypeName: half8
774 ; CHECK-NEXT: TypeName: int
1012 ; CHECK-NEXT: TypeName: int
1056 ; CHECK-NEXT: TypeName: int
1100 ; CHECK-NEXT: TypeName: int
[all …]
H A Dhsa-metadata-deduce-ro-arg.ll7 ; CHECK-NEXT: TypeName: 'float*'
16 ; CHECK-NEXT: TypeName: 'float*'
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp417 TypeName = getTok().getString(); in maybeParseSectionType()
531 StringRef TypeName; in ParseSectionArguments() local
593 if (TypeName.empty()) { in ParseSectionArguments()
622 if (TypeName.empty()) { in ParseSectionArguments()
636 if (TypeName == "init_array") in ParseSectionArguments()
638 else if (TypeName == "fini_array") in ParseSectionArguments()
642 else if (TypeName == "nobits") in ParseSectionArguments()
644 else if (TypeName == "progbits") in ParseSectionArguments()
646 else if (TypeName == "note") in ParseSectionArguments()
648 else if (TypeName == "unwind") in ParseSectionArguments()
[all …]
H A DWasmAsmParser.cpp241 auto TypeName = Lexer->getTok().getString(); in parseDirectiveType() local
242 if (TypeName == "function") { in parseDirectiveType()
248 } else if (TypeName == "global") in parseDirectiveType()
250 else if (TypeName == "object") in parseDirectiveType()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Duse-auto.rst123 TypeName *my_pointer = new TypeName(my_param);
127 auto *my_pointer = new TypeName(my_param);
140 TypeName *my_first_pointer = new TypeName, *my_second_pointer = new TypeName;
144 auto *my_first_pointer = new TypeName, *my_second_pointer = new TypeName;
156 TypeName *my_pointer = static_cast<TypeName>(my_param);
160 auto *my_pointer = static_cast<TypeName>(my_param);
225 TypeName *my_first_pointer = new TypeName, *my_second_pointer = new TypeName;
229 auto *my_first_pointer = new TypeName, *my_second_pointer = new TypeName;
233 auto my_first_pointer = new TypeName, my_second_pointer = new TypeName;
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_cuda_builtin_vars.h46 #define __CUDA_DISALLOW_BUILTINVAR_ACCESS(TypeName) \ argument
47 __attribute__((device)) TypeName() __DELETE; \
48 __attribute__((device)) TypeName(const TypeName &) __DELETE; \
49 __attribute__((device)) void operator=(const TypeName &) const __DELETE; \
50 __attribute__((device)) TypeName *operator&() const __DELETE
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DDeprecatedIosBaseAliasesCheck.cpp45 StringRef TypeName = Typedef->getName(); in check() local
46 auto Replacement = getReplacementType(TypeName); in check()
59 SourceLocation EndLoc = IoStateLoc.getLocWithOffset(TypeName.size() - 1); in check()
65 << TypeName << FixName; in check()
71 diag(IoStateLoc, "'std::ios_base::%0' is deprecated") << TypeName; in check()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DTypeIndex.cpp95 StringRef TypeName; in printTypeIndex() local
98 TypeName = TypeIndex::simpleTypeName(TI); in printTypeIndex()
100 TypeName = Types.getTypeName(TI); in printTypeIndex()
103 if (!TypeName.empty()) in printTypeIndex()
104 Printer.printHex(FieldName, TypeName, TI.getIndex()); in printTypeIndex()
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_handlers_cxx.cpp61 << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
65 << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
70 << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
77 << DTI.getOffset() << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
78 << TypeName(DTI.getSubobjectTypeName()) in HandleDynamicTypeCacheMiss()
143 << TypeName(DTI.getMostDerivedTypeName()); in __ubsan_handle_cfi_bad_type()
H A Dubsan_diag.h116 class TypeName {
119 TypeName(const char *Name) : Name(Name) {} in TypeName() function
163 Arg(TypeName TN) : Kind(AK_TypeName), String(TN.getName()) {} in Arg()
214 Diag &operator<<(TypeName TN) { return AddArg(TN); }
259 bool IsVptrCheckSuppressed(const char *TypeName);
H A Dubsan_value.h93 char TypeName[1]; variable
110 const char *getTypeName() const { return TypeName; } in getTypeName()
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DTypedefUnderlyingTypeResolver.cpp52 std::string TypeName = Type.getAsString(); in getSymbolReferenceForType() local
59 TypeName = TypeDecl->getName().str(); in getSymbolReferenceForType()
66 return {API.copyString(TypeName), API.copyString(TypeUSR)}; in getSymbolReferenceForType()
/llvm-project-15.0.7/libc/utils/HdrGen/
H A DPublicAPICommand.cpp64 for (auto &TypeName : G.RequiredTypes) { in writeAPIFromIndex() local
65 if (G.TypeSpecMap.find(TypeName) == G.TypeSpecMap.end()) in writeAPIFromIndex()
66 llvm::PrintFatalError(TypeName + " not found in any standard spec.\n"); in writeAPIFromIndex()
67 OS << "#include <llvm-libc-types/" << getTypeHdrName(TypeName) << ".h>\n"; in writeAPIFromIndex()
/llvm-project-15.0.7/clang/lib/AST/
H A DInheritViz.cpp79 std::string TypeName = Type.getAsString(); in WriteNode() local
80 Out << " [ shape=\"box\", label=\"" << llvm::DOT::EscapeString(TypeName); in WriteNode()
85 if (TypeName != CanonType.getAsString()) { in WriteNode()
H A DQualTypeNames.cpp20 namespace TypeName { namespace
223 return TypeName::createNestedNameSpecifier( in getFullyQualifiedNestedNameSpecifier()
230 return TypeName::createNestedNameSpecifier( in getFullyQualifiedNestedNameSpecifier()
252 return TypeName::createNestedNameSpecifier(Ctx, TD, in getFullyQualifiedNestedNameSpecifier()
256 return TypeName::createNestedNameSpecifier(Ctx, TDD->getDecl(), in getFullyQualifiedNestedNameSpecifier()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp159 StringRef TypeName) { in constructOverloadTypeName() argument
161 return TypeName.str(); in constructOverloadTypeName()
164 return (Twine(TypeName) + getOverloadTypeName(Kind)).str(); in constructOverloadTypeName()
179 std::string TypeName = constructOverloadTypeName(Kind, "dx.types.ResRet."); in getResRetType() local
182 return getOrCreateStructType(TypeName, FieldTypes, Ctx); in getResRetType()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DIdentifierNamingCheck.cpp319 std::string TypeName; in getDeclTypeName() local
383 TypeName.append("[]"); in getDeclTypeName()
386 return TypeName; in getDeclTypeName()
516 std::string TypeName = getDeclTypeName(ND); in getPrefix() local
517 if (!TypeName.empty()) in getPrefix()
548 StringRef TypeName, const NamedDecl *ND, in getDataTypePrefix() argument
550 if (!ND || TypeName.empty()) in getDataTypePrefix()
551 return TypeName.str(); in getDataTypePrefix()
553 std::string ModifiedTypeName(TypeName); in getDataTypePrefix()
590 size_t Pos = TypeName.find('*'); in getDataTypePrefix()
[all …]
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDFAEmitter.cpp245 std::string TypeName; member in __anon8900ab900211::CustomDfaEmitter
248 CustomDfaEmitter(const UniqueVector<ActionTuple> &Actions, StringRef TypeName) in CustomDfaEmitter() argument
249 : Actions(Actions), TypeName(TypeName) {} in CustomDfaEmitter()
374 void CustomDfaEmitter::printActionType(raw_ostream &OS) { OS << TypeName; } in printActionType()
/llvm-project-15.0.7/libc/utils/tools/WrapperGen/
H A DMain.cpp129 auto TypeName = Indexer.getTypeAsString(ArgType); in writeFunctionHeader() local
131 if (TypeName.compare("void") == 0) { in writeFunctionHeader()
144 OS << TypeName << " " << ArgPrefix << i; in writeFunctionHeader()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.cpp303 StringRef TypeName; in emitKernelArg() local
306 TypeName = cast<MDString>(Node->getOperand(ArgNo))->getString(); in emitKernelArg()
344 TypeName, BaseTypeName, AccQual, TypeQual); in emitKernelArg()
350 StringRef TypeName, in emitKernelArg() argument
357 Arg.mTypeName = std::string(TypeName); in emitKernelArg()
703 StringRef TypeName; in emitKernelArg() local
706 TypeName = cast<MDString>(Node->getOperand(ArgNo))->getString(); in emitKernelArg()
746 PointeeAlign, Name, TypeName, BaseTypeName, AccQual, TypeQual); in emitKernelArg()
752 StringRef Name, StringRef TypeName, StringRef BaseTypeName, in emitKernelArg() argument
758 if (!TypeName.empty()) in emitKernelArg()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DMoveForwardingReferenceCheck.cpp35 const std::string TypeName = in replaceMoveWithForward() local
41 (llvm::Twine("forward<") + TypeName + ">").str(); in replaceMoveWithForward()
/llvm-project-15.0.7/third-party/benchmark/include/benchmark/
H A Dbenchmark.h202 #define BENCHMARK_DISALLOW_COPY_AND_ASSIGN(TypeName) \ argument
203 TypeName(const TypeName&); \
204 TypeName& operator=(const TypeName&)
206 #define BENCHMARK_DISALLOW_COPY_AND_ASSIGN(TypeName) \ argument
207 TypeName(const TypeName&) = delete; \
208 TypeName& operator=(const TypeName&) = delete
/llvm-project-15.0.7/clang/include/clang/AST/
H A DQualTypeNames.h66 namespace TypeName {

1234