Searched refs:UD (Results 1 - 21 of 21) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp298 void attachDirective(DiagnosticsEngine &Diags, const UnattachedDirective &UD, argument
304 UD.RegexKind, UD.DirectivePos, ExpectedLoc, MatchAnyFileAndLine,
305 MatchAnyLine, UD.Text, UD.Min, UD.Max);
309 Diags.Report(UD.ContentBegin, diag::err_verify_invalid_content)
310 << (UD.RegexKind ? "regex" : "string") << Error;
313 UD.DL->push_back(std::move(D));
358 for (auto &UD
369 addDirective(StringRef MarkerName, const UnattachedDirective &UD) argument
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DGVNHoist.cpp771 if (auto *UD = dyn_cast<MemoryUseOrDef>(D))
772 if (!firstInBB(UD->getMemoryInst(), NewPt))
818 if (MemoryUseOrDef *UD = MSSA->getMemoryAccess(Insn))
819 if (safeToHoistLdSt(T, Insn, UD, K, NumBBsOnAllPaths))
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclCXX.cpp10910 const ParsedAttributesView &AttrList, UsingDirectiveDecl *&UD) {
11027 UD = UsingDirectiveDecl::Create(Context, Parent,
11034 UD->setImplicit();
11035 Parent->addDecl(UD);
11607 NamedDecl *UD =
11611 if (UD)
11612 PushOnScopeChains(UD, S, /*AddToContext*/ false);
11614 return UD;
11805 UsingDecl *UD,
11823 UD
[all...]
H A DSemaLookup.cpp143 void visit(UsingDirectiveDecl *UD, DeclContext *EffectiveDC) { argument
144 DeclContext *NS = UD->getNominatedNamespace();
148 addUsingDirective(UD, EffectiveDC);
158 for (auto UD : DC->using_directives()) {
159 DeclContext *NS = UD->getNominatedNamespace();
160 if (SemaRef.isVisible(UD) && visited.insert(NS).second) {
161 addUsingDirective(UD, EffectiveDC);
180 void addUsingDirective(UsingDirectiveDecl *UD, DeclContext *EffectiveDC) { argument
183 DeclContext *Common = UD->getNominatedNamespace();
188 list.push_back(UnqualUsingEntry(UD
[all...]
H A DSemaTemplateInstantiateDecl.cpp3187 NamedDecl *UD = SemaRef.BuildUsingDeclaration( local
3192 if (UD)
3193 SemaRef.Context.setInstantiatedFromUsingDecl(UD, D);
3195 return UD;
3210 for (auto *UD : D->expansions()) {
3212 SemaRef.FindInstantiatedDecl(D->getLocation(), UD, TemplateArgs))
H A DSemaDeclAttr.cpp1454 RecordDecl *UD = UT->getDecl(); local
1455 for (const auto *I : UD->fields()) {
H A DTreeTransform.h11965 if (auto *UD = dyn_cast<UsingDecl>(D)) {
11966 for (auto *SD : UD->shadows())
H A DSemaOverload.cpp2046 RecordDecl *UD = UT->getDecl();
2048 for (const auto *it : UD->fields()) {
H A DSemaExpr.cpp9455 RecordDecl *UD = UT->getDecl();
9458 for (auto *it : UD->fields()) {
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DJSONNodeDumper.h236 void VisitUsingDecl(const UsingDecl *UD);
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DJSONNodeDumper.cpp749 void JSONNodeDumper::VisitUsingDecl(const UsingDecl *UD) { argument
751 if (const NestedNameSpecifier *NNS = UD->getQualifier()) {
753 NNS->print(SOS, UD->getASTContext().getPrintingPolicy());
755 Name += UD->getNameAsString();
H A DDecl.cpp1764 if (auto *UD = dyn_cast<UsingDecl>(this)) {
1766 return Context.getCanonicalNestedNameSpecifier(UD->getQualifier()) ==
1816 while (auto *UD = dyn_cast<UsingShadowDecl>(ND))
1817 ND = UD->getTargetDecl();
H A DASTContext.cpp9382 RecordDecl *UD = UT->getDecl(); local
9383 if (UD->hasAttr<TransparentUnionAttr>()) {
9384 for (const auto *I : UD->fields()) {
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.h497 void EmitUsingDirective(const UsingDirectiveDecl &UD);
506 void EmitUsingDecl(const UsingDecl &UD);
H A DCGDebugInfo.cpp4950 void CGDebugInfo::EmitUsingDirective(const UsingDirectiveDecl &UD) { argument
4953 const NamespaceDecl *NSDecl = UD.getNominatedNamespace();
4956 auto Loc = UD.getLocation();
4960 getCurrentContextDescriptor(cast<Decl>(UD.getDeclContext())),
4965 void CGDebugInfo::EmitUsingDecl(const UsingDecl &UD) { argument
4968 assert(UD.shadow_size() &&
4972 const UsingShadowDecl &USD = **UD.shadow_begin();
H A DTargetInfo.cpp193 const RecordDecl *UD = UT->getDecl(); local
194 if (UD->hasAttr<TransparentUnionAttr>()) {
195 assert(!UD->field_empty() && "sema created an empty transparent union");
196 return UD->field_begin()->getType();
H A DCGOpenMPRuntime.cpp3503 RecordDecl *UD = C.buildImplicitRecord("kmp_cmplrdata_t", TTK_Union); local
3504 UD->startDefinition();
3505 addFieldToRecordDecl(C, UD, KmpInt32Ty);
3506 addFieldToRecordDecl(C, UD, KmpRoutineEntryPointerQTy);
3507 UD->completeDefinition();
3508 QualType KmpCmplrdataTy = C.getRecordType(UD);
/netbsd-current/external/apache2/llvm/dist/clang/tools/libclang/
H A DIndexing.cpp281 const MacroDirective *UD) override {}
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp1744 uint32_t UD = Diff; local
1746 uint32_t A = std::min<uint32_t>(R.Align, 1u << countTrailingZeros(UD));
/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDeclCXX.cpp751 Decl *UD = Actions.ActOnUsingDeclaration(getCurScope(), AS, UsingLoc, local
754 if (UD)
755 DeclsInGroup.push_back(UD);
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h5678 bool CheckUsingShadowDecl(UsingDecl *UD, NamedDecl *Target,
5681 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD,
5704 bool CheckInheritingConstructorUsingDecl(UsingDecl *UD);

Completed in 1121 milliseconds