/external/clang/lib/Analysis/ |
ThreadSafety.cpp | 112 const NamedDecl* getNamedDecl() const { 114 return reinterpret_cast<const NamedDecl*>(Data); 117 const NamedDecl* getFunctionDecl() const { 119 return reinterpret_cast<const NamedDecl*>(Data); 172 const NamedDecl* AttrDecl; // The decl to which the attribute is attached. 179 CallingContext(const NamedDecl *D) 209 unsigned makeNamedVar(const NamedDecl *D) { 213 unsigned makeLocalVar(const NamedDecl *D) { 221 unsigned makeDot(const NamedDecl *D, bool Arrow) { 225 unsigned makeCall(unsigned NumArgs, const NamedDecl *D) [all...] |
CallGraph.cpp | 203 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(FD)) 224 if (const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(Node->getDecl()))
|
/external/clang/tools/libclang/ |
IndexBody.cpp | 20 const NamedDecl *Parent; 26 const NamedDecl *Parent, const DeclContext *DC) 168 void IndexingContext::indexBody(const Stmt *S, const NamedDecl *Parent,
|
IndexingContext.cpp | 128 const NamedDecl *BaseD = nullptr; 211 if (const NamedDecl *ND = dyn_cast<NamedDecl>(D)) { 309 bool IndexingContext::handleDecl(const NamedDecl *D, 653 bool IndexingContext::handleReference(const NamedDecl *D, SourceLocation Loc, 654 const NamedDecl *Parent, 666 bool IndexingContext::handleReference(const NamedDecl *D, SourceLocation Loc, 668 const NamedDecl *Parent, 756 const NamedDecl *OrigD) { 771 const NamedDecl *BaseD = BaseList.BaseEntities[i].Dcl [all...] |
/external/clang/include/clang/AST/ |
TemplateName.h | 27 class NamedDecl; 98 NamedDecl **getStorage() { 99 return reinterpret_cast<NamedDecl **>(this + 1); 101 NamedDecl * const *getStorage() const { 102 return reinterpret_cast<NamedDecl *const *>(this + 1); 106 typedef NamedDecl *const *iterator;
|
DeclCXX.h | 49 NamedDecl *Function; 51 AnyFunctionDecl(NamedDecl *ND) : Function(ND) { } 59 operator NamedDecl *() const { return Function; } 62 NamedDecl *get() const { return Function; } 64 static AnyFunctionDecl getFromNamedDecl(NamedDecl *ND) { 81 static_cast< ::clang::NamedDecl*>(P)); [all...] |
Decl.h | 103 /// NamedDecl - This represents a decl with a name. Many decls have names such 105 class NamedDecl : public Decl { 113 NamedDecl *getUnderlyingDeclImpl() LLVM_READONLY; 116 NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N) 170 /// This is the method invoked by Sema when displaying a NamedDecl 185 bool declarationReplaces(NamedDecl *OldD) const; 272 NamedDecl *getUnderlyingDecl() { 280 const NamedDecl *getUnderlyingDecl() const { 281 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); 284 NamedDecl *getMostRecentDecl() [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
AnalyzerStatsChecker.cpp | 98 const NamedDecl *ND = cast<NamedDecl>(D);
|
/external/clang/unittests/AST/ |
NamedDeclPrinterTest.cpp | 1 //===- unittests/AST/NamedDeclPrinterTest.cpp --- NamedDecl printer tests -===// 10 // This file contains tests for NamedDecl::printQualifiedName(). 41 const NamedDecl *ND = Result.Nodes.getNodeAs<NamedDecl>("id"); 102 namedDecl(hasName(DeclName)).bind("id"), 114 namedDecl(hasName(DeclName)).bind("id"),
|
/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) { 167 bool USRGenerator::ShouldGenerateLocation(const NamedDecl *D) { 177 if (const NamedDecl *D = dyn_cast<NamedDecl>(DC)) 238 void USRGenerator::VisitNamedDecl(const NamedDecl *D) [all...] |
/external/clang/lib/Sema/ |
SemaCXXScopeSpec.cpp | 251 bool Sema::isAcceptableNestedNameSpecifier(const NamedDecl *SD) { 283 NamedDecl *Sema::FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS) { 301 NamedDecl *Result = Found.getFoundDecl(); 351 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) 419 NamedDecl *ScopeLookupResult, 527 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) 534 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) [all...] |
DelayedDiagnostic.cpp | 25 const NamedDecl *D,
|
CodeCompleteConsumer.cpp | 270 const NamedDecl *ND = dyn_cast<NamedDecl>(DC); 287 if (const NamedDecl *ND = dyn_cast<NamedDecl>(DC)) { 321 OS << cast<NamedDecl>(CurDC)->getName(); 387 const NamedDecl *ND = dyn_cast<NamedDecl>(DC);
|
SemaLookup.cpp | 366 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); 377 llvm::SmallPtrSet<NamedDecl*, 16> Unique; 388 NamedDecl *D = Decls[I]->getUnderlyingDecl(); 389 D = cast<NamedDecl>(D->getCanonicalDecl()); 538 if (NamedDecl *D = S.LazilyCreateBuiltin((IdentifierInfo *)II, 676 NamedDecl *D = *I; 930 if (NamedDecl *ND = R.getAcceptableDecl(*I)) { [all...] |
/external/lldb/include/lldb/Core/ |
ClangForward.h | 79 class NamedDecl;
|
/external/clang/include/clang/Analysis/Analyses/ |
ThreadSafetyCommon.h | 42 void enterCFG(CFG *Cfg, const NamedDecl *D, const CFGBlock *First) {} 99 if (!dyn_cast_or_null<NamedDecl>(AC.getDecl())) 196 const NamedDecl *getDecl() const { 197 return dyn_cast<NamedDecl>(ACtx->getDecl()); 222 const NamedDecl *AttrDecl; // The decl to which the attr is attached. 229 CallingContext(const NamedDecl *D = nullptr, const Expr *S = nullptr, 333 void enterCFG(CFG *Cfg, const NamedDecl *D, const CFGBlock *First);
|
/external/clang/include/clang/Sema/ |
CodeCompleteConsumer.h | 124 QualType getDeclUsageType(ASTContext &C, const NamedDecl *ND); 147 class NamedDecl; 646 const NamedDecl *Declaration; 701 CodeCompletionResult(const NamedDecl *Declaration, 739 const NamedDecl *D = nullptr) 750 CodeCompletionResult(CodeCompletionString *Pattern, NamedDecl *D, 761 const NamedDecl *getDeclaration() const { [all...] |
MultiplexExternalSemaSource.h | 227 llvm::DenseMap<NamedDecl*, SourceLocation> &Undefined) override; 293 SmallVectorImpl<NamedDecl*> &Decls) override;
|
/external/clang/lib/AST/ |
DeclBase.cpp | 201 if (const NamedDecl *DN = dyn_cast_or_null<NamedDecl>(TheDecl)) { 1055 ArrayRef<NamedDecl*> Decls) { 1089 for (ArrayRef<NamedDecl*>::iterator [all...] |
Decl.cpp | 42 // NamedDecl Implementation 101 LVForType = NamedDecl::VisibilityForType, 106 LVForValue = NamedDecl::VisibilityForValue, 143 static Optional<Visibility> getExplicitVisibility(const NamedDecl *D, 147 return D->getExplicitVisibility((NamedDecl::ExplicitVisibilityKind) kind); 152 static bool usesTypeVisibility(const NamedDecl *D) { 193 static Optional<Visibility> getVisibilityOf(const NamedDecl *D, 194 NamedDecl::ExplicitVisibilityKind kind) { 197 if (kind == NamedDecl::VisibilityForType) { 233 for (const NamedDecl *P : *Params) [all...] |
ItaniumMangle.cpp | 101 static const NamedDecl *getStructor(const NamedDecl *decl) { 106 static bool isLambda(const NamedDecl *ND) { 119 llvm::DenseMap<const NamedDecl*, unsigned> Uniquifier; 129 bool shouldMangleCXXName(const NamedDecl *D) override; 133 void mangleCXXName(const NamedDecl *D, raw_ostream &) override; 163 bool getNextDiscriminator(const NamedDecl *ND, unsigned &disc) { 205 const NamedDecl *Structor; 256 const NamedDecl *D = nullptr) 285 void mangle(const NamedDecl *D, StringRef Prefix = "_Z") [all...] |
/external/clang/test/SemaCXX/ |
member-expr.cpp | 49 struct NamedDecl { 53 struct NamespaceDecl : NamedDecl {
|
/external/lldb/include/lldb/Expression/ |
IRForTarget.h | 249 /// Find the NamedDecl corresponding to a Value. This interface is 262 static clang::NamedDecl * 265 clang::NamedDecl *
|
/external/clang/lib/Frontend/ |
ASTMerge.cpp | 62 if (const auto *ND = dyn_cast<NamedDecl>(D))
|
/external/clang/unittests/Frontend/ |
FrontendActionTest.cpp | 55 virtual bool VisitNamedDecl(NamedDecl *Decl) {
|