Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatToken.h629 bool is(const IdentifierInfo *II) const { in is()
1286 JsExtraKeywords = std::unordered_set<IdentifierInfo *>( in AdditionalKeywords()
1305 VerilogExtraKeywords = std::unordered_set<IdentifierInfo *>( in AdditionalKeywords()
1350 TableGenExtraKeywords = std::unordered_set<IdentifierInfo *>({ in AdditionalKeywords()
1373 IdentifierInfo *kw_final;
1374 IdentifierInfo *kw_override;
1375 IdentifierInfo *kw_in;
1376 IdentifierInfo *kw_of;
1377 IdentifierInfo *kw_CF_CLOSED_ENUM;
1378 IdentifierInfo *kw_CF_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.h44 class IdentifierInfo; variable
116 class alignas(IdentifierInfoAlignment) IdentifierInfo {
207 llvm::StringMapEntry<IdentifierInfo *> *Entry = nullptr;
209 IdentifierInfo() in IdentifierInfo() function
222 IdentifierInfo(const IdentifierInfo &) = delete;
223 IdentifierInfo &operator=(const IdentifierInfo &) = delete;
224 IdentifierInfo(IdentifierInfo &&) = delete;
225 IdentifierInfo &operator=(IdentifierInfo &&) = delete;
566 bool operator<(const IdentifierInfo &RHS) const {
589 IdentifierInfo *const II;
[all …]
H A DAttributes.h16 class IdentifierInfo; variable
27 const IdentifierInfo *Scope, const IdentifierInfo *Attr,
31 const IdentifierInfo *Scope, const IdentifierInfo *Attr,
H A DAttributeScopeInfo.h21 class IdentifierInfo; variable
27 AttributeScopeInfo(const IdentifierInfo *Name, SourceLocation NameLoc) in AttributeScopeInfo()
30 AttributeScopeInfo(const IdentifierInfo *Name, SourceLocation NameLoc, in AttributeScopeInfo()
34 const IdentifierInfo *getName() const { return Name; } in getName()
41 const IdentifierInfo *Name = nullptr;
H A DAttributeCommonInfo.h25 class IdentifierInfo; variable
83 const IdentifierInfo *AttrName = nullptr;
151 AttributeCommonInfo(const IdentifierInfo *AttrName, in AttributeCommonInfo()
163 AttributeCommonInfo(const IdentifierInfo *AttrName, AttributeScopeInfo Scope, in AttributeCommonInfo()
170 AttributeCommonInfo(const IdentifierInfo *AttrName, SourceRange AttrRange, in AttributeCommonInfo()
192 const IdentifierInfo *getAttrName() const { return AttrName; } in getAttrName()
193 void setAttrName(const IdentifierInfo *AttrNameII) { AttrName = AttrNameII; } in setAttrName()
201 const IdentifierInfo *getScopeName() const { return AttrScope.getName(); } in getScopeName()
267 static Kind getParsedKind(const IdentifierInfo *Name,
268 const IdentifierInfo *Scope, Syntax SyntaxUsed);
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h95 IdentifierInfo *II;
106 TokenValue(IdentifierInfo *II) : Kind(tok::identifier), II(II) {} in TokenValue()
175 IdentifierInfo *Ident__LINE__, *Ident__FILE__; // __LINE__, __FILE__
176 IdentifierInfo *Ident__DATE__, *Ident__TIME__; // __DATE__, __TIME__
177 IdentifierInfo *Ident__INCLUDE_LEVEL__; // __INCLUDE_LEVEL__
178 IdentifierInfo *Ident__BASE_FILE__; // __BASE_FILE__
179 IdentifierInfo *Ident__FILE_NAME__; // __FILE_NAME__
180 IdentifierInfo *Ident__TIMESTAMP__; // __TIMESTAMP__
181 IdentifierInfo *Ident__COUNTER__; // __COUNTER__
182 IdentifierInfo *Ident_Pragma, *Ident__pragma; // _Pragma, __pragma
[all …]
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 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 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 isa<IdentifierInfo *>(NameOrDef); } in isBuiltinMacro()
186 const IdentifierInfo *getName() const { in getName()
189 return cast<IdentifierInfo *>(NameOrDef); in getName()
/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,
155 const IdentifierInfo *initWithTitleUITabBarItemTag[] = { in initUIMethods()
159 const IdentifierInfo *initWithTitleUITabBarItemImage[] = { in initUIMethods()
172 const IdentifierInfo *rowActionWithStyleUITableViewRowAction[] = { in initUIMethods()
184 const IdentifierInfo *radioButtonWithTitleNSButton[] = { in initUIMethods()
188 const IdentifierInfo *buttonWithTitleNSButtonImage[] = { in initUIMethods()
192 const IdentifierInfo *checkboxWithTitleNSButton[] = { in initUIMethods()
[all …]
H A DNonnullGlobalConstantsChecker.cpp36 mutable IdentifierInfo *NSStringII = nullptr;
37 mutable IdentifierInfo *CFStringRefII = nullptr;
38 mutable IdentifierInfo *CFBooleanRefII = nullptr;
39 mutable IdentifierInfo *CFNullRefII = nullptr;
144 IdentifierInfo* II = T->getDecl()->getIdentifier(); in isNonnullType()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaCodeCompletion.h127 const IdentifierInfo *Scope = nullptr);
144 ArrayRef<Expr *> ArgExprs, IdentifierInfo *II, SourceLocation OpenParLoc,
184 ArrayRef<const IdentifierInfo *> SelIdents,
187 ArrayRef<const IdentifierInfo *> SelIdents,
191 Scope *S, Expr *Receiver, ArrayRef<const IdentifierInfo *> SelIdents,
195 ArrayRef<const IdentifierInfo *> SelIdents);
200 void CodeCompleteObjCSuperclass(Scope *S, IdentifierInfo *ClassName,
203 void CodeCompleteObjCInterfaceCategory(Scope *S, IdentifierInfo *ClassName,
206 IdentifierInfo *ClassName,
210 IdentifierInfo *PropertyName);
[all …]
H A DSemaObjC.h143 IdentifierInfo *II, SourceLocation IdLoc,
161 IdentifierInfo *getNSErrorIdent();
185 IdentifierInfo *Ident_NSError = nullptr;
239 IdentifierInfo *paramName,
249 Scope *S, SourceLocation AtInterfaceLoc, IdentifierInfo *ClassName,
251 IdentifierInfo *SuperName, SourceLocation SuperLoc,
259 IdentifierInfo *ClassName, SourceLocation ClassLoc,
260 IdentifierInfo *SuperName, SourceLocation SuperLoc,
265 IdentifierInfo *SuperName,
269 IdentifierInfo *AliasName,
[all …]
H A DParsedAttr.h38 class IdentifierInfo; variable
93 IdentifierInfo *GetterId, *SetterId;
95 PropertyData(IdentifierInfo *getterId, IdentifierInfo *setterId) in PropertyData()
135 IdentifierInfo *MacroII = nullptr;
206 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
220 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
241 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
256 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
274 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
287 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, 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 *> {
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/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 DIdentifierTable.cpp259 IdentifierInfo &II = Table.get(Name, tok::identifier); in MarkIdentifierAsKeywordInCpp()
285 IdentifierInfo &Info = in AddKeyword()
296 IdentifierInfo &Info = Table.get(Keyword, TokenCode); in AddCXXOperatorKeyword()
313 IdentifierInfo &Info = Table.get(Name, tok::identifier); in AddNotableIdentifier()
371 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword()
383 bool IdentifierInfo::isCPlusPlusKeyword(const LangOptions &LangOpts) const { in isCPlusPlusKeyword()
396 IdentifierInfo::isReserved(const LangOptions &LangOpts) const { in isReserved()
429 IdentifierInfo::isReservedLiteralSuffixId() const { in isReservedLiteralSuffixId()
444 StringRef IdentifierInfo::deuglifiedName() const { in deuglifiedName()
452 tok::PPKeywordKind IdentifierInfo::getPPKeywordID() const { in getPPKeywordID()
[all …]
H A DAttributes.cpp83 const IdentifierInfo *Scope, const IdentifierInfo *Attr, in hasAttribute()
91 const IdentifierInfo *Scope, const IdentifierInfo *Attr, in hasAttribute()
118 normalizeAttrScopeName(const IdentifierInfo *ScopeName, in normalizeAttrScopeName()
179 static SmallString<64> normalizeName(const IdentifierInfo *Name, in normalizeName()
180 const IdentifierInfo *Scope, in normalizeName()
189 AttributeCommonInfo::getParsedKind(const IdentifierInfo *Name, in getParsedKind()
190 const IdentifierInfo *ScopeName, in getParsedKind()
196 AttributeCommonInfo::getCXX11AttrArgsInfo(const IdentifierInfo *Name) { in getCXX11AttrArgsInfo()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h557 IdentifierInfo *Ident__exception_code, *Ident___exception_code,
560 IdentifierInfo *Ident__exception_info, *Ident___exception_info,
563 IdentifierInfo *Ident__abnormal_termination, *Ident___abnormal_termination,
567 IdentifierInfo *Ident__except;
570 mutable IdentifierInfo *Ident_import;
571 mutable IdentifierInfo *Ident_module;
580 IdentifierInfo *getSEHExceptKeyword();
741 static IdentifierInfo *getIdentifierAnnotation(const Token &Tok) { in getIdentifierAnnotation()
742 return static_cast<IdentifierInfo *>(Tok.getAnnotationValue()); in getIdentifierAnnotation()
745 static void setIdentifierAnnotation(Token &Tok, IdentifierInfo *ND) { in setIdentifierAnnotation()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPMacroExpansion.cpp61 Preprocessor::getLocalMacroDirectiveHistory(const IdentifierInfo *II) const { in getLocalMacroDirectiveHistory()
69 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective()
94 void Preprocessor::setLoadedMacroDirective(IdentifierInfo *II, in setLoadedMacroDirective()
130 ModuleMacro *Preprocessor::addModuleMacro(Module *Mod, IdentifierInfo *II, in addModuleMacro()
170 const IdentifierInfo *II) { in getModuleMacro()
178 void Preprocessor::updateModuleMacroInfo(const IdentifierInfo *II, in updateModuleMacroInfo()
256 void Preprocessor::dumpMacroInfo(const IdentifierInfo *II) { in dumpMacroInfo()
392 const IdentifierInfo *MacroIdent, in isTrivialSingleTokenExpansion()
394 IdentifierInfo *II = MI->getReplacementToken(0).getIdentifierInfo(); in isTrivialSingleTokenExpansion()
560 if (IdentifierInfo *NewII = Identifier.getIdentifierInfo()) { in HandleMacroExpandedIdentifier()
[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;

12345678910>>...12