Lines Matching refs:Name
187 #define LANGOPT(Name, Bits, Default, Description) \
188 if (ExistingLangOpts.Name != LangOpts.Name) { \
191 << Description << LangOpts.Name << ExistingLangOpts.Name; \
195 #define VALUE_LANGOPT(Name, Bits, Default, Description) \
196 if (ExistingLangOpts.Name != LangOpts.Name) { \
203 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
204 if (ExistingLangOpts.get##Name() != LangOpts.get##Name()) { \
211 #define COMPATIBLE_LANGOPT(Name, Bits, Default, Description) \
213 LANGOPT(Name, Bits, Default, Description)
215 #define COMPATIBLE_ENUM_LANGOPT(Name, Bits, Default, Description) \
217 ENUM_LANGOPT(Name, Bits, Default, Description)
219 #define BENIGN_LANGOPT(Name, Bits, Default, Description)
220 #define BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description)
257 #define CHECK_TARGET_OPT(Field, Name) \
261 << Name << TargetOpts.Field << ExistingTargetOpts.Field; \
441 assert(!ModuleName.empty() && "diagnostic options read before module name");
465 // For an #undef'd macro, we only care about the name.
511 // Check whether we know anything about this macro name or not.
849 // name.
861 DeclarationNameKey::DeclarationNameKey(DeclarationName Name)
862 : Kind(Name.getNameKind()) {
865 Data = (uint64_t)Name.getAsIdentifierInfo();
870 Data = (uint64_t)Name.getObjCSelector().getAsOpaquePtr();
873 Data = Name.getCXXOverloadedOperator();
876 Data = (uint64_t)Name.getCXXLiteralIdentifier();
1069 // Extract the file name
1282 const char *Name = Blob.data();
1302 llvm::MemoryBuffer::getMemBuffer(Blob.drop_back(1), Name);
1586 // since 0 is used as an indicator for "no framework name".
1681 StringRef Name;
1689 IdentifierLookupVisitor(StringRef Name, unsigned PriorGeneration,
1692 : Name(Name), NameHash(ASTIdentifierLookupTrait::ComputeHash(Name)),
1714 IdTable->find_hashed(Name, NameHash, &Trait);
2039 /// the file name.
2854 StringRef Name = StringRef((const char*)Data, Len);
2856 ModuleFile *OM = ModuleMgr.lookup(Name);
3255 assert(M->Name == F.ModuleName && "found module with different name");
3377 // Update the module's name visibility.
3909 // Find a module file extension with this block name.
4091 /// \brief Retrieve the name of the original source file name
4463 StringRef Name = Blob;
4482 CurrentModule = ModMap.findOrCreateModule(Name, ParentModule, IsFramework,
4677 #define LANGOPT(Name, Bits, Default, Description) \
4678 LangOpts.Name = Record[Idx++];
4679 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
4680 LangOpts.set##Name(static_cast<LangOptions::Type>(Record[Idx++]));
4682 #define SANITIZER(NAME, ID) \
4729 #define DIAGOPT(Name, Bits, Default) DiagOpts->Name = Record[Idx++];
4730 #define ENUM_DIAGOPT(Name, Type, Bits, Default) \
4731 DiagOpts->set##Name(static_cast<Type>(Record[Idx++]));
4885 IdentifierInfo *Name = nullptr;
4888 Name = getLocalIdentifier(M, Record[1]);
4898 ME = new (PPRec) MacroExpansion(Name, Range);
5093 // Look in the on-disk hash table for an entry for this file name.
5572 const IdentifierInfo *Name = GetIdentifierInfo(*Loc.F, Record, Idx);
5576 return Context.getDependentNameType(Keyword, NNS, Name, Canon);
5583 const IdentifierInfo *Name = GetIdentifierInfo(*Loc.F, Record, Idx);
5589 return Context.getDependentTemplateSpecializationType(Keyword, NNS, Name,
5613 TemplateName Name = ReadTemplateName(*Loc.F, Record, Idx);
5619 T = Context.getCanonicalTemplateSpecializationType(Name, Args.data(),
5622 T = Context.getTemplateSpecializationType(Name, Args.data(),
6234 if (DeclarationName Name = cast<NamedDecl>(D)->getDeclName()) {
6240 auto *II = Name.getAsIdentifierInfo();
6241 assert(II && "non-identifier name in C?");
6245 DC->lookup(Name);
6639 DeclarationName Name) {
6642 if (!Name)
6653 for (DeclID ID : It->second.Table.find(Name)) {
6655 if (ND->getDeclName() == Name)
6660 SetExternalVisibleDeclsForName(DC, Name, Decls);
6850 dumpModuleIDMap(StringRef Name,
6857 llvm::errs() << Name << ":\n";
6956 IdentifierInfo *ASTReader::get(StringRef Name) {
6960 IdentifierLookupVisitor Visitor(Name, /*PriorGeneration=*/0,
6965 // all interesting declarations, and don't need to use the scope for name
6978 if (GlobalIndex->lookupIdentifier(Name, Hits)) {
7367 /// \param DeclIDs the set of declaration IDs with the name @p II that are
7401 // that (unqualified) name lookup will find it.
7662 DeclarationName Name,
7664 switch (Name.getNameKind()) {
7770 llvm_unreachable("Unhandled template name kind!");
7806 TemplateName Name = ReadTemplateName(F, Record, Idx);
7810 return TemplateArgument(Name, NumTemplateExpansions);
8239 // Otherwise, use the name of the top-level module the decl is within.
8463 // look up the name of D in CanonDef here, because the member that is
8464 // in CanonDef might not be found by name lookup (it might have been
8605 void ASTReader::pushExternalDeclIntoScope(NamedDecl *D, DeclarationName Name) {
8606 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) {
8619 if (SemaObj->IdResolver.tryAddTopLevelDecl(D, Name) && SemaObj->TUScope) {
8625 if (std::find(SemaObj->IdResolver.begin(Name),