HomeSort by: relevance | last modified time | path
    Searched refs:NamedDecl (Results 1 - 25 of 238) sorted by relevancy

1 2 3 4 5 6 7 8 910

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclAccessPair.h 10 // efficient representation of a pair of a NamedDecl* and an
25 class NamedDecl;
27 /// A POD class for pairing a NamedDecl* with an access specifier.
35 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) {
41 NamedDecl *getDecl() const {
42 return reinterpret_cast<NamedDecl*>(~Mask & Ptr);
48 void setDecl(NamedDecl *D) {
54 void set(NamedDecl *D, AccessSpecifier AS) {
58 operator NamedDecl*() const { return getDecl(); }
59 NamedDecl *operator->() const { return getDecl();
    [all...]
ASTImporterLookupTable.h 25 class NamedDecl;
53 using DeclList = llvm::SmallSetVector<NamedDecl *, 2>;
57 void add(DeclContext *DC, NamedDecl *ND);
58 void remove(DeclContext *DC, NamedDecl *ND);
64 void add(NamedDecl *ND);
65 void remove(NamedDecl *ND);
UnresolvedSet.h 28 class NamedDecl;
34 std::random_access_iterator_tag, NamedDecl *,
35 std::ptrdiff_t, NamedDecl *, NamedDecl *> {
50 NamedDecl *getDecl() const { return I->getDecl(); }
51 void setDecl(NamedDecl *ND) const { return I->setDecl(ND); }
56 NamedDecl *operator*() const { return getDecl(); }
57 NamedDecl *operator->() const { return **this; }
91 void addDecl(NamedDecl *D) {
95 void addDecl(NamedDecl *D, AccessSpecifier AS)
    [all...]
DeclContextInternals.h 40 /// The stored data, which will be either a pointer to a NamedDecl,
85 void erase(NamedDecl *ND) {
86 erase_if([ND](NamedDecl *D) { return D == ND; });
126 if (NamedDecl *ND = getAsDecl())
133 NamedDecl *getAsDecl() const {
134 return getAsListAndHasExternal().getPointer().dyn_cast<NamedDecl *>();
149 void remove(NamedDecl *D) {
156 erase_if([](NamedDecl *ND) { return ND->isFromASTFile(); });
162 void replaceExternalDecls(ArrayRef<NamedDecl*> Decls) {
165 erase_if([Decls](NamedDecl *ND)
    [all...]
ASTImporterSharedState.h 57 if (auto *ND = dyn_cast<NamedDecl>(D))
63 if (auto *ND = dyn_cast<NamedDecl>(D))
ASTUnresolvedSet.h 26 class NamedDecl;
55 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) {
62 bool replace(const NamedDecl *Old, NamedDecl *New, AccessSpecifier AS) {
110 Impl.addDecl(C, reinterpret_cast<NamedDecl *>(ID << 2), AS);
ASTConcept.h 32 const NamedDecl *ConstraintOwner = nullptr;
39 ConstraintSatisfaction(const NamedDecl *ConstraintOwner,
60 const NamedDecl *ConstraintOwner,
116 NamedDecl *FoundDecl;
128 DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl,
150 NamedDecl *getFoundDecl() const {
176 DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl,
Mangle.h 35 class NamedDecl;
60 llvm::DenseMap<const NamedDecl*, uint64_t> AnonStructIds;
86 uint64_t getAnonymousStructId(const NamedDecl *D) {
87 std::pair<llvm::DenseMap<const NamedDecl *, uint64_t>::iterator, bool>
92 uint64_t getAnonymousStructIdForDebugInfo(const NamedDecl *D) {
93 llvm::DenseMap<const NamedDecl *, uint64_t>::iterator Result =
106 bool shouldMangleDeclName(const NamedDecl *D);
107 virtual bool shouldMangleCXXName(const NamedDecl *D) = 0;
113 virtual bool isUniqueInternalLinkageDecl(const NamedDecl *ND) {
137 const NamedDecl *ID
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/
USRFinder.h 28 class NamedDecl;
32 // Given an AST context and a point, returns a NamedDecl identifying the symbol
34 const NamedDecl *getNamedDeclAt(const ASTContext &Context,
37 // Given an AST context and a fully qualified name, returns a NamedDecl
40 const NamedDecl *getNamedDeclFor(const ASTContext &Context,
USRFindingAction.h 27 class NamedDecl;
38 const NamedDecl *getCanonicalSymbolDeclaration(const NamedDecl *FoundDecl);
41 std::vector<std::string> getUSRsForDeclaration(const NamedDecl *ND,
RenamingAction.h 57 const NamedDecl *getRenameDecl() const;
60 RenameOccurrences(const NamedDecl *ND, std::string NewName)
66 const NamedDecl *ND;
79 QualifiedRenameRule(const NamedDecl *ND,
86 // A NamedDecl which identifies the symbol being renamed.
87 const NamedDecl *ND;
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
IdentifierResolver.h 31 class NamedDecl;
45 using DeclsTy = SmallVector<NamedDecl *, 2>;
50 void AddDecl(NamedDecl *D) { Decls.push_back(D); }
54 void RemoveDecl(NamedDecl *D);
57 void InsertDecl(DeclsTy::iterator Pos, NamedDecl *D) {
73 using value_type = NamedDecl *;
74 using reference = NamedDecl *;
75 using pointer = NamedDecl *;
80 /// 1) A single NamedDecl. (Ptr & 0x1 == 0)
86 /// A single NamedDecl. (Ptr & 0x1 == 0
    [all...]
Lookup.h 281 bool isHiddenDeclarationVisible(NamedDecl *ND) const {
349 static bool isVisible(Sema &SemaRef, NamedDecl *D) {
361 NamedDecl *getAcceptableDecl(NamedDecl *D) const {
372 static bool isVisibleSlow(Sema &SemaRef, NamedDecl *D);
373 NamedDecl *getAcceptableDeclSlow(NamedDecl *D) const;
426 void addDecl(NamedDecl *D) {
432 void addDecl(NamedDecl *D, AccessSpecifier AS) {
517 NamedDecl *getFoundDecl() const
    [all...]
DelayedDiagnostic.h 80 NamedDecl *getTargetDecl() const { return Target; }
116 NamedDecl *Target;
137 const NamedDecl *ReferringDecl,
138 const NamedDecl *OffendingDecl,
177 const NamedDecl *getAvailabilityReferringDecl() const {
182 const NamedDecl *getAvailabilityOffendingDecl() const {
235 const NamedDecl *ReferringDecl;
236 const NamedDecl *OffendingDecl;
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
Lookup.h 23 class NamedDecl;
44 const NamedDecl *FromDecl,
  /src/external/apache2/llvm/dist/clang/lib/AST/
Linkage.h 42 explicit LVComputationKind(NamedDecl::ExplicitVisibilityKind EK)
46 NamedDecl::ExplicitVisibilityKind getExplicitVisibilityKind() const {
47 return static_cast<NamedDecl::ExplicitVisibilityKind>(ExplicitKind);
51 return getExplicitVisibilityKind() == NamedDecl::VisibilityForType;
54 return getExplicitVisibilityKind() == NamedDecl::VisibilityForValue;
59 LVComputationKind Result(NamedDecl::VisibilityForValue);
86 llvm::PointerIntPair<const NamedDecl *,
90 static QueryType makeCacheKey(const NamedDecl *ND, LVComputationKind Kind) {
94 llvm::Optional<LinkageInfo> lookup(const NamedDecl *ND,
102 void cache(const NamedDecl *ND, LVComputationKind Kind, LinkageInfo Info)
    [all...]
ASTImporterLookupTable.cpp 39 bool VisitNamedDecl(NamedDecl *D) {
89 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) {
95 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) {
102 void ASTImporterLookupTable::add(NamedDecl *ND) {
111 void ASTImporterLookupTable::remove(NamedDecl *ND) {
144 for (NamedDecl *ND : List) {
DeclFriend.cpp 40 if (Friend.is<NamedDecl *>()) {
41 const auto *D = Friend.get<NamedDecl*>();
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
ModelInjector.h 34 class NamedDecl;
58 void onBodySynthesis(const NamedDecl *D);
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
USRFinder.cpp 35 // Finds the NamedDecl at a point in the source.
36 // \param Point the location in the source to search for the NamedDecl.
43 bool visitSymbolOccurrence(const NamedDecl *ND,
58 const NamedDecl *getNamedDecl() const { return Result; }
70 const NamedDecl *Result = nullptr;
71 const SourceLocation Point; // The location to find the NamedDecl.
77 const NamedDecl *getNamedDeclAt(const ASTContext &Context,
99 /// Recursively visits each NamedDecl node to find the declaration with a
108 bool VisitNamedDecl(const NamedDecl *ND) {
119 const NamedDecl *getNamedDecl() const { return Result;
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
IdentifierResolver.cpp 74 void IdentifierResolver::IdDeclInfo::RemoveDecl(NamedDecl *D) {
144 void IdentifierResolver::AddDecl(NamedDecl *D) {
161 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr);
169 void IdentifierResolver::InsertDeclAfter(iterator Pos, NamedDecl *D) {
186 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr);
209 void IdentifierResolver::RemoveDecl(NamedDecl *D) {
238 return iterator(static_cast<NamedDecl*>(Ptr));
262 static DeclMatchKind compareDeclarations(NamedDecl *Existing, NamedDecl *New)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Index/
IndexingContext.h 26 class NamedDecl;
78 bool handleReference(const NamedDecl *D, SourceLocation Loc,
79 const NamedDecl *Parent,
102 void indexTypeSourceInfo(TypeSourceInfo *TInfo, const NamedDecl *Parent,
107 void indexTypeLoc(TypeLoc TL, const NamedDecl *Parent,
113 const NamedDecl *Parent,
118 void indexBody(const Stmt *S, const NamedDecl *Parent,
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
InterfaceStubFunctionsConsumer.cpp 38 using MangledSymbols = std::map<const NamedDecl *, MangledSymbol>;
40 bool WriteNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) {
48 auto isVisible = [](const NamedDecl *ND) -> bool {
52 auto ignoreDecl = [this, isVisible](const NamedDecl *ND) -> bool {
84 auto getParentFunctionDecl = [](const NamedDecl *ND) -> const NamedDecl * {
92 auto getMangledNames = [](const NamedDecl *ND) -> std::vector<std::string> {
114 const NamedDecl *ParentDecl = getParentFunctionDecl(ND);
147 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO);
153 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
ThreadSafety.h 28 class NamedDecl;
177 virtual void handleNoMutexHeld(StringRef Kind, const NamedDecl *D,
190 virtual void handleMutexNotHeld(StringRef Kind, const NamedDecl *D,
210 virtual void handleNegativeNotHeld(const NamedDecl *D, Name LockName,
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
ASTUtils.h 70 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode);

Completed in 38 milliseconds

1 2 3 4 5 6 7 8 910