Searched refs:Existing (Results 1 - 9 of 9) sorted by relevance

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DIdentifierResolver.cpp256 static DeclMatchKind compareDeclarations(NamedDecl *Existing, NamedDecl *New) { argument
258 if (Existing == New)
262 if (Existing->getKind() != New->getKind())
266 if (Existing->getCanonicalDecl() == New->getCanonicalDecl()) {
268 Decl *MostRecent = Existing->getMostRecentDecl();
269 if (Existing == MostRecent)
280 if (*RD == Existing)
H A DSemaDeclAttr.cpp2858 if (NoThrowAttr *Existing = D->getAttr<NoThrowAttr>()) {
2859 if (Existing->getLocation().isInvalid())
2860 Existing->setRange(Attr.getRange());
2869 if (ConstAttr *Existing = D->getAttr<ConstAttr>()) {
2870 if (Existing->getLocation().isInvalid())
2871 Existing->setRange(Attr.getRange());
4337 Attr *Existing; local
4339 Existing = D->getAttr<CFUnknownTransferAttr>();
4341 Existing = D->getAttr<CFAuditedTransferAttr>();
4343 if (Existing) {
[all...]
H A DSemaDeclCXX.cpp9691 CXXBaseSpecifier *&Existing = local
9694 if (Existing && Existing != BI) {
9697 S.Diag(Existing->getLocStart(), diag::note_vbase_moved_here)
9699 Existing->getType()->getAsCXXRecordDecl()->getCanonicalDecl())
9700 << Base << Existing->getType() << Existing->getSourceRange();
9707 Existing = 0;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclTemplate.cpp363 ClassTemplateSpecializationDecl *Existing local
365 (void)Existing;
366 assert(Existing->isCanonicalDecl() && "Non-canonical specialization?");
386 ClassTemplatePartialSpecializationDecl *Existing local
388 (void)Existing;
389 assert(Existing->isCanonicalDecl() && "Non-canonical specialization?");
1031 VarTemplateSpecializationDecl *Existing = local
1033 (void)Existing;
1034 assert(Existing->isCanonicalDecl() && "Non-canonical specialization?");
1052 VarTemplatePartialSpecializationDecl *Existing local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp156 NamedDecl *Existing; member in class:clang::ASTDeclReader::FindExistingResult
163 : Reader(Reader), New(0), Existing(0), AddResult(false) { }
165 FindExistingResult(ASTReader &Reader, NamedDecl *New, NamedDecl *Existing) argument
166 : Reader(Reader), New(New), Existing(Existing), AddResult(true) { }
169 : Reader(Other.Reader), New(Other.New), Existing(Other.Existing),
181 operator NamedDecl*() const { return Existing; }
184 operator T*() const { return dyn_cast_or_null<T>(Existing); }
296 void mergeRedeclarable(Redeclarable<T> *D, T *Existing,
1855 mergeRedeclarable(Redeclarable<T> *D, T *Existing, RedeclarableResult &Redecl) argument
2841 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; local
[all...]
H A DASTReader.cpp274 std::pair<StringRef, bool> Existing = ExistingMacros[MacroName]; local
284 if (Existing.second) {
292 SuggestedPredefines += Existing.first.str();
300 if (Existing.second != Known->second.second) {
310 if (Existing.second || Existing.first == Known->second.first)
316 << MacroName << Known->second.first << Existing.first;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Lex/
H A DPragma.cpp739 if (PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace)) {
740 InsertNS = Existing->getIfNamespace();
767 PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace); local
768 assert(Existing && "Namespace containing handler does not exist!");
770 NS = Existing->getIfNamespace();
H A DModuleMap.cpp1216 if (Module *Existing = Map.lookupModuleQualified(ModuleName, ActiveModule)) {
1217 if (Existing->DefinitionLoc.isInvalid() && !ActiveModule) {
1232 Diags.Report(Existing->DefinitionLoc, diag::note_mmap_prev_definition);
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp709 SDNode *Existing = CSEMap.GetOrInsertNode(N); local
710 if (Existing != N) {
714 ReplaceAllUsesWith(N, Existing);
718 DUL->NodeDeleted(N, Existing);
5074 if (SDNode *Existing = FindModifiedNodeSlot(N, Op, InsertPos))
5075 return Existing;
5099 if (SDNode *Existing = FindModifiedNodeSlot(N, Op1, Op2, InsertPos))
5100 return Existing;
5157 if (SDNode *Existing = FindModifiedNodeSlot(N, Ops, NumOps, InsertPos))
5158 return Existing;
[all...]

Completed in 158 milliseconds