Home
last modified time | relevance | path

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

/external/llvm-project/clang/include/clang/Lex/
DMacroInfo.h340 SourceLocation UndefLoc; variable
345 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument
347 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) {} in DefInfo()
359 SourceLocation getUndefLocation() const { return UndefLoc; } in getUndefLocation()
360 bool isUndefined() const { return UndefLoc.isValid(); } in isUndefined()
431 explicit UndefMacroDirective(SourceLocation UndefLoc) in UndefMacroDirective() argument
432 : MacroDirective(MD_Undefine, UndefLoc) { in UndefMacroDirective()
433 assert(UndefLoc.isValid() && "Invalid UndefLoc!"); in UndefMacroDirective()
DPreprocessor.h2068 UndefMacroDirective *AllocateUndefMacroDirective(SourceLocation UndefLoc);
/external/clang/include/clang/Lex/
DMacroInfo.h354 SourceLocation UndefLoc; variable
360 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() argument
362 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) {} in DefInfo()
373 SourceLocation getUndefLocation() const { return UndefLoc; } in getUndefLocation()
374 bool isUndefined() const { return UndefLoc.isValid(); } in isUndefined()
442 explicit UndefMacroDirective(SourceLocation UndefLoc) in UndefMacroDirective() argument
443 : MacroDirective(MD_Undefine, UndefLoc) { in UndefMacroDirective()
444 assert(UndefLoc.isValid() && "Invalid UndefLoc!"); in UndefMacroDirective()
DPreprocessor.h1727 UndefMacroDirective *AllocateUndefMacroDirective(SourceLocation UndefLoc);
/external/clang/lib/Lex/
DMacroInfo.cpp178 SourceLocation UndefLoc; in getDefinition() local
182 return DefInfo(DefMD, UndefLoc, in getDefinition()
186 UndefLoc = UndefMD->getLocation(); in getDefinition()
195 return DefInfo(nullptr, UndefLoc, in getDefinition()
DPPDirectives.cpp76 Preprocessor::AllocateUndefMacroDirective(SourceLocation UndefLoc) { in AllocateUndefMacroDirective() argument
77 return new (BP) UndefMacroDirective(UndefLoc); in AllocateUndefMacroDirective()
/external/llvm-project/clang/lib/Lex/
DMacroInfo.cpp180 SourceLocation UndefLoc; in getDefinition() local
184 return DefInfo(DefMD, UndefLoc, in getDefinition()
188 UndefLoc = UndefMD->getLocation(); in getDefinition()
197 return DefInfo(nullptr, UndefLoc, in getDefinition()
DPPDirectives.cpp69 Preprocessor::AllocateUndefMacroDirective(SourceLocation UndefLoc) { in AllocateUndefMacroDirective() argument
70 return new (BP) UndefMacroDirective(UndefLoc); in AllocateUndefMacroDirective()