Home
last modified time | relevance | path

Searched refs:DefInfo (Results 1 – 5 of 5) sorted by relevance

/external/clang/include/clang/Lex/
DMacroInfo.h352 class DefInfo {
358 DefInfo() : DefDirective(nullptr), IsPublic(true) {} in DefInfo() function
360 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() function
370 return const_cast<DefInfo *>(this)->getMacroInfo(); in getMacroInfo()
383 inline DefInfo getPreviousDefinition();
384 const DefInfo getPreviousDefinition() const { in getPreviousDefinition()
385 return const_cast<DefInfo *>(this)->getPreviousDefinition(); in getPreviousDefinition()
392 DefInfo getDefinition();
393 const DefInfo getDefinition() const { in getDefinition()
398 if (const DefInfo Def = getDefinition()) in isDefined()
[all …]
DPreprocessor.h457 MacroDirective::DefInfo findDirectiveAtLoc(SourceLocation Loc, in findDirectiveAtLoc()
462 return MacroDirective::DefInfo(); in findDirectiveAtLoc()
829 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc()
/external/clang/lib/Lex/
DMacroInfo.cpp176 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition()
182 return DefInfo(DefMD, UndefLoc, in getDefinition()
195 return DefInfo(nullptr, UndefLoc, in getDefinition()
199 const MacroDirective::DefInfo
202 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()
207 ? Def : DefInfo(); in findDirectiveAtLoc()
209 return DefInfo(); in findDirectiveAtLoc()
DPreprocessor.cpp338 const MacroDirective::DefInfo in getLastMacroWithSpelling()
/external/clang/tools/libclang/
DCIndex.cpp7421 for (MacroDirective::DefInfo in getMacroInfo()