HomeSort by relevance Sort by last modified time
    Searched defs:Decl (Results 1 - 16 of 16) sorted by null

  /external/clang/lib/AST/
InheritViz.cpp 17 #include "clang/AST/Decl.h"
92 const CXXRecordDecl *Decl
94 for (CXXRecordDecl::base_class_const_iterator Base = Decl->bases_begin();
95 Base != Decl->bases_end(); ++Base) {
DeclBase.cpp 10 // This file implements the Decl and DeclContext classes.
15 #include "clang/AST/Decl.h"
38 #define DECL(DERIVED, BASE) static int n##DERIVED##s = 0;
39 #define ABSTRACT_DECL(DECL)
44 const char *Decl::getDeclKindName() const {
47 #define DECL(DERIVED, BASE) case DERIVED: return #DERIVED;
48 #define ABSTRACT_DECL(DECL)
53 void Decl::setInvalidDecl(bool Invalid) {
66 #define DECL(DERIVED, BASE) case Decl::DERIVED: return #DERIVED
    [all...]
ExprConstant.cpp 168 // be true, but if it'a decl-ref to a weak symbol it can be null at
177 const ValueDecl* Decl = DeclRef->getDecl();
178 if (Decl->hasAttr<WeakAttr>() ||
179 Decl->hasAttr<WeakRefAttr>() ||
180 Decl->isWeakImported())
474 const Decl *PrevDecl;
    [all...]
ASTContext.cpp 282 for (llvm::DenseMap<const Decl*, AttrVec*>::iterator A = DeclAttrs.begin(),
498 AttrVec& ASTContext::getDeclAttrs(const Decl *D) {
509 void ASTContext::eraseDeclAttrs(const Decl *D) {
510 llvm::DenseMap<const Decl*, AttrVec*>::iterator Pos = DeclAttrs.find(D);
573 "pattern decl is not a using decl");
606 assert(!Inst->getDeclName() && "Instantiated field decl is not unnamed");
607 assert(!Tmpl->getDeclName() && "Template field decl is not unnamed");
700 /// specified decl. Note that bitfields do not have a valid alignment, so
704 CharUnits ASTContext::getDeclAlign(const Decl *D, bool RefAsPointee) const
    [all...]
  /external/clang/include/clang/Sema/
DelayedDiagnostic.h 163 return DeprecationData.Decl;
195 const NamedDecl *Decl;
  /external/clang/lib/Parse/
ParseTemplate.cpp 26 Decl *
79 Decl *
137 SmallVector<Decl*, 4> TemplateParams;
190 Decl *
226 Decl *Decl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS, DS);
227 DS.complete(Decl);
228 return Decl;
246 Decl *ThisDecl = ParseDeclarationAfterDeclarator(DeclaratorInfo,
299 SmallVectorImpl<Decl*> &TemplateParams
    [all...]
ParseStmt.cpp 211 DeclGroupPtrTy Decl = ParseDeclaration(Stmts, Declarator::BlockContext,
213 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd);
723 SmallVector<Decl *, 8> DeclsInGroup;
779 // FIXME: Save the __extension__ on the decl as a node somehow?
834 Decl *&DeclResult,
906 Decl *CondVar = 0;
    [all...]
  /external/clang/lib/CodeGen/
CGExprConstant.cpp 871 ValueDecl *Decl = cast<DeclRefExpr>(E)->getDecl();
872 if (Decl->hasAttr<WeakRefAttr>())
873 return CGM.GetWeakRefReference(Decl);
874 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(Decl))
876 if (const VarDecl* VD = dyn_cast<VarDecl>(Decl)) {
1100 const ValueDecl *decl = cast<DeclRefExpr>(uo->getSubExpr())->getDecl(); local
    [all...]
  /external/clang/include/clang/AST/
DeclBase.h 10 // This file defines the Decl and DeclContext interfaces.
74 /// Decl - This represents one declaration (or definition), e.g. a variable,
77 class Decl {
79 /// \brief Lists the kind of concrete classes of Decl.
81 #define DECL(DERIVED, BASE) DERIVED,
82 #define ABSTRACT_DECL(DECL)
91 /// decl-derived type that will be filled in later (e.g., by some
105 /// Decl currently provides 15 bits of IDNS bits.
187 Decl *NextDeclInContext;
199 /// the DeclContext where the Decl was declared
    [all...]
Type.h 3039 TagDecl * decl; member in class:clang::FunctionType::ExtInfo::FunctionProtoType::TagType
    [all...]
  /external/clang/lib/Sema/
SemaStmt.cpp 58 // If we have an invalid decl, just return an error.
67 // If we have an invalid decl, just return.
177 if (const Decl *FD = CE->getCalleeDecl()) {
235 // Note that __extension__ can be around a decl.
246 Decl *D = *cast<DeclStmt>(Elts[i])->decl_begin();
335 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar,
479 Decl *CondVar) {
    [all...]
SemaTemplate.cpp 423 bool Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) {
439 /// AdjustDeclIfTemplate - If the given decl happens to be a template, reset
442 TemplateDecl *Sema::AdjustDeclIfTemplate(Decl *&D) {
515 Decl *Sema::ActOnTypeParameter(Scope *S, bool Typename, bool Ellipsis,
638 Decl *Sema::ActOnNonTypeTemplateParameter(Scope *S, Declarator &D,
715 Decl *Sema::ActOnTemplateTemplateParameter(Scope* S,
793 Decl **Params, unsigned NumParams,
    [all...]
SemaDeclCXX.cpp 77 NamedDecl *Decl = DRE->getDecl();
78 if (ParmVarDecl *Param = dyn_cast<ParmVarDecl>(Decl)) {
90 } else if (VarDecl *VDecl = dyn_cast<VarDecl>(Decl)) {
132 // FIXME: If the call to this decl is using any of its default arguments, we
261 Sema::ActOnParamDefaultArgument(Decl *param, SourceLocation EqualLoc,
297 void Sema::ActOnParamUnparsedDefaultArgument(Decl *param,
312 void Sema::ActOnParamDefaultArgumentError(Decl *param) {
747 case Decl::StaticAssert:
748 case Decl::Using:
749 case Decl::UsingShadow
    [all...]
SemaOverload.cpp 632 // it does return false, MatchedDecl will point to the decl that New
633 // cannot be overloaded with. This decl may be a UsingShadowDecl on
714 // Optimistically assume that an unresolved using decl will
832 return FD->isUnavailable() && !cast<Decl>(CurContext)->isUnavailable();
    [all...]
  /external/clang/lib/Serialization/
ASTReader.cpp     [all...]
  /cts/tools/signature-tools/lib/
stringtemplate.jar 

Completed in 2569 milliseconds