Home
last modified time | relevance | path

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

1234567891011

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
HDMPIFunctionClassifier.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-11-stable/contrib/llvm-project/clang/lib/Format/
HDFormatToken.h316 bool is(const IdentifierInfo *II) const { in is()
777 JsExtraKeywords = std::unordered_set<IdentifierInfo *>( in AdditionalKeywords()
784 CSharpExtraKeywords = std::unordered_set<IdentifierInfo *>( in AdditionalKeywords()
799 IdentifierInfo *kw_final;
800 IdentifierInfo *kw_override;
801 IdentifierInfo *kw_in;
802 IdentifierInfo *kw_of;
803 IdentifierInfo *kw_CF_CLOSED_ENUM;
804 IdentifierInfo *kw_CF_ENUM;
805 IdentifierInfo *kw_CF_OPTIONS;
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
HDIdentifierTable.h38 class IdentifierInfo; variable
44 using IdentifierLocPair = std::pair<IdentifierInfo *, SourceLocation>;
57 class alignas(IdentifierInfoAlignment) IdentifierInfo { in alignas()
116 llvm::StringMapEntry<IdentifierInfo *> *Entry = nullptr; in alignas()
118 IdentifierInfo() in alignas()
127 IdentifierInfo(const IdentifierInfo &) = delete; in alignas()
128 IdentifierInfo &operator=(const IdentifierInfo &) = delete; in alignas()
129 IdentifierInfo(IdentifierInfo &&) = delete; in alignas()
130 IdentifierInfo &operator=(IdentifierInfo &&) = delete; in alignas()
399 bool operator<(const IdentifierInfo &RHS) const { in alignas()
[all …]
HDAttributeCommonInfo.h19 class IdentifierInfo; variable
62 const IdentifierInfo *AttrName = nullptr;
63 const IdentifierInfo *ScopeName = nullptr;
84 AttributeCommonInfo(const IdentifierInfo *AttrName, in AttributeCommonInfo()
85 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
92 AttributeCommonInfo(const IdentifierInfo *AttrName, in AttributeCommonInfo()
93 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
99 AttributeCommonInfo(const IdentifierInfo *AttrName, in AttributeCommonInfo()
100 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
107 AttributeCommonInfo(const IdentifierInfo *AttrName, SourceRange AttrRange, in AttributeCommonInfo()
[all …]
HDAttributes.h17 class IdentifierInfo; variable
36 int hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope,
37 const IdentifierInfo *Attr, const TargetInfo &Target,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
HDParsedAttr.h38 class IdentifierInfo; variable
86 IdentifierInfo *GetterId, *SetterId;
88 PropertyData(IdentifierInfo *getterId, IdentifierInfo *setterId) in PropertyData()
97 IdentifierInfo *Ident;
100 IdentifierInfo *Ident);
140 IdentifierInfo *MacroII = nullptr;
201 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
202 IdentifierInfo *scopeName, SourceLocation scopeLoc, in ParsedAttr()
216 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
217 IdentifierInfo *scopeName, SourceLocation scopeLoc, in ParsedAttr()
[all …]
HDWeak.h21 class IdentifierInfo; variable
25 IdentifierInfo *alias; // alias (optional)
31 WeakInfo(IdentifierInfo *Alias, SourceLocation Loc) in WeakInfo()
33 inline IdentifierInfo * getAlias() const { return alias; } in getAlias()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
HDPreprocessor.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 …]
HDMultipleIncludeOpt.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()
HDMacroInfo.h31 class IdentifierInfo; variable
55 IdentifierInfo **ParameterList = nullptr;
164 void setParameterList(ArrayRef<IdentifierInfo *> List, in setParameterList()
172 ParameterList = PPAllocator.Allocate<IdentifierInfo *>(List.size()); in setParameterList()
178 using param_iterator = IdentifierInfo *const *;
183 ArrayRef<const IdentifierInfo *> params() const { in params()
184 return ArrayRef<const IdentifierInfo *>(ParameterList, NumParameters); in params()
189 int getParameterNum(const IdentifierInfo *Arg) const { in getParameterNum()
492 IdentifierInfo *II;
506 ModuleMacro(Module *OwningModule, IdentifierInfo *II, MacroInfo *Macro, in ModuleMacro()
[all …]
HDPreprocessingRecord.h53 class IdentifierInfo; variable
150 const IdentifierInfo *Name;
153 explicit MacroDefinitionRecord(const IdentifierInfo *Name, in MacroDefinitionRecord()
158 const IdentifierInfo *getName() const { return Name; } in getName()
173 llvm::PointerUnion<IdentifierInfo *, MacroDefinitionRecord *> NameOrDef;
176 MacroExpansion(IdentifierInfo *BuiltinName, SourceRange Range) in MacroExpansion()
185 bool isBuiltinMacro() const { return NameOrDef.is<IdentifierInfo *>(); } in isBuiltinMacro()
188 const IdentifierInfo *getName() const { in getName()
191 return NameOrDef.get<IdentifierInfo *>(); in getName()
HDExternalPreprocessorSource.h18 class IdentifierInfo; variable
34 virtual void updateOutOfDateIdentifier(IdentifierInfo &II) = 0;
39 virtual IdentifierInfo *GetIdentifier(unsigned ID) = 0;
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDLocalizationChecker.cpp66 mutable llvm::DenseMap<const IdentifierInfo *,
69 mutable llvm::SmallSet<std::pair<const IdentifierInfo *, Selector>, 12> LSM;
71 mutable llvm::SmallSet<const IdentifierInfo *, 5> LSF;
86 int getLocalizedArgumentForSelector(const IdentifierInfo *Receiver,
161 IdentifierInfo *initWithTitleUITabBarItemTag[] = { in initUIMethods()
165 IdentifierInfo *initWithTitleUITabBarItemImage[] = { in initUIMethods()
178 IdentifierInfo *rowActionWithStyleUITableViewRowAction[] = { in initUIMethods()
190 IdentifierInfo *radioButtonWithTitleNSButton[] = { in initUIMethods()
194 IdentifierInfo *buttonWithTitleNSButtonImage[] = { in initUIMethods()
198 IdentifierInfo *checkboxWithTitleNSButton[] = { in initUIMethods()
[all …]
HDBlockInCriticalSectionChecker.cpp30 mutable IdentifierInfo *IILockGuard, *IIUniqueLock;
111 auto IdentifierInfo = Ctor->getDecl()->getParent()->getIdentifier(); in isLockFunction() local
112 if (IdentifierInfo == IILockGuard || IdentifierInfo == IIUniqueLock) in isLockFunction()
130 auto IdentifierInfo = DRecordDecl->getIdentifier(); in isUnlockFunction() local
131 if (IdentifierInfo == IILockGuard || IdentifierInfo == IIUniqueLock) in isUnlockFunction()
HDNonnullGlobalConstantsChecker.cpp36 mutable IdentifierInfo *NSStringII = nullptr;
37 mutable IdentifierInfo *CFStringRefII = nullptr;
38 mutable IdentifierInfo *CFBooleanRefII = nullptr;
39 mutable IdentifierInfo *CFNullRefII = nullptr;
140 IdentifierInfo* II = T->getDecl()->getIdentifier(); in isNonnullType()
HDNSErrorChecker.cpp31 static bool IsNSError(QualType T, IdentifierInfo *II);
32 static bool IsCFError(QualType T, IdentifierInfo *II);
41 mutable IdentifierInfo *II;
88 mutable IdentifierInfo *II;
154 mutable IdentifierInfo *NSErrorII, *CFErrorII;
280 static bool IsNSError(QualType T, IdentifierInfo *II) { in IsNSError()
301 static bool IsCFError(QualType T, IdentifierInfo *II) { in IsCFError()
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
HDNSAPI.cpp22 IdentifierInfo *NSAPI::getNSClassId(NSClassIdKindKind K) const { in getNSClassId()
58 IdentifierInfo *KeyIdents[] = { in getNSStringSelector()
95 IdentifierInfo *KeyIdents[] = { in getNSArraySelector()
112 IdentifierInfo *KeyIdents[] = { in getNSArraySelector()
123 IdentifierInfo *KeyIdents[] = { in getNSArraySelector()
131 IdentifierInfo *KeyIdents[] = { in getNSArraySelector()
168 IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
176 IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
184 IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
205 IdentifierInfo *KeyIdents[] = { in getNSDictionarySelector()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
HDMPIFunctionClassifier.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-11-stable/contrib/llvm-project/clang/lib/Basic/
HDIdentifierTable.cpp172 IdentifierInfo &Info = in AddKeyword()
183 IdentifierInfo &Info = Table.get(Keyword, TokenCode); in AddCXXOperatorKeyword()
240 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword()
252 bool IdentifierInfo::isCPlusPlusKeyword(const LangOptions &LangOpts) const { in isCPlusPlusKeyword()
264 tok::PPKeywordKind IdentifierInfo::getPPKeywordID() const { in getPPKeywordID()
329 for (llvm::StringMap<IdentifierInfo*, llvm::BumpPtrAllocator>::const_iterator in PrintStats()
371 MultiKeywordSelector(unsigned nKeys, IdentifierInfo **IIV) in MultiKeywordSelector()
376 IdentifierInfo **KeyInfo = reinterpret_cast<IdentifierInfo **>(this + 1); in MultiKeywordSelector()
386 using keyword_iterator = IdentifierInfo *const *;
396 IdentifierInfo *getIdentifierInfoForSlot(unsigned i) const { in getIdentifierInfoForSlot()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Parse/
HDParser.h99 IdentifierInfo *Ident__exception_code,
103 IdentifierInfo *Ident__exception_info,
107 IdentifierInfo *Ident__abnormal_termination,
112 IdentifierInfo *Ident__except;
113 mutable IdentifierInfo *Ident_sealed;
117 IdentifierInfo *Ident_super;
120 IdentifierInfo *Ident_vector;
121 IdentifierInfo *Ident_bool;
124 IdentifierInfo *Ident_pixel;
127 IdentifierInfo *Ident_instancetype;
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
HDPPMacroExpansion.cpp62 Preprocessor::getLocalMacroDirectiveHistory(const IdentifierInfo *II) const { in getLocalMacroDirectiveHistory()
70 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective()
95 void Preprocessor::setLoadedMacroDirective(IdentifierInfo *II, in setLoadedMacroDirective()
131 ModuleMacro *Preprocessor::addModuleMacro(Module *Mod, IdentifierInfo *II, in addModuleMacro()
173 ModuleMacro *Preprocessor::getModuleMacro(Module *Mod, IdentifierInfo *II) { in getModuleMacro()
181 void Preprocessor::updateModuleMacroInfo(const IdentifierInfo *II, in updateModuleMacroInfo()
259 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()
401 const IdentifierInfo *MacroIdent, in isTrivialSingleTokenExpansion()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
HDNSAPI.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;
HDDeclObjC.h588 SourceLocation nameLoc, IdentifierInfo *name, in ObjCTypeParamDecl()
606 IdentifierInfo *name,
812 ObjCPropertyDecl(DeclContext *DC, SourceLocation L, IdentifierInfo *Id, in ObjCPropertyDecl()
826 IdentifierInfo *Id, SourceLocation AtLocation,
968 IdentifierInfo *getDefaultSynthIvarName(ASTContext &Ctx) const;
972 const IdentifierInfo *propertyID,
994 ObjCContainerDecl(Kind DK, DeclContext *DC, IdentifierInfo *Id,
1111 ObjCIvarDecl *getIvarDecl(IdentifierInfo *Id) const;
1114 FindPropertyDeclaration(const IdentifierInfo *PropertyId,
1118 llvm::DenseMap<std::pair<IdentifierInfo *, unsigned/*isClassProperty*/>,
[all …]
HDNestedNameSpecifier.h30 class IdentifierInfo; variable
125 IdentifierInfo *II);
149 IdentifierInfo *II);
174 IdentifierInfo *getAsIdentifier() const { in getAsIdentifier()
176 return (IdentifierInfo *)Specifier; in getAsIdentifier()
410 void Extend(ASTContext &Context, IdentifierInfo *Identifier,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
HDIdentifierResolver.cpp146 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in AddDecl()
171 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in InsertDeclAfter()
212 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in RemoveDecl()
231 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in begin()
303 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in tryAddTopLevelDecl()
378 void IdentifierResolver::readingIdentifier(IdentifierInfo &II) { in readingIdentifier()
383 void IdentifierResolver::updatingIdentifier(IdentifierInfo &II) { in updatingIdentifier()

1234567891011