Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DMacroInfo.h363 SourceLocation UndefLoc; variable
368 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument
370 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) {} in DefInfo()
382 SourceLocation getUndefLocation() const { return UndefLoc; } in getUndefLocation()
383 bool isUndefined() const { return UndefLoc.isValid(); } in isUndefined()
454 explicit UndefMacroDirective(SourceLocation UndefLoc) in UndefMacroDirective() argument
455 : MacroDirective(MD_Undefine, UndefLoc) { in UndefMacroDirective()
456 assert(UndefLoc.isValid() && "Invalid UndefLoc!"); in UndefMacroDirective()
H A DPreprocessor.h2459 UndefMacroDirective *AllocateUndefMacroDirective(SourceLocation UndefLoc);
/openbsd-src/gnu/llvm/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); in getDefinition()
H A DPPDirectives.cpp71 Preprocessor::AllocateUndefMacroDirective(SourceLocation UndefLoc) { in AllocateUndefMacroDirective() argument
72 return new (BP) UndefMacroDirective(UndefLoc); in AllocateUndefMacroDirective()