Home
last modified time | relevance | path

Searched refs:UndefLoc (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DMacroInfo.h341 SourceLocation UndefLoc; variable
346 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument
348 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) {} in DefInfo()
360 SourceLocation getUndefLocation() const { return UndefLoc; } in getUndefLocation()
361 bool isUndefined() const { return UndefLoc.isValid(); } in isUndefined()
432 explicit UndefMacroDirective(SourceLocation UndefLoc) in UndefMacroDirective() argument
433 : MacroDirective(MD_Undefine, UndefLoc) { in UndefMacroDirective()
434 assert(UndefLoc.isValid() && "Invalid UndefLoc!"); in UndefMacroDirective()
H A DPreprocessor.h1929 UndefMacroDirective *AllocateUndefMacroDirective(SourceLocation UndefLoc);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DMacroInfo.cpp181 SourceLocation UndefLoc; in getDefinition() local
185 return DefInfo(DefMD, UndefLoc, in getDefinition()
189 UndefLoc = UndefMD->getLocation(); in getDefinition()
198 return DefInfo(nullptr, UndefLoc, in getDefinition()
H A DPPDirectives.cpp70 Preprocessor::AllocateUndefMacroDirective(SourceLocation UndefLoc) { in AllocateUndefMacroDirective() argument
71 return new (BP) UndefMacroDirective(UndefLoc); in AllocateUndefMacroDirective()