| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ScanfFormatString.cpp | 240 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType() 249 return ArgType::PtrTo(ArgType(Ctx.LongLongTy, "__int64")); in getArgType() 293 return ArgType::PtrTo(ArgType(Ctx.getSizeType(), "size_t")); in getArgType() 336 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType() 342 return ArgType::PtrTo(ArgType::CStrTy); in getArgType() 345 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType() 359 return ArgType::PtrTo(ArgType(ArgType::WCStrTy, "wchar_t *")); in getArgType() 362 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType() 370 return ArgType::PtrTo(ArgType::CPointerTy); in getArgType() 387 return ArgType::PtrTo(ArgType(Ctx.LongLongTy, "__int64")); in getArgType() [all …]
|
| H A D | PrintfFormatString.cpp | 496 return ArgType(ArgType::WIntTy, "wint_t"); in getScalarArgType() 527 return ArgType::makeSizeT(ArgType(Ctx.getSignedSizeType(), "ssize_t")); in getScalarArgType() 562 return ArgType::makeSizeT(ArgType(Ctx.getSizeType(), "size_t")); in getScalarArgType() 608 return ArgType::PtrTo(ArgType(Ctx.getIntMaxType(), "intmax_t")); in getScalarArgType() 610 return ArgType::PtrTo(ArgType(Ctx.getSignedSizeType(), "ssize_t")); in getScalarArgType() 612 return ArgType::PtrTo(ArgType(Ctx.getPointerDiffType(), "ptrdiff_t")); in getScalarArgType() 633 return ArgType(ArgType::WCStrTy, "wchar_t *"); in getScalarArgType() 636 return ArgType(ArgType::WCStrTy, "wchar_t *"); in getScalarArgType() 637 return ArgType::CStrTy; in getScalarArgType() 645 return ArgType(ArgType::WCStrTy, "wchar_t *"); in getScalarArgType() [all …]
|
| H A D | FormatString.cpp | 19 using clang::analyze_format_string::ArgType; 322 clang::analyze_format_string::ArgType::MatchKind 323 ArgType::matchesType(ASTContext &C, QualType argTy) const { in matchesType() 500 ArgType ArgType::makeVectorType(ASTContext &C, unsigned NumElts) const { in makeVectorType() 503 return ArgType::Invalid(); in makeVectorType() 506 return ArgType(Vec, Name); in makeVectorType() 509 QualType ArgType::getRepresentativeType(ASTContext &C) const { in getRepresentativeType() 545 std::string ArgType::getRepresentativeTypeName(ASTContext &C) const { in getRepresentativeTypeName() 571 ArgType
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | SuspiciousCallArgumentCheck.cpp | 306 ArgType.getNonReferenceType()); in areRefAndQualCompatible() 317 if (!ArgType->isArrayType()) in isCompatibleWithArrayReference() 370 ArgType = convertToPointeeOrArrayElementQualType(ArgType); in arePointerTypesCompatible() 390 if (ArgType.isNull() || ParamType.isNull()) in areTypesCompatible() 393 ArgType = ArgType.getCanonicalType(); in areTypesCompatible() 396 if (ArgType == ParamType) in areTypesCompatible() 407 ArgType = ArgType.getNonReferenceType(); in areTypesCompatible() 417 (ArgType->isEnumeralType() && in areTypesCompatible() 428 return ArgType == ParamType; in areTypesCompatible() 444 ArgType = convertToPointeeOrArrayElementQualType(ArgType); in areTypesCompatible() [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Opcodes.td | 34 class ArgType { string Name = ?; } 35 def ArgSint8 : ArgType { let Name = "int8_t"; } 36 def ArgUint8 : ArgType { let Name = "uint8_t"; } 37 def ArgSint16 : ArgType { let Name = "int16_t"; } 38 def ArgUint16 : ArgType { let Name = "uint16_t"; } 39 def ArgSint32 : ArgType { let Name = "int32_t"; } 40 def ArgUint32 : ArgType { let Name = "uint32_t"; } 41 def ArgSint64 : ArgType { let Name = "int64_t"; } 42 def ArgUint64 : ArgType { let Name = "uint64_t"; } 43 def ArgBool : ArgType { let Name = "bool"; } [all …]
|
| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/function.objects/func.require/ |
| H A D | bullet_1_2_3.pass.cpp | 77 F(ArgType&) 78 F(ArgType&, ...) 79 F(ArgType&, ArgType&) 80 F(ArgType&, ArgType&, ...) 81 F(ArgType&, ArgType&, ArgType&) 82 F(ArgType&, ArgType&, ArgType&, ...) 111 F(ArgType&&) 113 F(ArgType&&, ArgType&&) 114 F(ArgType&&, ArgType&&, ...) 115 F(ArgType&&, ArgType&&, ArgType&&) [all …]
|
| H A D | invoke_helpers.h | 122 struct ArgType { struct 124 explicit ArgType(int val = 0) : value(val) {} in value() argument 126 ArgType(ArgType const&); 127 ArgType& operator=(ArgType const&); argument 270 ArgType a0, a1, a2;
|
| H A D | bullet_4_5_6.pass.cpp | 202 TestCase<ArgType>::run(); in main() 203 TestCase<ArgType const>::run(); in main() 204 TestCase<ArgType volatile>::run(); in main() 205 TestCase<ArgType const volatile>::run(); in main() 206 TestCase<ArgType*>::run(); in main()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIAFrameData.cpp | 18 template <typename ArgType> 19 ArgType 21 HRESULT (__stdcall IDiaFrameData::*Method)(ArgType *)) { in PrivateGetDIAValue() argument 22 ArgType Value; in PrivateGetDIAValue() 24 return static_cast<ArgType>(Value); in PrivateGetDIAValue() 26 return ArgType(); in PrivateGetDIAValue()
|
| H A D | DIASectionContrib.cpp | 30 template <typename ArgType> 31 ArgType 33 HRESULT (__stdcall IDiaSectionContrib::*Method)(ArgType *)) { in PrivateGetDIAValue() argument 34 ArgType Value; in PrivateGetDIAValue() 36 return static_cast<ArgType>(Value); in PrivateGetDIAValue() 38 return ArgType(); in PrivateGetDIAValue()
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-expr-3.cpp | 94 template<typename ArgType> 100 (void)__builtin_va_arg(va, ArgType); in f() 107 template<typename VaList, typename ArgType> 113 (void)__builtin_va_arg(va, ArgType); // expected-error{{int}} in f() 122 template<typename ArgType> 128 (void)__builtin_va_arg(va, ArgType); in f() 135 template<typename VaList, typename ArgType> 141 (void)__builtin_va_arg(va, ArgType); // expected-error{{int}} in f()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 211 Type *ArgType = Arg->getType(); in lowerPrintfForGpu() local 212 unsigned ArgSize = TD->getTypeAllocSizeInBits(ArgType); in lowerPrintfForGpu() 233 ArgType = Arg->getType(); in lowerPrintfForGpu() 234 ArgSize = TD->getTypeAllocSizeInBits(ArgType); in lowerPrintfForGpu() 397 Type *ArgType = Arg->getType(); in lowerPrintfForGpu() local 399 if (ArgType->isFPOrFPVectorTy() && !isa<VectorType>(ArgType)) { in lowerPrintfForGpu() 466 } else if (isa<FixedVectorType>(ArgType)) { in lowerPrintfForGpu() 469 uint32_t EleSize = ArgType->getScalarSizeInBits(); in lowerPrintfForGpu() 476 ArgType = Arg->getType(); in lowerPrintfForGpu() 482 IType = Type::getInt64Ty(ArgType->getContext()); in lowerPrintfForGpu() [all …]
|
| H A D | AMDGPULibFunc.cpp | 386 P.ArgType = AMDGPULibFunc::U32; break; in getNextParam() 394 P.ArgType = AMDGPULibFunc::U64; break; in getNextParam() 431 P.ArgType |= AMDGPULibFunc::UINT; in getNextParam() 435 switch (P.ArgType) { in getNextParam() 444 P.ArgType = AMDGPULibFunc::I32; in getNextParam() 644 res.ArgType = Prev.ArgType; in parseItaniumParam() 649 if (res.ArgType == 0) return false; in parseItaniumParam() 651 Prev.ArgType = res.ArgType; in parseItaniumParam() 791 P.ArgType == T.ArgType) { in findSubst() 852 if (Ptr.ArgType) Str.push_back(Ptr); in operator ()() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | FormatString.h | 249 class ArgType { 286 static ArgType Invalid() { return ArgType(InvalidTy); } in Invalid() 294 static ArgType PtrTo(const ArgType& A) { in PtrTo() 296 ArgType Res = A; in PtrTo() 302 static ArgType makeSizeT(const ArgType &A) { in makeSizeT() 303 ArgType Res = A; in makeSizeT() 310 static ArgType makePtrdiffT(const ArgType &A) { in makePtrdiffT() 311 ArgType Res = A; in makePtrdiffT() 374 ArgType getArgType(ASTContext &Ctx) const; 495 using analyze_format_string::ArgType; [all …]
|
| /llvm-project-15.0.7/lldb/utils/TableGen/ |
| H A D | LLDBOptionDefEmitter.cpp | 31 std::string ArgType; member 61 ArgType = A->getValue()->getAsUnquotedString(); in CommandOption() 98 if (!O.ArgType.empty()) { in emitOption() 113 if (!O.ArgType.empty()) in emitOption() 114 OS << "g_argument_table[eArgType" << O.ArgType << "].enum_values"; in emitOption() 132 if (!O.ArgType.empty()) { in emitOption() 133 OS << O.ArgType; in emitOption()
|
| /llvm-project-15.0.7/lld/test/COFF/Inputs/ |
| H A D | pdb-global-constants-b.s | 189 # ArgType: C:\src\testing (0x1004) 190 # ArgType: 0x0 191 # ArgType: t2.cpp (0x1005) 192 # ArgType: 0x0 193 # ArgType: 0x0
|
| H A D | pdb-global-constants-a.s | 199 # ArgType: C:\src\testing (0x1004) 200 # ArgType: 0x0 201 # ArgType: t.cpp (0x1005) 202 # ArgType: 0x0 203 # ArgType: 0x0
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | destructors.cpp | 443 struct ArgType { struct 444 ~ArgType(); 447 void f1(const ArgType& = ArgType());
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/mpi/ |
| H A D | BufferDerefCheck.cpp | 54 const Type *ArgType = ArgExpr->IgnoreImpCasts()->getType().getTypePtr(); in check() local 55 if (!ArgType) in check() 58 BufferTypes.push_back(ArgType); in check()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedCallArgsChecker.cpp | 83 const auto *ArgType = (*P)->getType().getTypePtrOrNull(); in visitCallExpr() local 84 if (!ArgType) in visitCallExpr() 88 Optional<bool> IsUncounted = isUncountedPtr(ArgType); in visitCallExpr()
|
| H A D | UncountedLocalVarsChecker.cpp | 168 const auto *ArgType = V->getType().getTypePtr(); in visitVarDecl() local 169 if (!ArgType) in visitVarDecl() 172 Optional<bool> IsUncountedPtr = isUncountedPtr(ArgType); in visitVarDecl()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixFunctionBitcasts.cpp | 135 Type *ArgType = AI->getType(); in createWrapper() local 138 if (ArgType == ParamType) { in createWrapper() 141 if (CastInst::isBitOrNoopPointerCastable(ArgType, ParamType, DL)) { in createWrapper() 146 } else if (ArgType->isStructTy() || ParamType->isStructTy()) { in createWrapper() 154 << *ParamType << " Got: " << *ArgType << "\n"); in createWrapper()
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | s_udt.s | 292 # ArgType: int (0x74) 293 # ArgType: char** (0x1000) 460 # ArgType: D:\\src\\llvmbuild\\cl\\Debug\\x64 (0x100A) 461 # ArgType: 0x0 462 # ArgType: foo.cpp (0x100B) 463 # ArgType: 0x0 464 # ArgType: 0x0
|
| H A D | pdb-inlinees.s | 316 # ArgType: C:\src\llvm-project\build (0x1007) 317 # ArgType: 0x0 318 # ArgType: t.c (0x1008) 319 # ArgType: 0x0 320 # ArgType: 0x0
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 1197 RecTy *ArgType = nullptr; in ParseOperation() local 1204 ArgType = DagRecTy::get(Records); in ParseOperation() 1216 ArgType = IntRecTy::get(Records); in ParseOperation() 1229 ArgType = ItemType; in ParseOperation() 1236 ArgType = StringRecTy::get(Records); in ParseOperation() 1272 if (!ArgType) { in ParseOperation() 1274 ArgType = ListType; in ParseOperation() 1278 if (!isa<ListRecTy>(ArgType)) { in ParseOperation() 1375 ArgType = Resolved; in ParseOperation() 1401 Type = ArgType; in ParseOperation() [all …]
|