Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Lex/
H A DMacroInfo.h364 SourceLocation UndefLoc; variable
369 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument
371 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) {} in DefInfo()
383 SourceLocation getUndefLocation() const { return UndefLoc; } in getUndefLocation()
384 bool isUndefined() const { return UndefLoc.isValid(); } in isUndefined()
455 explicit UndefMacroDirective(SourceLocation UndefLoc) in UndefMacroDirective() argument
456 : MacroDirective(MD_Undefine, UndefLoc) { in UndefMacroDirective()
457 assert(UndefLoc.isValid() && "Invalid UndefLoc!"); in UndefMacroDirective()
H A DPreprocessor.h2286 UndefMacroDirective *AllocateUndefMacroDirective(SourceLocation UndefLoc);
/llvm-project-15.0.7/clang/lib/Lex/
H A DMacroInfo.cpp200 SourceLocation UndefLoc; in getDefinition() local
204 return DefInfo(DefMD, UndefLoc, !isPublic || *isPublic); in getDefinition()
207 UndefLoc = UndefMD->getLocation(); in getDefinition()
216 return DefInfo(nullptr, UndefLoc, !isPublic || isPublic.value()); in getDefinition()
H A DPPDirectives.cpp71 Preprocessor::AllocateUndefMacroDirective(SourceLocation UndefLoc) { in AllocateUndefMacroDirective() argument
72 return new (BP) UndefMacroDirective(UndefLoc); in AllocateUndefMacroDirective()