Home
last modified time | relevance | path

Searched refs:IdentifierInfo (Results 1 – 25 of 181) sorted by relevance

12345678

/external/clang/include/clang/Basic/
DIdentifierTable.h34 class IdentifierInfo; variable
41 typedef std::pair<IdentifierInfo*, SourceLocation> IdentifierLocPair;
49 class IdentifierInfo {
75 llvm::StringMapEntry<IdentifierInfo*> *Entry;
77 IdentifierInfo(const IdentifierInfo&); // NONCOPYABLE.
78 void operator=(const IdentifierInfo&); // NONASSIGNABLE.
83 IdentifierInfo();
103 typedef std::pair<IdentifierInfo, const char*> actualtype; in getNameStart()
116 typedef std::pair<IdentifierInfo, const char*> actualtype; in getLength()
320 IdentifierInfo *const II;
[all …]
/external/clang/include/clang/Sema/
DAttributeList.h26 class IdentifierInfo; variable
56 IdentifierInfo *AttrName;
57 IdentifierInfo *ScopeName;
58 IdentifierInfo *ParmName;
122 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList()
123 IdentifierInfo *scopeName, SourceLocation scopeLoc, in AttributeList()
124 IdentifierInfo *parmName, SourceLocation parmLoc, in AttributeList()
137 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList()
138 IdentifierInfo *scopeName, SourceLocation scopeLoc, in AttributeList()
139 IdentifierInfo *parmName, SourceLocation parmLoc, in AttributeList()
[all …]
DWeak.h22 class IdentifierInfo; variable
26 IdentifierInfo *alias; // alias (optional)
32 WeakInfo(IdentifierInfo *Alias, SourceLocation Loc) in WeakInfo()
34 inline IdentifierInfo * getAlias() const { return alias; } in getAlias()
DSema.h477 llvm::DenseMap<IdentifierInfo*,WeakInfo> WeakUndeclaredIdentifiers;
483 llvm::DenseMap<IdentifierInfo*,AsmLabelAttr*> ExtnameUndeclaredIdentifiers;
995 ParsedType getTypeName(IdentifierInfo &II, SourceLocation NameLoc,
1002 IdentifierInfo **CorrectedII = 0);
1003 TypeSpecifierType isTagName(IdentifierInfo &II, Scope *S);
1005 bool DiagnoseUnknownTypeName(const IdentifierInfo &II,
1029 const IdentifierInfo *Keyword;
1038 NameClassification(const IdentifierInfo *Keyword) in NameClassification()
1108 IdentifierInfo *&Name,
1163 SourceLocation NameLoc, IdentifierInfo *Name,
[all …]
DDeclSpec.h40 class IdentifierInfo; variable
104 void Extend(ASTContext &Context, IdentifierInfo *Identifier,
746 const IdentifierInfo *getGetterName() const { return GetterName; } in getGetterName()
747 IdentifierInfo *getGetterName() { return GetterName; } in getGetterName()
748 void setGetterName(IdentifierInfo *name) { GetterName = name; } in setGetterName()
750 const IdentifierInfo *getSetterName() const { return SetterName; } in getSetterName()
751 IdentifierInfo *getSetterName() { return SetterName; } in getSetterName()
752 void setSetterName(IdentifierInfo *name) { SetterName = name; } in setSetterName()
762 IdentifierInfo *GetterName; // getter name of NULL if no getter
763 IdentifierInfo *SetterName; // setter name of NULL if no setter
[all …]
/external/clang/include/clang/Lex/
DPreprocessor.h86 IdentifierInfo *Ident__LINE__, *Ident__FILE__; // __LINE__, __FILE__
87 IdentifierInfo *Ident__DATE__, *Ident__TIME__; // __DATE__, __TIME__
88 IdentifierInfo *Ident__INCLUDE_LEVEL__; // __INCLUDE_LEVEL__
89 IdentifierInfo *Ident__BASE_FILE__; // __BASE_FILE__
90 IdentifierInfo *Ident__TIMESTAMP__; // __TIMESTAMP__
91 IdentifierInfo *Ident__COUNTER__; // __COUNTER__
92 IdentifierInfo *Ident_Pragma, *Ident__pragma; // _Pragma, __pragma
93 IdentifierInfo *Ident__VA_ARGS__; // __VA_ARGS__
94 IdentifierInfo *Ident__has_feature; // __has_feature
95 IdentifierInfo *Ident__has_extension; // __has_extension
[all …]
DPTHManager.h47 IdentifierInfo** PerIDCache;
80 const unsigned char* idDataTable, IdentifierInfo** perIDCache,
94 inline IdentifierInfo* GetIdentifierInfo(unsigned PersistentID) { in GetIdentifierInfo()
96 if (IdentifierInfo* II = PerIDCache[PersistentID]) in GetIdentifierInfo()
100 IdentifierInfo* LazilyCreateIdentifierInfo(unsigned PersistentID);
118 IdentifierInfo *get(StringRef Name);
DMultipleIncludeOpt.h18 class IdentifierInfo; variable
42 const IdentifierInfo *TheMacro;
79 void EnterTopLevelIFNDEF(const IdentifierInfo *M) { in EnterTopLevelIFNDEF()
119 const IdentifierInfo *GetControllingMacroAtEndOfFile() const { in GetControllingMacroAtEndOfFile()
DMacroInfo.h39 IdentifierInfo **ArgumentList;
173 void setArgumentList(IdentifierInfo* const *List, unsigned NumArgs, in setArgumentList()
180 ArgumentList = PPAllocator.Allocate<IdentifierInfo*>(NumArgs); in setArgumentList()
187 typedef IdentifierInfo* const *arg_iterator;
195 int getArgumentNum(IdentifierInfo *Arg) const { in getArgumentNum()
DPreprocessingRecord.h28 class IdentifierInfo; variable
142 const IdentifierInfo *Name;
145 explicit MacroDefinition(const IdentifierInfo *Name, SourceRange Range) in MacroDefinition()
149 const IdentifierInfo *getName() const { return Name; } in getName()
165 llvm::PointerUnion<IdentifierInfo *, MacroDefinition *> NameOrDef;
168 MacroExpansion(IdentifierInfo *BuiltinName, SourceRange Range) in MacroExpansion()
177 bool isBuiltinMacro() const { return NameOrDef.is<IdentifierInfo *>(); } in isBuiltinMacro()
180 const IdentifierInfo *getName() const { in getName()
183 return NameOrDef.get<IdentifierInfo*>(); in getName()
DExternalPreprocessorSource.h32 virtual void LoadMacroDefinition(IdentifierInfo *II) = 0;
35 virtual void updateOutOfDateIdentifier(IdentifierInfo &II) = 0;
/external/clang/lib/Basic/
DIdentifierTable.cpp31 IdentifierInfo::IdentifierInfo() { in IdentifierInfo() function in IdentifierInfo
142 IdentifierInfo &Info = in AddKeyword()
153 IdentifierInfo &Info = Table.get(Keyword, TokenCode); in AddCXXOperatorKeyword()
192 tok::PPKeywordKind IdentifierInfo::getPPKeywordID() const { in getPPKeywordID()
257 for (llvm::StringMap<IdentifierInfo*, llvm::BumpPtrAllocator>::const_iterator in PrintStats()
298 MultiKeywordSelector(unsigned nKeys, IdentifierInfo **IIV) { in MultiKeywordSelector()
303 IdentifierInfo **KeyInfo = reinterpret_cast<IdentifierInfo **>(this+1); in MultiKeywordSelector()
313 typedef IdentifierInfo *const *keyword_iterator;
320 IdentifierInfo *getIdentifierInfoForSlot(unsigned i) const { in getIdentifierInfoForSlot()
347 IdentifierInfo *Selector::getIdentifierInfoForSlot(unsigned argIndex) const { in getIdentifierInfoForSlot()
[all …]
/external/clang/include/clang/AST/
DDeclObjC.h446 IdentifierInfo *Id, SourceLocation nameLoc, in ObjCContainerDecl()
496 ObjCIvarDecl *getIvarDecl(IdentifierInfo *Id) const;
498 ObjCPropertyDecl *FindPropertyDeclaration(IdentifierInfo *PropertyId) const;
602 ObjCInterfaceDecl(DeclContext *DC, SourceLocation atLoc, IdentifierInfo *Id,
634 IdentifierInfo *Id,
664 ObjCCategoryDecl *FindCategoryDeclaration(IdentifierInfo *CategoryId) const;
854 *FindPropertyVisibleInPrimaryClass(IdentifierInfo *PropertyId) const;
894 ObjCIvarDecl *lookupInstanceVariable(IdentifierInfo *IVarName,
896 ObjCIvarDecl *lookupInstanceVariable(IdentifierInfo *IVarName) { in lookupInstanceVariable()
913 ObjCInterfaceDecl *lookupInheritedClass(const IdentifierInfo *ICName);
[all …]
DNestedNameSpecifier.h27 class IdentifierInfo; variable
116 IdentifierInfo *II);
140 IdentifierInfo *II);
160 IdentifierInfo *getAsIdentifier() const { in getAsIdentifier()
162 return (IdentifierInfo *)Specifier; in getAsIdentifier()
384 void Extend(ASTContext &Context, IdentifierInfo *Identifier,
DDeclarationName.h31 class IdentifierInfo; variable
165 DeclarationName(const IdentifierInfo *II) in DeclarationName()
180 (reinterpret_cast<IdentifierInfo *>(Ptr & ~PtrMask));
212 IdentifierInfo *getAsIdentifierInfo() const { in getAsIdentifierInfo()
214 return reinterpret_cast<IdentifierInfo *>(Ptr); in getAsIdentifierInfo()
250 IdentifierInfo *getCXXLiteralIdentifier() const;
333 DeclarationName getIdentifier(const IdentifierInfo *ID) { in getIdentifier()
369 DeclarationName getCXXLiteralOperatorName(IdentifierInfo *II);
/external/clang/test/Index/
Drecursive-cxx-member-calls.cpp11 class IdentifierInfo;
33 static Kind getKind(const IdentifierInfo * Name);
66 class IdentifierInfo { class
67 public:IdentifierInfo();
69 typedef std::pair < IdentifierInfo, const char *>actualtype; in getNameStart()
73 typedef std::pair < IdentifierInfo, const char *>actualtype; in getLength()
100 AttributeList::Kind AttributeList::getKind(const IdentifierInfo * Name) { in getKind()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckObjCDealloc.cpp54 IdentifierInfo* SelfII, in scan_ivar_release()
133 IdentifierInfo* NSObjectII = &Ctx.Idents.get("NSObject"); in checkObjCDealloc()
134 IdentifierInfo* SenTestCaseII = &Ctx.Idents.get("SenTestCase"); in checkObjCDealloc()
138 IdentifierInfo *II = ID->getIdentifier(); in checkObjCDealloc()
155 IdentifierInfo* II = &Ctx.Idents.get("dealloc"); in checkObjCDealloc()
206 IdentifierInfo* RII = &Ctx.Idents.get("release"); in checkObjCDealloc()
210 IdentifierInfo* SelfII = &Ctx.Idents.get("self"); in checkObjCDealloc()
DNSErrorChecker.cpp31 static bool IsNSError(QualType T, IdentifierInfo *II);
32 static bool IsCFError(QualType T, IdentifierInfo *II);
41 mutable IdentifierInfo *II;
89 mutable IdentifierInfo *II;
154 mutable IdentifierInfo *NSErrorII, *CFErrorII;
291 static bool IsNSError(QualType T, IdentifierInfo *II) { in IsNSError()
312 static bool IsCFError(QualType T, IdentifierInfo *II) { in IsCFError()
/external/clang/lib/Sema/
DIdentifierResolver.cpp153 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in AddDecl()
178 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in InsertDeclAfter()
219 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in RemoveDecl()
240 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in ReplaceDecl()
262 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in begin()
321 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in tryAddTopLevelDecl()
396 void IdentifierResolver::readingIdentifier(IdentifierInfo &II) { in readingIdentifier()
401 void IdentifierResolver::updatingIdentifier(IdentifierInfo &II) { in updatingIdentifier()
DSemaAttr.cpp34 IdentifierInfo *Name;
57 void push(IdentifierInfo *Name) { in push()
66 bool pop(IdentifierInfo *Name, bool IsReset);
70 bool PragmaPackStack::pop(IdentifierInfo *Name, bool IsReset) { in pop()
191 void Sema::ActOnPragmaPack(PragmaPackKind Kind, IdentifierInfo *Name, in ActOnPragmaPack()
276 IdentifierInfo *Name = IdTok.getIdentifierInfo(); in ActOnPragmaUnused()
348 void Sema::ActOnPragmaVisibility(const IdentifierInfo* VisType, in ActOnPragmaVisibility()
/external/clang/lib/Parse/
DParsePragma.cpp34 const IdentifierInfo *VisType = in HandlePragmaVisibility()
35 static_cast<IdentifierInfo *>(Tok.getAnnotationValue()); in HandlePragmaVisibility()
42 IdentifierInfo *Name;
68 const IdentifierInfo *PushPop = Tok.getIdentifierInfo(); in HandlePragma()
70 const IdentifierInfo *VisType; in HandlePragma()
132 IdentifierInfo *Name = 0; in HandlePragma()
149 const IdentifierInfo *II = Tok.getIdentifierInfo(); in HandlePragma()
251 const IdentifierInfo *II = Tok.getIdentifierInfo(); in HandlePragma()
301 const IdentifierInfo *II = Tok.getIdentifierInfo(); in ParseAlignPragma()
439 IdentifierInfo *WeakName = Tok.getIdentifierInfo(), *AliasName = 0; in HandlePragma()
[all …]
/external/clang/include/clang/Serialization/
DASTReader.h355 std::vector<IdentifierInfo *> IdentifiersLoaded;
380 typedef llvm::SmallVector<llvm::PointerUnion<Decl *, IdentifierInfo *>, 2>
435 llvm::DenseMap<IdentifierInfo *, uint64_t> UnreadMacroRecordOffsets;
662 IdentifierInfo *II;
675 llvm::DenseMap<IdentifierInfo *, unsigned> IdentifierGeneration;
1217 virtual IdentifierInfo *get(const char *NameStart, const char *NameEnd);
1218 IdentifierInfo *get(StringRef Name) { in get()
1255 SmallVectorImpl<std::pair<IdentifierInfo *, WeakInfo> > &WI);
1266 void SetIdentifierInfo(unsigned ID, IdentifierInfo *II);
1267 void SetGloballyVisibleDecls(IdentifierInfo *II,
[all …]
/external/clang/lib/AST/
DNSAPI.cpp19 IdentifierInfo *NSAPI::getNSClassId(NSClassIdKindKind K) const { in getNSClassId()
70 IdentifierInfo *KeyIdents[] = { in getNSArraySelector()
87 IdentifierInfo *KeyIdents[] = { in getNSArraySelector()
125 IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
133 IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
141 IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
165 IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
DDeclObjC.cpp54 ObjCContainerDecl::getIvarDecl(IdentifierInfo *Id) const { in getIvarDecl()
85 IdentifierInfo *propertyID) { in findPropertyDecl()
99 ObjCContainerDecl::FindPropertyDeclaration(IdentifierInfo *PropertyId) const { in FindPropertyDeclaration()
160 IdentifierInfo *PropertyId) const { in FindPropertyVisibleInPrimaryClass()
268 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable()
300 const IdentifierInfo*ICName) { in lookupInheritedClass()
691 IdentifierInfo *Id, in Create()
709 ObjCInterfaceDecl(DeclContext *DC, SourceLocation atLoc, IdentifierInfo *Id, in ObjCInterfaceDecl()
809 ObjCInterfaceDecl::FindCategoryDeclaration(IdentifierInfo *CategoryId) const { in FindCategoryDeclaration()
896 SourceLocation IdLoc, IdentifierInfo *Id, in Create()
[all …]
/external/clang/include/clang/Parse/
DParser.h112 IdentifierInfo *Ident__exception_code,
116 IdentifierInfo *Ident__exception_info,
120 IdentifierInfo *Ident__abnormal_termination,
125 IdentifierInfo *Ident__except;
129 IdentifierInfo *Ident_super;
133 IdentifierInfo *Ident_vector;
134 IdentifierInfo *Ident_pixel;
137 mutable IdentifierInfo *Ident_instancetype;
140 IdentifierInfo *Ident_introduced;
143 IdentifierInfo *Ident_deprecated;
[all …]

12345678