Home
last modified time | relevance | path

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

12345678910>>...12

/openbsd-src/gnu/llvm/clang/lib/Format/
H A DFormatToken.h537 bool is(const IdentifierInfo *II) const { in is()
1161 JsExtraKeywords = std::unordered_set<IdentifierInfo *>( in AdditionalKeywords()
1168 CSharpExtraKeywords = std::unordered_set<IdentifierInfo *>( in AdditionalKeywords()
1186 std::unordered_set<IdentifierInfo *>({kw_always, in AdditionalKeywords()
1314 IdentifierInfo *kw_final;
1315 IdentifierInfo *kw_override;
1316 IdentifierInfo *kw_in;
1317 IdentifierInfo *kw_of;
1318 IdentifierInfo *kw_CF_CLOSED_ENUM;
1319 IdentifierInfo *kw_CF_ENUM;
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Checkers/
H A DMPIFunctionClassifier.h28 bool isMPIType(const IdentifierInfo *const IdentInfo) const;
29 bool isNonBlockingType(const IdentifierInfo *const IdentInfo) const;
32 bool isPointToPointType(const IdentifierInfo *const IdentInfo) const;
35 bool isCollectiveType(const IdentifierInfo *const IdentInfo) const;
36 bool isCollToColl(const IdentifierInfo *const IdentInfo) const;
37 bool isScatterType(const IdentifierInfo *const IdentInfo) const;
38 bool isGatherType(const IdentifierInfo *const IdentInfo) const;
39 bool isAllgatherType(const IdentifierInfo *const IdentInfo) const;
40 bool isAlltoallType(const IdentifierInfo *const IdentInfo) const;
41 bool isReduceType(const IdentifierInfo *const IdentInfo) const;
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DIdentifierTable.h39 class IdentifierInfo; variable
70 using IdentifierLocPair = std::pair<IdentifierInfo *, SourceLocation>;
85 class alignas(IdentifierInfoAlignment) IdentifierInfo {
156 llvm::StringMapEntry<IdentifierInfo *> *Entry = nullptr;
158 IdentifierInfo() in IdentifierInfo() function
168 IdentifierInfo(const IdentifierInfo &) = delete;
169 IdentifierInfo &operator=(const IdentifierInfo &) = delete;
170 IdentifierInfo(IdentifierInfo &&) = delete;
171 IdentifierInfo &operator=(IdentifierInfo &&) = delete;
467 bool operator<(const IdentifierInfo &RHS) const {
[all …]
H A DAttributeCommonInfo.h19 class IdentifierInfo; variable
65 const IdentifierInfo *AttrName = nullptr;
66 const IdentifierInfo *ScopeName = nullptr;
87 AttributeCommonInfo(const IdentifierInfo *AttrName, in AttributeCommonInfo()
88 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
95 AttributeCommonInfo(const IdentifierInfo *AttrName, in AttributeCommonInfo()
96 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
102 AttributeCommonInfo(const IdentifierInfo *AttrName, in AttributeCommonInfo()
103 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
110 AttributeCommonInfo(const IdentifierInfo *AttrName, SourceRange AttrRange, in AttributeCommonInfo()
[all …]
H A DAttributes.h18 class IdentifierInfo; variable
23 const IdentifierInfo *Scope, const IdentifierInfo *Attr,
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DPreprocessor.h91 IdentifierInfo *II;
102 TokenValue(IdentifierInfo *II) : Kind(tok::identifier), II(II) {} in TokenValue()
152 IdentifierInfo *Ident__LINE__, *Ident__FILE__; // __LINE__, __FILE__
153 IdentifierInfo *Ident__DATE__, *Ident__TIME__; // __DATE__, __TIME__
154 IdentifierInfo *Ident__INCLUDE_LEVEL__; // __INCLUDE_LEVEL__
155 IdentifierInfo *Ident__BASE_FILE__; // __BASE_FILE__
156 IdentifierInfo *Ident__FILE_NAME__; // __FILE_NAME__
157 IdentifierInfo *Ident__TIMESTAMP__; // __TIMESTAMP__
158 IdentifierInfo *Ident__COUNTER__; // __COUNTER__
159 IdentifierInfo *Ident_Pragma, *Ident__pragma; // _Pragma, __pragma
[all …]
H A DMultipleIncludeOpt.h20 class IdentifierInfo; variable
50 const IdentifierInfo *TheMacro;
53 const IdentifierInfo *DefinedMacro;
78 void SetDefinedMacro(IdentifierInfo *M, SourceLocation Loc) { in SetDefinedMacro()
122 void EnterTopLevelIfndef(const IdentifierInfo *M, SourceLocation Loc) { in EnterTopLevelIfndef()
163 const IdentifierInfo *GetControllingMacroAtEndOfFile() const { in GetControllingMacroAtEndOfFile()
173 const IdentifierInfo *GetDefinedMacro() const { in GetDefinedMacro()
H A DMacroInfo.h31 class IdentifierInfo; variable
55 IdentifierInfo **ParameterList = nullptr;
166 void setParameterList(ArrayRef<IdentifierInfo *> List, in setParameterList()
174 ParameterList = PPAllocator.Allocate<IdentifierInfo *>(List.size()); in setParameterList()
180 using param_iterator = IdentifierInfo *const *;
185 ArrayRef<const IdentifierInfo *> params() const { in params()
186 return ArrayRef<const IdentifierInfo *>(ParameterList, NumParameters); in params()
191 int getParameterNum(const IdentifierInfo *Arg) const { in getParameterNum()
515 IdentifierInfo *II;
529 ModuleMacro(Module *OwningModule, IdentifierInfo *II, MacroInfo *Macro, in ModuleMacro()
[all …]
H A DExternalPreprocessorSource.h18 class IdentifierInfo; variable
34 virtual void updateOutOfDateIdentifier(IdentifierInfo &II) = 0;
39 virtual IdentifierInfo *GetIdentifier(unsigned ID) = 0;
H A DPreprocessingRecord.h51 class IdentifierInfo; variable
148 const IdentifierInfo *Name;
151 explicit MacroDefinitionRecord(const IdentifierInfo *Name, in MacroDefinitionRecord()
156 const IdentifierInfo *getName() const { return Name; } in getName()
171 llvm::PointerUnion<IdentifierInfo *, MacroDefinitionRecord *> NameOrDef;
174 MacroExpansion(IdentifierInfo *BuiltinName, SourceRange Range) in MacroExpansion()
183 bool isBuiltinMacro() const { return NameOrDef.is<IdentifierInfo *>(); } in isBuiltinMacro()
186 const IdentifierInfo *getName() const { in getName()
189 return NameOrDef.get<IdentifierInfo *>(); in getName()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DParsedAttr.h37 class IdentifierInfo; variable
202 IdentifierInfo *GetterId, *SetterId;
204 PropertyData(IdentifierInfo *getterId, IdentifierInfo *setterId) in PropertyData()
213 IdentifierInfo *Ident;
216 IdentifierInfo *Ident);
256 IdentifierInfo *MacroII = nullptr;
319 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
320 IdentifierInfo *scopeName, SourceLocation scopeLoc, in ParsedAttr()
335 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
336 IdentifierInfo *scopeName, SourceLocation scopeLoc, in ParsedAttr()
[all …]
H A DWeak.h22 class IdentifierInfo; variable
26 const IdentifierInfo *alias = nullptr; // alias (optional)
30 WeakInfo(const IdentifierInfo *Alias, SourceLocation Loc) in WeakInfo()
32 inline const IdentifierInfo *getAlias() const { return alias; } in getAlias()
38 : private llvm::DenseMapInfo<const IdentifierInfo *> {
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DLocalizationChecker.cpp67 mutable llvm::DenseMap<const IdentifierInfo *,
70 mutable llvm::SmallSet<std::pair<const IdentifierInfo *, Selector>, 12> LSM;
72 mutable llvm::SmallSet<const IdentifierInfo *, 5> LSF;
87 int getLocalizedArgumentForSelector(const IdentifierInfo *Receiver,
162 IdentifierInfo *initWithTitleUITabBarItemTag[] = { in initUIMethods()
166 IdentifierInfo *initWithTitleUITabBarItemImage[] = { in initUIMethods()
179 IdentifierInfo *rowActionWithStyleUITableViewRowAction[] = { in initUIMethods()
191 IdentifierInfo *radioButtonWithTitleNSButton[] = { in initUIMethods()
195 IdentifierInfo *buttonWithTitleNSButtonImage[] = { in initUIMethods()
199 IdentifierInfo *checkboxWithTitleNSButton[] = { in initUIMethods()
[all …]
H A DBlockInCriticalSectionChecker.cpp31 mutable IdentifierInfo *IILockGuard, *IIUniqueLock;
101 auto IdentifierInfo = Ctor->getDecl()->getParent()->getIdentifier(); in isLockFunction() local
102 if (IdentifierInfo == IILockGuard || IdentifierInfo == IIUniqueLock) in isLockFunction()
113 auto IdentifierInfo = DRecordDecl->getIdentifier(); in isUnlockFunction() local
114 if (IdentifierInfo == IILockGuard || IdentifierInfo == IIUniqueLock) in isUnlockFunction()
H A DNonnullGlobalConstantsChecker.cpp37 mutable IdentifierInfo *NSStringII = nullptr;
38 mutable IdentifierInfo *CFStringRefII = nullptr;
39 mutable IdentifierInfo *CFBooleanRefII = nullptr;
40 mutable IdentifierInfo *CFNullRefII = nullptr;
145 IdentifierInfo* II = T->getDecl()->getIdentifier(); in isNonnullType()
H A DNSErrorChecker.cpp32 static bool IsNSError(QualType T, IdentifierInfo *II);
33 static bool IsCFError(QualType T, IdentifierInfo *II);
42 mutable IdentifierInfo *II;
89 mutable IdentifierInfo *II;
166 mutable IdentifierInfo *NSErrorII, *CFErrorII;
292 static bool IsNSError(QualType T, IdentifierInfo *II) { in IsNSError()
313 static bool IsCFError(QualType T, IdentifierInfo *II) { in IsCFError()
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DAttributes.cpp8 const IdentifierInfo *Scope, const IdentifierInfo *Attr, in hasAttribute()
46 normalizeAttrScopeName(const IdentifierInfo *Scope, in normalizeAttrScopeName()
64 static StringRef normalizeAttrName(const IdentifierInfo *Name, in normalizeAttrName()
93 static SmallString<64> normalizeName(const IdentifierInfo *Name, in normalizeName()
94 const IdentifierInfo *Scope, in normalizeName()
111 AttributeCommonInfo::getParsedKind(const IdentifierInfo *Name, in getParsedKind()
112 const IdentifierInfo *ScopeName, in getParsedKind()
H A DIdentifierTable.cpp259 IdentifierInfo &Info = in AddKeyword()
270 IdentifierInfo &Info = Table.get(Keyword, TokenCode); in AddCXXOperatorKeyword()
330 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword()
342 bool IdentifierInfo::isCPlusPlusKeyword(const LangOptions &LangOpts) const { in isCPlusPlusKeyword()
355 IdentifierInfo::isReserved(const LangOptions &LangOpts) const { in isReserved()
387 StringRef IdentifierInfo::deuglifiedName() const { in deuglifiedName()
395 tok::PPKeywordKind IdentifierInfo::getPPKeywordID() const { in getPPKeywordID()
462 for (llvm::StringMap<IdentifierInfo*, llvm::BumpPtrAllocator>::const_iterator in PrintStats()
504 MultiKeywordSelector(unsigned nKeys, IdentifierInfo **IIV) in MultiKeywordSelector()
509 IdentifierInfo **KeyInfo = reinterpret_cast<IdentifierInfo **>(this + 1); in MultiKeywordSelector()
[all …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIFunctionClassifier.cpp203 bool MPIFunctionClassifier::isMPIType(const IdentifierInfo *IdentInfo) const { in isMPIType()
208 const IdentifierInfo *IdentInfo) const { in isNonBlockingType()
214 const IdentifierInfo *IdentInfo) const { in isPointToPointType()
220 const IdentifierInfo *IdentInfo) const { in isCollectiveType()
225 const IdentifierInfo *IdentInfo) const { in isCollToColl()
230 const IdentifierInfo *IdentInfo) const { in isScatterType()
236 const IdentifierInfo *IdentInfo) const { in isGatherType()
244 const IdentifierInfo *IdentInfo) const { in isAllgatherType()
250 const IdentifierInfo *IdentInfo) const { in isAlltoallType()
255 bool MPIFunctionClassifier::isBcastType(const IdentifierInfo *IdentInfo) const { in isBcastType()
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DNSAPI.cpp23 IdentifierInfo *NSAPI::getNSClassId(NSClassIdKindKind K) const { in getNSClassId()
59 IdentifierInfo *KeyIdents[] = { in getNSStringSelector()
96 IdentifierInfo *KeyIdents[] = { in getNSArraySelector()
113 IdentifierInfo *KeyIdents[] = { in getNSArraySelector()
124 IdentifierInfo *KeyIdents[] = { in getNSArraySelector()
132 IdentifierInfo *KeyIdents[] = { in getNSArraySelector()
170 IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
178 IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
186 IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
207 IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Parse/
H A DParser.h104 IdentifierInfo *Ident__exception_code,
108 IdentifierInfo *Ident__exception_info,
112 IdentifierInfo *Ident__abnormal_termination,
117 IdentifierInfo *Ident__except;
118 mutable IdentifierInfo *Ident_sealed;
119 mutable IdentifierInfo *Ident_abstract;
123 IdentifierInfo *Ident_super;
127 IdentifierInfo *Ident_vector;
128 IdentifierInfo *Ident_bool;
129 IdentifierInfo *Ident_Bool;
[all …]
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DPPMacroExpansion.cpp63 Preprocessor::getLocalMacroDirectiveHistory(const IdentifierInfo *II) const { in getLocalMacroDirectiveHistory()
71 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective()
96 void Preprocessor::setLoadedMacroDirective(IdentifierInfo *II, in setLoadedMacroDirective()
132 ModuleMacro *Preprocessor::addModuleMacro(Module *Mod, IdentifierInfo *II, in addModuleMacro()
172 const IdentifierInfo *II) { in getModuleMacro()
180 void Preprocessor::updateModuleMacroInfo(const IdentifierInfo *II, in updateModuleMacroInfo()
258 void Preprocessor::dumpMacroInfo(const IdentifierInfo *II) { in dumpMacroInfo()
326 static IdentifierInfo *RegisterBuiltinMacro(Preprocessor &PP, const char *Name){ in RegisterBuiltinMacro()
328 IdentifierInfo *Id = PP.getIdentifierInfo(Name); in RegisterBuiltinMacro()
408 const IdentifierInfo *MacroIdent, in isTrivialSingleTokenExpansion()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DNSAPI.h53 IdentifierInfo *getNSClassId(NSClassIdKindKind K) const;
232 bool isObjCTypedef(QualType T, StringRef name, IdentifierInfo *&II) const;
234 StringRef name, IdentifierInfo *&II) const;
240 mutable IdentifierInfo *ClassIds[NumClassIds];
261 mutable IdentifierInfo *BOOLId, *NSIntegerId, *NSUIntegerId;
262 mutable IdentifierInfo *NSASCIIStringEncodingId, *NSUTF8StringEncodingId;
H A DDeclObjC.h596 SourceLocation nameLoc, IdentifierInfo *name, in ObjCTypeParamDecl()
614 IdentifierInfo *name,
772 ObjCPropertyDecl(DeclContext *DC, SourceLocation L, IdentifierInfo *Id, in ObjCPropertyDecl()
783 Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *Id,
926 IdentifierInfo *getDefaultSynthIvarName(ASTContext &Ctx) const;
930 const IdentifierInfo *propertyID,
952 ObjCContainerDecl(Kind DK, DeclContext *DC, IdentifierInfo *Id,
1069 ObjCIvarDecl *getIvarDecl(IdentifierInfo *Id) const;
1071 ObjCPropertyDecl *getProperty(const IdentifierInfo *Id,
1075 FindPropertyDeclaration(const IdentifierInfo *PropertyId,
[all …]
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DIdentifierResolver.cpp152 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in AddDecl()
177 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in InsertDeclAfter()
218 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in RemoveDecl()
237 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in begin()
309 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in tryAddTopLevelDecl()
384 void IdentifierResolver::readingIdentifier(IdentifierInfo &II) { in readingIdentifier()
389 void IdentifierResolver::updatingIdentifier(IdentifierInfo &II) { in updatingIdentifier()

12345678910>>...12