HomeSort by relevance Sort by last modified time
    Searched refs:NamedDecl (Results 51 - 75 of 174) sorted by null

1 23 4 5 6 7

  /external/clang/include/clang/AST/
Decl.h 143 /// NamedDecl - This represents a decl with a name. Many decls have names such
145 class NamedDecl : public Decl {
153 NamedDecl *getUnderlyingDeclImpl() LLVM_READONLY;
156 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N)
210 /// This is the method invoked by Sema when displaying a NamedDecl
228 bool declarationReplaces(NamedDecl *OldD, bool IsKnownNewer = true) const;
319 NamedDecl *getUnderlyingDecl() {
327 const NamedDecl *getUnderlyingDecl() const {
328 return const_cast<NamedDecl*>(this)->getUnderlyingDecl();
331 NamedDecl *getMostRecentDecl()
    [all...]
ASTImporter.h 243 NamedDecl **Decls,
ASTContext.h 304 llvm::DenseMap<NamedDecl*, llvm::TinyPtrVector<Module*>> MergedDefModules;
369 llvm::DenseMap<UsingDecl *, NamedDecl *> InstantiatedFromUsingDecl;
393 llvm::DenseMap<const NamedDecl *, unsigned> MangleNumbers;
795 NamedDecl *getInstantiatedFromUsingDecl(UsingDecl *Inst);
799 void setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern);
832 const NamedDecl *Method,
833 SmallVectorImpl<const NamedDecl *> &Overridden) const;
858 void mergeDefinitionIntoModule(NamedDecl *ND, Module *M,
862 void deduplicateMergedDefinitonsFor(NamedDecl *ND);
866 ArrayRef<Module*> getModulesWithMergedDefinition(NamedDecl *Def)
    [all...]
  /external/clang/lib/Sema/
Sema.cpp 475 SmallVectorImpl<std::pair<NamedDecl *, SourceLocation> > &Undefined) {
476 for (llvm::DenseMap<NamedDecl *, SourceLocation>::iterator
479 NamedDecl *ND = I->first;
507 [&SM](const std::pair<NamedDecl *, SourceLocation> &l,
508 const std::pair<NamedDecl *, SourceLocation> &r) {
526 SmallVector<std::pair<NamedDecl *, SourceLocation>, 16> Undefined;
530 for (SmallVectorImpl<std::pair<NamedDecl *, SourceLocation> >::iterator
532 NamedDecl *ND = I->first;
631 // Friend functions are available through the NamedDecl of FriendDecl.
    [all...]
SemaTemplateVariadic.cpp 245 Name = Unexpanded[I].first.get<NamedDecl *>()->getIdentifier();
527 getDepthAndIndex(NamedDecl *ND) {
562 NamedDecl *ND = i->first.get<NamedDecl *>();
579 i->first.get<NamedDecl *>());
608 if (NamedDecl *PartialPack
663 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>();
670 Unexpanded[I].first.get<NamedDecl *>());
805 NamedDecl *ND = candidate.getCorrectionDecl()
    [all...]
SemaCodeComplete.cpp 49 typedef bool (ResultBuilder::*LookupFilter)(const NamedDecl *) const;
62 typedef std::pair<const NamedDecl *, unsigned> DeclIndexPair;
70 /// \brief Contains either the solitary NamedDecl * or a vector
72 llvm::PointerUnion<const NamedDecl *, DeclIndexPairVector*> DeclOrVector;
81 void Add(const NamedDecl *ND, unsigned Index) {
89 if (const NamedDecl *PrevND =
90 DeclOrVector.dyn_cast<const NamedDecl *>()) {
107 DeclOrVector = ((NamedDecl *)nullptr);
202 unsigned getBasePriority(const NamedDecl *D);
273 bool isInterestingDecl(const NamedDecl *ND
    [all...]
SemaTemplateInstantiate.cpp 52 Sema::getTemplateInstantiationArgs(NamedDecl *D,
206 Decl *Entity, NamedDecl *Template, ArrayRef<TemplateArgument> TemplateArgs,
299 Sema &SemaRef, SourceLocation PointOfInstantiation, NamedDecl *Template,
309 Sema &SemaRef, SourceLocation PointOfInstantiation, NamedDecl *Template,
320 NamedDecl *Param, ArrayRef<TemplateArgument> TemplateArgs,
515 NamedDecl *Parm = cast<NamedDecl>(Active->Entity);
610 getDepthAndIndex(NamedDecl *ND) {
679 if (NamedDecl *PartialPack
698 if (NamedDecl *PartialPac
    [all...]
SemaAccess.cpp 39 bool Sema::SetMemberAccessSpecifier(NamedDecl *MemberDecl,
40 NamedDecl *PrevMemberDecl,
65 static CXXRecordDecl *FindDeclaringClass(NamedDecl *D) {
556 NamedDecl *Friend
557 = cast<NamedDecl>(FriendD->getFriendDecl()->getCanonicalDecl());
    [all...]
SemaTemplateInstantiateDecl.cpp 286 NamedDecl *ND = dyn_cast<NamedDecl>(New);
410 NamedDecl *InstPrev = SemaRef.FindInstantiatedDecl(D->getLocation(), Prev,
683 NamedDecl **NamedChain =
684 new (SemaRef.Context)NamedDecl*[D->getChainingSize()];
688 NamedDecl *Next = SemaRef.FindInstantiatedDecl(D->getLocation(), PI,
739 NamedDecl *ND = D->getFriendDecl();
751 cast<NamedDecl>(NewND), D->getFriendLoc());
780 NamedDecl *Prev = SemaRef.FindInstantiatedDecl(D->getLocation(),
    [all...]
ScopeInfo.cpp 50 static const NamedDecl *getBestPropertyDecl(const ObjCPropertyRefExpr *PropE) {
61 const NamedDecl *D = nullptr;
  /external/clang/include/clang/Sema/
ScopeInfo.h 198 typedef llvm::PointerIntPair<const NamedDecl *, 1, bool> BaseInfoTy;
205 const NamedDecl *Property;
219 const NamedDecl *getBase() const { return Base.getPointer(); }
220 const NamedDecl *getProperty() const { return Property; }
255 typedef std::pair<BaseInfoTy, const NamedDecl *> Pair;
SemaInternal.h 130 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx,
290 void addName(StringRef Name, NamedDecl *ND,
Template.h 229 NamedDecl *PartiallySubstitutedPack;
350 void SetPartiallySubstitutedPack(NamedDecl *Pack,
366 NamedDecl *
  /external/clang/lib/Index/
USRGeneration.cpp 78 void VisitNamedDecl(const NamedDecl *D);
109 bool ShouldGenerateLocation(const NamedDecl *D);
111 bool isLocal(const NamedDecl *D) {
147 /// Emit a Decl's name using NamedDecl::printName() and return true if
149 bool EmitDeclName(const NamedDecl *D);
158 bool USRGenerator::EmitDeclName(const NamedDecl *D) {
165 bool USRGenerator::ShouldGenerateLocation(const NamedDecl *D) {
175 if (const NamedDecl *D = dyn_cast<NamedDecl>(DC))
252 void USRGenerator::VisitNamedDecl(const NamedDecl *D)
    [all...]
  /external/clang/lib/AST/
DeclTemplate.cpp 33 NamedDecl **Params, unsigned NumParams,
39 NamedDecl *P = Params[Idx];
59 SourceLocation LAngleLoc, NamedDecl **Params,
61 void *Mem = C.Allocate(totalSizeToAlloc<NamedDecl *>(NumParams),
102 const NamedDecl *FirstParm = getParam(0);
260 NamedDecl *Decl) {
337 NamedDecl *Decl,
    [all...]
DeclCXX.cpp 43 I.setDecl(cast<NamedDecl>(Source->GetExternalDecl(
574 NamedDecl *Primary =
575 FunTmpl ? cast<NamedDecl>(FunTmpl) : cast<NamedDecl>(Conversion);
577 Conversions.replace(cast<NamedDecl>(Primary->getPreviousDecl()),
    [all...]
ASTImporter.cpp 82 bool ImportDeclParts(NamedDecl *D, DeclContext *&DC,
84 NamedDecl *&ToD, SourceLocation &Loc);
    [all...]
CommentSema.cpp 343 const NamedDecl *Param = TemplateParameters->getParam(0);
    [all...]
NestedNameSpecifier.cpp 140 NamedDecl *ND = static_cast<NamedDecl *>(Specifier);
159 return dyn_cast<NamespaceDecl>(static_cast<NamedDecl *>(Specifier));
167 return dyn_cast<NamespaceAliasDecl>(static_cast<NamedDecl *>(Specifier));
175 return dyn_cast<CXXRecordDecl>(static_cast<NamedDecl *>(Specifier));
  /external/clang/lib/ASTMatchers/
ASTMatchersInternal.cpp 301 bool HasNameMatcher::matchesNodeUnqualified(const NamedDecl &Node) const {
317 bool HasNameMatcher::matchesNodeFull(const NamedDecl &Node) const {
331 bool HasNameMatcher::matchesNode(const NamedDecl &Node) const {
333 // lot of the logic from NamedDecl::printQualifiedName(). The benchmarks do
  /external/clang/lib/Frontend/
ASTMerge.cpp 64 if (const auto *ND = dyn_cast<NamedDecl>(D))
ASTConsumers.cpp 73 if (isa<NamedDecl>(D))
74 return cast<NamedDecl>(D)->getQualifiedNameAsString();
114 bool VisitNamedDecl(NamedDecl *D) {
  /external/clang/lib/StaticAnalyzer/Frontend/
ModelInjector.cpp 40 void ModelInjector::onBodySynthesis(const NamedDecl *D) {
  /external/clang/lib/Serialization/
ASTReaderDecl.cpp 118 static NamedDecl *getAnonymousDeclForMerging(ASTReader &Reader,
122 unsigned Index, NamedDecl *D);
152 NamedDecl *New;
153 NamedDecl *Existing;
166 FindExistingResult(ASTReader &Reader, NamedDecl *New, NamedDecl *Existing,
187 operator NamedDecl*() const { return Existing; }
195 FindExistingResult findExisting(NamedDecl *D);
242 void VisitNamedDecl(NamedDecl *ND);
357 void mergeDefinitionVisibility(NamedDecl *Def, NamedDecl *MergedDef)
    [all...]
  /external/clang/tools/libclang/
CXCursor.cpp 709 CXCursor cxcursor::MakeCursorNamespaceRef(const NamedDecl *NS,
720 std::pair<const NamedDecl *, SourceLocation>
723 return std::make_pair(static_cast<const NamedDecl *>(C.data[0]),
946 const NamedDecl *D = dyn_cast_or_null<NamedDecl>(getCursorDecl(cursor));
951 SmallVector<const NamedDecl *, 8> OverDecls;
954 for (SmallVectorImpl<const NamedDecl *>::iterator
    [all...]

Completed in 469 milliseconds

1 23 4 5 6 7