Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h366 SourceLocation UndefLoc; variable
371 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument
373 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) {} in DefInfo()
385 SourceLocation getUndefLocation() const { return UndefLoc; } in getUndefLocation()
386 bool isUndefined() const { return UndefLoc.isValid(); } in isUndefined()
457 explicit UndefMacroDirective(SourceLocation UndefLoc) in UndefMacroDirective() argument
458 : MacroDirective(MD_Undefine, UndefLoc) { in UndefMacroDirective()
459 assert(UndefLoc.isValid() && "Invalid UndefLoc!"); in UndefMacroDirective()
H A DPreprocessor.h2502 UndefMacroDirective *AllocateUndefMacroDirective(SourceLocation UndefLoc);
/src/contrib/llvm-project/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.cpp75 Preprocessor::AllocateUndefMacroDirective(SourceLocation UndefLoc) { in AllocateUndefMacroDirective() argument
76 return new (BP) UndefMacroDirective(UndefLoc); in AllocateUndefMacroDirective()