Home
last modified time | relevance | path

Searched refs:newDecl (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteR32fImages.cpp334 TIntermDeclaration *newDecl = new TIntermDeclaration(); in visitDeclaration() local
335 newDecl->appendDeclarator(new TIntermSymbol(newVariable)); in visitDeclaration()
337 queueReplacement(newDecl, OriginalNode::IS_DROPPED); in visitDeclaration()
/external/angle/src/compiler/translator/tree_ops/
DRewriteStructSamplers.cpp539 TIntermDeclaration *newDecl = new TIntermDeclaration(); in extractStructSamplerUniforms() local
540 newDecl->appendDeclarator(new TIntermSymbol(newVariable)); in extractStructSamplerUniforms()
542 newSequence->push_back(newDecl); in extractStructSamplerUniforms()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemTemplateElement.java1130 void addOrReplaceDecls(XMLNSDecl newDecl) in addOrReplaceDecls() argument
1138 if (decl.getPrefix().equals(newDecl.getPrefix())) in addOrReplaceDecls()
1143 m_prefixTable.add(newDecl); in addOrReplaceDecls()
/external/skqp/src/sksl/
DSkSLIRGenerator.cpp740 FunctionDeclaration newDecl(f.fOffset, f.fModifiers, f.fName, parameters, in convertFunction() local
742 fErrors.error(f.fOffset, "functions '" + newDecl.description() + in convertFunction()
768 auto newDecl = std::unique_ptr<FunctionDeclaration>(new FunctionDeclaration(f.fOffset, in convertFunction() local
773 decl = newDecl.get(); in convertFunction()
774 fSymbolTable->add(decl->fName, std::move(newDecl)); in convertFunction()
/external/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp209 ParmVarDecl *newDecl = (*ni); in CheckObjCMethodOverride() local
210 if (newDecl->hasAttr<NSConsumedAttr>() != in CheckObjCMethodOverride()
212 Diag(newDecl->getLocation(), in CheckObjCMethodOverride()
219 diagnoseNoescape(newDecl, oldDecl, *this); in CheckObjCMethodOverride()
DSemaDecl.cpp2969 static void mergeParamDeclAttributes(ParmVarDecl *newDecl, in mergeParamDeclAttributes() argument
2976 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>(); in mergeParamDeclAttributes()
2993 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()
2997 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()
3000 if (!DeclHasAttr(newDecl, I)) { in mergeParamDeclAttributes()
3004 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()
3009 if (!foundAny) newDecl->dropAttrs(); in mergeParamDeclAttributes()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp180 ParmVarDecl *newDecl = (*ni); in CheckObjCMethodOverride() local
181 if (newDecl->hasAttr<NSConsumedAttr>() != in CheckObjCMethodOverride()
183 Diag(newDecl->getLocation(), in CheckObjCMethodOverride()
DSemaDecl.cpp2517 static void mergeParamDeclAttributes(ParmVarDecl *newDecl, in mergeParamDeclAttributes() argument
2524 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>(); in mergeParamDeclAttributes()
2541 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()
2545 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()
2548 if (!DeclHasAttr(newDecl, I)) { in mergeParamDeclAttributes()
2552 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()
2557 if (!foundAny) newDecl->dropAttrs(); in mergeParamDeclAttributes()