Home
last modified time | relevance | path

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

1234567891011

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatToken.h612 bool is(const IdentifierInfo *II) const { in is()
1283 JsExtraKeywords = std::unordered_set<IdentifierInfo *>( in AdditionalKeywords()
1290 CSharpExtraKeywords = std::unordered_set<IdentifierInfo *>( in AdditionalKeywords()
1307 VerilogExtraKeywords = std::unordered_set<IdentifierInfo *>( in AdditionalKeywords()
1373 TableGenExtraKeywords = std::unordered_set<IdentifierInfo *>({ in AdditionalKeywords()
1396 IdentifierInfo *kw_final;
1397 IdentifierInfo *kw_override;
1398 IdentifierInfo *kw_in;
1399 IdentifierInfo *kw_of;
1400 IdentifierInfo *kw_CF_CLOSED_ENUM;
[all …]
/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h43 class IdentifierInfo; variable
80 using IdentifierLocPair = std::pair<IdentifierInfo *, SourceLocation>;
117 class alignas(IdentifierInfoAlignment) IdentifierInfo {
204 llvm::StringMapEntry<IdentifierInfo *> *Entry = nullptr;
206 IdentifierInfo() in IdentifierInfo() function
219 IdentifierInfo(const IdentifierInfo &) = delete;
220 IdentifierInfo &operator=(const IdentifierInfo &) = delete;
221 IdentifierInfo(IdentifierInfo &&) = delete;
222 IdentifierInfo &operator=(IdentifierInfo &&) = delete;
558 bool operator<(const IdentifierInfo &RHS) const {
[all …]
H A DAttributeCommonInfo.h23 class IdentifierInfo; variable
72 const IdentifierInfo *AttrName = nullptr;
73 const IdentifierInfo *ScopeName = nullptr;
140 AttributeCommonInfo(const IdentifierInfo *AttrName, in AttributeCommonInfo()
141 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
153 AttributeCommonInfo(const IdentifierInfo *AttrName, in AttributeCommonInfo()
154 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
161 AttributeCommonInfo(const IdentifierInfo *AttrName, SourceRange AttrRange, in AttributeCommonInfo()
179 const IdentifierInfo *getAttrName() const { return AttrName; } in getAttrName()
180 void setAttrName(const IdentifierInfo *AttrNameII) { AttrName = AttrNameII; } in setAttrName()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h93 IdentifierInfo *II;
104 TokenValue(IdentifierInfo *II) : Kind(tok::identifier), II(II) {} in TokenValue()
161 IdentifierInfo *Ident__LINE__, *Ident__FILE__; // __LINE__, __FILE__
162 IdentifierInfo *Ident__DATE__, *Ident__TIME__; // __DATE__, __TIME__
163 IdentifierInfo *Ident__INCLUDE_LEVEL__; // __INCLUDE_LEVEL__
164 IdentifierInfo *Ident__BASE_FILE__; // __BASE_FILE__
165 IdentifierInfo *Ident__FILE_NAME__; // __FILE_NAME__
166 IdentifierInfo *Ident__TIMESTAMP__; // __TIMESTAMP__
167 IdentifierInfo *Ident__COUNTER__; // __COUNTER__
168 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()
128 void EnterTopLevelIfndef(const IdentifierInfo *M, SourceLocation Loc) { in EnterTopLevelIfndef()
169 const IdentifierInfo *GetControllingMacroAtEndOfFile() const { in GetControllingMacroAtEndOfFile()
179 const IdentifierInfo *GetDefinedMacro() const { in GetDefinedMacro()
H A DExternalPreprocessorSource.h21 class IdentifierInfo; variable
37 virtual void updateOutOfDateIdentifier(const IdentifierInfo &II) = 0;
42 virtual IdentifierInfo *GetIdentifier(uint64_t ID) = 0;
58 explicit LazyIdentifierInfoPtr(const IdentifierInfo *Ptr) in LazyIdentifierInfoPtr()
67 LazyIdentifierInfoPtr &operator=(const IdentifierInfo *Ptr) {
90 IdentifierInfo *getPtr() const { in getPtr()
92 return reinterpret_cast<IdentifierInfo *>(Ptr); in getPtr()
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()
518 const IdentifierInfo *II;
532 ModuleMacro(Module *OwningModule, const IdentifierInfo *II, MacroInfo *Macro, in ModuleMacro()
[all …]
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()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedAttr.h38 class IdentifierInfo; variable
94 IdentifierInfo *GetterId, *SetterId;
96 PropertyData(IdentifierInfo *getterId, IdentifierInfo *setterId) in PropertyData()
105 IdentifierInfo *Ident;
108 IdentifierInfo *Ident);
148 IdentifierInfo *MacroII = nullptr;
219 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
220 IdentifierInfo *scopeName, SourceLocation scopeLoc, in ParsedAttr()
234 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
235 IdentifierInfo *scopeName, SourceLocation scopeLoc, in ParsedAttr()
[all …]
H A DSemaCodeCompletion.h125 const IdentifierInfo *Scope = nullptr);
142 ArrayRef<Expr *> ArgExprs, IdentifierInfo *II, SourceLocation OpenParLoc,
181 ArrayRef<const IdentifierInfo *> SelIdents,
184 ArrayRef<const IdentifierInfo *> SelIdents,
188 Scope *S, Expr *Receiver, ArrayRef<const IdentifierInfo *> SelIdents,
192 ArrayRef<const IdentifierInfo *> SelIdents);
198 void CodeCompleteObjCSuperclass(Scope *S, IdentifierInfo *ClassName,
201 void CodeCompleteObjCInterfaceCategory(Scope *S, IdentifierInfo *ClassName,
204 IdentifierInfo *ClassName,
208 IdentifierInfo *PropertyName);
[all …]
H A DSemaObjC.h141 IdentifierInfo *II, SourceLocation IdLoc,
159 IdentifierInfo *getNSErrorIdent();
183 IdentifierInfo *Ident_NSError = nullptr;
251 IdentifierInfo *paramName,
261 Scope *S, SourceLocation AtInterfaceLoc, IdentifierInfo *ClassName,
263 IdentifierInfo *SuperName, SourceLocation SuperLoc,
271 IdentifierInfo *ClassName, SourceLocation ClassLoc,
272 IdentifierInfo *SuperName, SourceLocation SuperLoc,
277 IdentifierInfo *SuperName,
281 IdentifierInfo *AliasName,
[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 *> {
H A DDesignator.h23 class IdentifierInfo; variable
42 const IdentifierInfo *FieldName;
50 FieldDesignatorInfo(const IdentifierInfo *FieldName, SourceLocation DotLoc, in FieldDesignatorInfo()
115 static Designator CreateFieldDesignator(const IdentifierInfo *FieldName, in CreateFieldDesignator()
123 const IdentifierInfo *getFieldDecl() const { in getFieldDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLocalizationChecker.cpp69 mutable llvm::DenseMap<const IdentifierInfo *,
72 mutable llvm::SmallSet<std::pair<const IdentifierInfo *, Selector>, 12> LSM;
74 mutable llvm::SmallSet<const IdentifierInfo *, 5> LSF;
89 int getLocalizedArgumentForSelector(const IdentifierInfo *Receiver,
157 const IdentifierInfo *initWithTitleUITabBarItemTag[] = { in initUIMethods()
161 const IdentifierInfo *initWithTitleUITabBarItemImage[] = { in initUIMethods()
174 const IdentifierInfo *rowActionWithStyleUITableViewRowAction[] = { in initUIMethods()
186 const IdentifierInfo *radioButtonWithTitleNSButton[] = { in initUIMethods()
190 const IdentifierInfo *buttonWithTitleNSButtonImage[] = { in initUIMethods()
194 const IdentifierInfo *checkboxWithTitleNSButton[] = { in initUIMethods()
[all …]
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()
/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DNSAPI.cpp23 IdentifierInfo *NSAPI::getNSClassId(NSClassIdKindKind K) const { in getNSClassId()
59 const IdentifierInfo *KeyIdents[] = {&Ctx.Idents.get("stringWithCString"), in getNSStringSelector()
94 const IdentifierInfo *KeyIdents[] = {&Ctx.Idents.get("arrayWithObjects"), in getNSArraySelector()
109 const IdentifierInfo *KeyIdents[] = { in getNSArraySelector()
119 const IdentifierInfo *KeyIdents[] = {&Ctx.Idents.get("insertObject"), in getNSArraySelector()
125 const IdentifierInfo *KeyIdents[] = { in getNSArraySelector()
161 const IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
167 const IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
173 const IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
192 const IdentifierInfo *KeyIdents[] = {&Ctx.Idents.get("initWithObjects"), in getNSDictionarySelector()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DAttributes.cpp32 const IdentifierInfo *Scope, const IdentifierInfo *Attr, in hasAttribute()
80 normalizeAttrScopeName(const IdentifierInfo *Scope, in normalizeAttrScopeName()
98 static StringRef normalizeAttrName(const IdentifierInfo *Name, in normalizeAttrName()
127 static SmallString<64> normalizeName(const IdentifierInfo *Name, in normalizeName()
128 const IdentifierInfo *Scope, in normalizeName()
145 AttributeCommonInfo::getParsedKind(const IdentifierInfo *Name, in getParsedKind()
146 const IdentifierInfo *ScopeName, in getParsedKind()
H A DIdentifierTable.cpp260 IdentifierInfo &Info = in AddKeyword()
271 IdentifierInfo &Info = Table.get(Keyword, TokenCode); in AddCXXOperatorKeyword()
288 IdentifierInfo &Info = Table.get(Name, tok::identifier); in AddNotableIdentifier()
344 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword()
356 bool IdentifierInfo::isCPlusPlusKeyword(const LangOptions &LangOpts) const { in isCPlusPlusKeyword()
369 IdentifierInfo::isReserved(const LangOptions &LangOpts) const { in isReserved()
402 IdentifierInfo::isReservedLiteralSuffixId() const { in isReservedLiteralSuffixId()
414 StringRef IdentifierInfo::deuglifiedName() const { in deuglifiedName()
422 tok::PPKeywordKind IdentifierInfo::getPPKeywordID() const { in getPPKeywordID()
490 for (llvm::StringMap<IdentifierInfo*, llvm::BumpPtrAllocator>::const_iterator in PrintStats()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h102 IdentifierInfo *Ident__exception_code,
106 IdentifierInfo *Ident__exception_info,
110 IdentifierInfo *Ident__abnormal_termination,
115 IdentifierInfo *Ident__except;
116 mutable IdentifierInfo *Ident_sealed;
117 mutable IdentifierInfo *Ident_abstract;
121 IdentifierInfo *Ident_super;
125 IdentifierInfo *Ident_vector;
126 IdentifierInfo *Ident_bool;
127 IdentifierInfo *Ident_Bool;
[all …]
/freebsd/contrib/llvm-project/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()
409 const IdentifierInfo *MacroIdent, in isTrivialSingleTokenExpansion()
[all …]
/freebsd/contrib/llvm-project/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,
776 ObjCPropertyDecl(DeclContext *DC, SourceLocation L, const IdentifierInfo *Id, in ObjCPropertyDecl()
787 SourceLocation L, const IdentifierInfo *Id,
932 IdentifierInfo *getDefaultSynthIvarName(ASTContext &Ctx) const;
936 const IdentifierInfo *propertyID,
958 ObjCContainerDecl(Kind DK, DeclContext *DC, const IdentifierInfo *Id,
1075 ObjCIvarDecl *getIvarDecl(IdentifierInfo *Id) const;
1077 ObjCPropertyDecl *getProperty(const IdentifierInfo *Id,
1081 FindPropertyDeclaration(const IdentifierInfo *PropertyId,
[all …]
H A DNestedNameSpecifier.h32 class IdentifierInfo; variable
127 const IdentifierInfo *II);
151 const IdentifierInfo *II);
176 IdentifierInfo *getAsIdentifier() const { in getAsIdentifier()
178 return (IdentifierInfo *)Specifier; in getAsIdentifier()
417 void Extend(ASTContext &Context, IdentifierInfo *Identifier,

1234567891011