Home
last modified time | relevance | path

Searched refs:TDT (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/lib/Basic/
H A DDiagnostic.cpp1072 TemplateDiffTypes TDT; in FormatDiagnostic() local
1073 TDT.FromType = getRawArg(ArgNo); in FormatDiagnostic()
1074 TDT.ToType = getRawArg(ArgNo2); in FormatDiagnostic()
1077 TDT.TemplateDiffUsed = false; in FormatDiagnostic()
1086 TDT.PrintFromType = true; in FormatDiagnostic()
1087 TDT.PrintTree = true; in FormatDiagnostic()
1109 TDT.PrintTree = false; in FormatDiagnostic()
1110 TDT.PrintFromType = true; in FormatDiagnostic()
1116 if (!TDT.TemplateDiffUsed) in FormatDiagnostic()
1124 TDT.PrintFromType = false; in FormatDiagnostic()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DNSAPI.cpp383 const TypedefType *TDT = T->getAs<TypedefType>(); in getNSNumberFactoryMethodKind() local
384 if (TDT) { in getNSNumberFactoryMethodKind()
385 QualType TDTTy = QualType(TDT, 0); in getNSNumberFactoryMethodKind()
519 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in GetNSIntegralKind() local
522 TDT->getDecl()->getDeclName().getAsIdentifierInfo()->getName()) in GetNSIntegralKind()
536 T = TDT->desugar(); in GetNSIntegralKind()
576 while (const TypedefType *TDT = T->getAs<TypedefType>()) { in isObjCTypedef() local
577 if (TDT->getDecl()->getDeclName().getAsIdentifierInfo() == II) in isObjCTypedef()
579 T = TDT->desugar(); in isObjCTypedef()
H A DASTDiagnostic.cpp403 TemplateDiffTypes &TDT = *reinterpret_cast<TemplateDiffTypes*>(Val); in FormatASTNodeDiagnosticArgument() local
405 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.FromType)); in FormatASTNodeDiagnosticArgument()
407 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.ToType)); in FormatASTNodeDiagnosticArgument()
409 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, in FormatASTNodeDiagnosticArgument()
410 TDT.PrintFromType, TDT.ElideType, in FormatASTNodeDiagnosticArgument()
411 TDT.ShowColors, OS)) { in FormatASTNodeDiagnosticArgument()
412 NeedQuotes = !TDT.PrintTree; in FormatASTNodeDiagnosticArgument()
413 TDT.TemplateDiffUsed = true; in FormatASTNodeDiagnosticArgument()
419 if (TDT.PrintTree) in FormatASTNodeDiagnosticArgument()
424 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; in FormatASTNodeDiagnosticArgument()
H A DQualTypeNames.cpp327 if (const auto *TDT = dyn_cast<TypedefType>(TypePtr)) { in createNestedNameSpecifierForScopeOf() local
328 Decl = TDT->getDecl(); in createNestedNameSpecifierForScopeOf()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DAddUsing.cpp303 if (const auto *TDT = in prepare() local
305 MustInsertAfterLoc = TDT->getDecl()->getBeginLoc(); in prepare()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp352 if (const TypedefType *TDT = T->getAs<TypedefType>()) { in CXXBasesListInfo() local
353 BaseD = TDT->getDecl(); in CXXBasesListInfo()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DXRefs.cpp1920 if (const auto* TDT = T->getAs<TypedefType>()) in unwrapFindType() local
1921 return Out.push_back(QualType(TDT, 0)); in unwrapFindType()