Lines Matching refs:decl
20 #include "clang/AST/Decl.h"
46 static const DeclContext *getEffectiveDeclContext(const Decl *D) {
64 return getEffectiveDeclContext(cast<Decl>(DC));
72 const DeclContext *Parent = getEffectiveDeclContext(cast<Decl>(DC));
87 static const NamedDecl *getStructor(const NamedDecl *decl) {
88 const FunctionDecl *fn = dyn_cast_or_null<FunctionDecl>(decl);
89 return (fn ? getStructor(fn) : decl);
364 // Any decl can be declared with __asm("foo") on it, and this takes precedence
414 // Any decl can be declared with __asm("foo") on it, and this takes precedence
450 // Don't mangle in the type if this isn't a decl we should typically mangle.
502 // isStdNamespace - Return whether a given decl context is a toplevel 'std'
1103 "Typedef should not be in another decl context!");
1152 // If the named decl is the C++ constructor we're mangling, use the type
1163 // If the named decl is the C++ destructor we're mangling, use the type we
1330 if (Decl *Context = Lambda->getLambdaContextDecl()) {
2791 case Decl::ParmVar:
2795 case Decl::EnumConstant: {
2801 case Decl::NonTypeTemplateParm: {
3444 "Invalid mangleName() call on 'structor decl!");